Default-action – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual
Page 1010
![background image](/manuals/427254/1010/background.png)
QoS Commands
Software Reference for x310 Series Switches
39.4
AlliedWare Plus
TM
Operating System - Version 5.4.4C
C613-50046-01 REV A
default-action
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:
To set the action for the default class-map to copy-to-mirror for use with the
command, use the command:
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.
awplus(config-pmap)#
default-action deny
awplus(config-pmap)#
default-action copy-to-mirror