Specifications

Switching set switch hwfilter classifier 8-165
Software Release 2.7.3
C613-03098-00 REV A
set switch hwfilter classifier
Syntax SET SWItch HWFilter CLASSifier=classifier-list
[ACtion={SETPRIORITY|SENDCOS|SETTOS|DENY|SENDEPORT|
SENDMIRROR|MOVEPRIOTOTOS|MOVETOSTOPRIO|SETIPDSCP|
SENDNONUNICASTTOPORT|NODROP|FORWARD}[,...]]
[NEWIPDscp=0..63] [NEWTos=0..7]
[NOMATCHAction={SETPRIORITY|SENDCOS|SETTOS|DENY|
SENDEPORT|SENDMIRROR|MOVEPRIOTOTOS|MOVETOSTOPRIO|
SETIPDSCP|SENDNONUNICASTTOPORT|FORWARD}[,...]]
[NOMATCHDscp=dscp-value] [NOMATCHPOrt=port-number]
[NOMATCHPRiority=0..7] [NOMATCHTos=0..7]
[POrt=port-number] [PRIOrity=0..7]
where:
classifier-list is either an integer from 1 to 9999; a range of integers (specified
as 1-4), or a comma-separated list of classifier numbers and/or ranges (1, 3,
4-9).
port-number is the switch port number from 1 to m where m is the highest
numbered Ethernet switch port, including uplink ports.
Description This command sets the properties of hardware-based filters based on the
specified classifier(s). All of the specified classifiers must exist and must
already be incorporated into a filter entry. The switch hwfilter classifier
commands may not be used with the switch l3filter commands.
On the Rapier i Series switches only, a port can belong to multiple STPs when
the port is a member of more than one VLAN. On the Rapier Series switches, a
port can belong to a single STP. This means that when the port is member of
multiple VLANs, all these VLANs must belong to the same STP.
The action parameter specifies a comma-separated list of actions to take when
a packet matches the filter criteria specified in this entry. If setpriority is
specified, the packet’s 802.1p priority is set to the value specified by the
priority parameter. If sendcos is specified, the packet is sent to the priority
queue specified by the priority parameter. If settos is specified, the packet’s
TOS (Type of Service) field is set to the value specified by the newtos
parameter. If deny is specified, the packet is discarded. If sendeport is specified
and the frame is not a broadcast, multicast, DLF frame or marked for dropping
or to be sent to the CPU, the new output port is set to the value of the port
parameter. If sendmirror is specified, the packet is sent to the mirror port. If
forward is specified, the packet is forwarded using the default Class of Service
(priority). The default is forward. On the Rapier i Series switches only the
following additional parameter options are available. If movepriototos is
specified, the IP TOS field in the frame is replaced with the 802.1 priority value.
If movetostoprio is specified, the 802.1 priority field in the frame is replaced
with the IP TOS value, this also determines the egress priority queue. If
setipdscp is specified and the frame is an IPv4 frame, the Diffserv Codepoint
field in the frame is set to the value specified by the newipdscp parameter.
Actions that modify both the IP TOS and IP DSCP values in the frame are
mutually exclusive. If sendnonunicasttoport is specified, matching frames that
are broadcast or DLF, multicast, marked for dropping or to be sent to the CPU
are sent to the egress port specified by the port parameter. If nodrop is
specified, matching frames previously marked for dropping are not dropped.