UMN:CLI
User Manual
V8102
346
priority
{
low
|
medium
|
high-
middle
|
high
|
highest
}
Policy
Sets a priority for a policy. (default: medium)
9.3.4.4
Policy Action
To specify the rule action for the packets matching configured classifying patterns, use the
following command.
Command
Mode
Description
action match deny
Policy
Denies the classified packets.
action match permit
Permits the classified packets.
action match mirror
Sends a copy of classified packets to mirror monitoring
port.
action match vlan
VLANS
Specifies a VLAN ID of classified packets.
VLANS: VLAN ID (1-4094)
action match copy-to-cpu
Sends a copy of classified packets to CPU.
action match cancel-copy-to-
cpu
Cancels the copying packet to CPU.
action match donot-copy-to-cpu
Do not send a coppy of classified packets to CPU.
action match cpu-cos
<0-7>
Changes CPU RX CoS.
action match donot-remark-cos
Do not change 802.1p CoS field in the packet.
action match dmac
MAC-ADDR
Specifies the destination MAC address of classified
packets.
action match dscp
<0-63>
Sets different server field.
0-63: DiffServ field value
action match route next-hop
A.B.C.D
[
A.B.C.D
] [
A.B.C.D
]
[veri-
fy-reachability
]
Specifies next-hop address of classified packets.
A.B.C.D: IP address of next hop
[A.B.C.D]: Secondary , third IP address.
action match route next-hop6
X:X::X:X
[
X:X::X:X
]
[
verify-
reachability]
Specifies next-hop6 address of classified packets.
X:X::X:X: IPv6 address of next hop
To delete a specified rule action, use the following command.
Command
Mode
Description
no action match deny
Policy
Deletes a specified rule action.
no action match permit
no action match mirror
no action match vlan
no action match copy-to-cpu
no action match cancel-copyto-cpu
no action match donot-copy-to-cpu
no action match donot-remark-cos
no action match dmac