User Manual UMN:CLI
SURPASS hiD 6615 S223/S323 R1.5
A50010-Y3-C150-2-7619 143
7.6.2.4 Rule
Action
To specify a rule action (
match
) for the packets matching configured classifying patterns,
use the following command.
Command Mode
Description
match deny
Denies a packet.
match permit
Permits a packet.
match redirect
PORT
Redirects to specified egress port:
PORT: uplink port number
match mirror
Sends a copy to mirror monitoring port.
match dscp
<0-63>
Changes DSCP field, enter DSCP value.
match cos
<0-7>
Changes 802.1p class of service, enter CoS value.
0-7: CoS value
match cos
<0-7>
overwrite
Overwrites 802.1p CoS field in the packet.
0-7: CoS value
match cos same-as-tos
overwrite
Overwrites 802.1p CoS field in the packet same as IP
ToS precedence bits.
match ip-prec
<0-7>
Changes IP ToS precedence bits in the packet.
0-7: ToS precedence value
match ip-prec same-as-cos
Changes IP ToS precedence bits in the packet, same
as 802.1p CoS value.
match bandwidth
BANDWIDTH
Determines maximum allowed bandwidth (Mbps).
match vlan
<1-4094>
Specifies matched-packet VLAN ID
1-4094: VLAN ID
match copy-to-cpu
Copies to CPU.
match counter
Counts how many times the packets come into config-
ured Rule.
match egress filter
PORT
Deletes a specified egress port.
match egress port
PORT
Rule
Overwrites a specified egress port