Specifications
8-168 set switch l3filter entry Rapier Switch Software Reference
Software Release 2.7.3
C613-03098-00 REV A
set switch l3filter entry
Syntax SET SWItch L3Filter=filter-id ENTry=entry-id
[ACTION={SETPRIORITY|SENDCOS|SETTOS|DENY|SENDEPORT|
SENDMIRROR|MOVEPRIOTOTOS|MOVETOSTOPRIO|SETIPDSCP|
SENDNONUNICASTTOPORT|FORWARD}[,...]] [DIPADDR=ipadd]
[EPORT=port-number] [IPORT=port-number]
[NEWIPDSCP=0..63] [NEWTOS=0..7] [PORT=port-number]
[PRIORITY=0..7] [PROTOCOL={TCP|UDP|ICMP|IGMP|protocol}]
[SIPADDR=ipadd] [TCPACK={TRUE|FALSE}]
[TCPDPORT=port-id] [TCPFIN={TRUE|FALSE}]
[TCPSPORT=port-id] [TCPSYN={TRUE|FALSE}] [TOS=0..7]
[TTL=0..255] [TYPE=protocol-type] [UDPSPORT=port-id]
[UDPDPORT=port-id]
where:
■
filter-id is a decimal number in the range 1 to the number of filters defined.
■
entry-id is a decimal number in the range 1 to the number of entries
defined.
■
ipadd is an IP address in dotted decimal notation.
■ port-number is the switch port number from 1 to m where m is the highest
numbered Ethernet switch port, including uplink ports.
■ protocol is an IP protocol number from 1 to 255.
■ port-id is an IP port number.
■ protocol-type is a valid protocol-type number. A protocol type number is 2
bytes for Ethernet type II and 802.3 (DSAP/SSAP) encapsulation, or 5
bytes for SNAP encapsulation, and is specified in hexadecimal.
Description This command modifies the selector values for an existing filter entry. The
l3filter and entry parameters specify the number of the filter and the filter
entry to be modified, respectively. Filter and filter entry numbers are in the
output of the show switch l3filter command on page 8-220. 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 deny is specified,
the packet is discarded. If forward is specified, the packet is forwarded using
the default Class of Service (priority). If sendcos is specified, the packet is sent
to the priority queue specified by the priority parameter. If sendeport is
specified, 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 setpriority is
specified, the packet’s 802.1p priority is set to the value 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. 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