C613-50170-01 Rev B
Command Reference for x510 Series
1616
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
Q
O
S C
OMMANDS
DEFAULT
-
ACTION
default-action
Overview
Sets the action for the default class-map belonging to a particular policy-map. The
action for a non-default class-map depends on the action of any ACL that is applied
to the policy-map.
The default action can therefore be thought of as specifying the action that will be
applied to any data that does not meet the criteria specified by the applied
matching commands.
Use the
no
variant of this command to reset to the default action of ‘permit’.
Syntax
default-action
[permit|deny|send-to-cpu|copy-to-cpu|copy-to-mirror|
send-to-mirror]
no default-action
Default
The default is ‘
permit
’.
Mode
Policy Map Configuration
Examples
To set the action for the default class-map to
deny
, use the command:
awplus(config-pmap)#
default-action deny
To set the action for the default class-map to
copy-to-mirror
for use with the
command, use the command:
awplus(config-pmap)#
default-action copy-to-mirror
Related
Commands
Parameter
Description
permit
Packets to permit.
deny
Packets to deny.
send-to-cpu
Specify packets to send to the CPU.
copy-to-cpu
Specify packets to copy to the CPU.
copy-to-mirror
Specify packets to copy to the mirror port.
send-to-mirror
Specify packets to send to the mirror port.