UMN:CLI
User Manual
V5824G
164
7.5.4.3
Policy Priority
If rules that are more than two match the same packet then the rule having a higher
priority will be processed first. To set a priority for a policy, use the following command.
Command
Mode
Description
priority
{
low
|
medium
|
high
|
high-middle
|
highest
}
Policy
Sets a priority for a policy. (default: low)
7.5.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 redirect
PORT
Redirects the classified packets to specified port.
PORT: port number
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 classified packets to CPU.
action match dmac
DST-MAC-
ADDR
Overwrites a specified destination MAC address.
action match egress filter
PORT
Deletes a specified egress port.
action match egress port
PORT
Overwrites a specified egress port
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 redirect
no action match mirror
no action match vlan
no action match copy-to-cpu
no action match dmac
no action match egress