Specifications

Switching add switch hwfilter classifier 8-77
Software Release 2.7.3
C613-03098-00 REV A
add switch hwfilter classifier
Syntax ADD 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=0..63] [NOMATCHPOrt=port-number]
[NOMATCHPRiority=0..7] [NOMATCHTos=0..7]
[POrt=port-number] [PRIOrity=0..7]
where:
classifier-list is 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 adds hardware based filters based on the specified classifier(s).
The classifiers in the list must exist, and they must not already be specified as
part of an existing filter entry, neither may they be a duplicate of another
classifier that is already used by a filter entry. The switch hwfilter classifier
commands may not be used with the switch l3filter commands.
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. When 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.
If the sendeport action directs packets to a particular egress port, then the
packet is transmitted from the mirror port with a VLAN tag.
On the Rapier i Series switches only, the newipdscp parameter indicates the
value to set in an IPv4 packet Diffserv CodePoint field when the action