beautypg.com

Default-action, Default-action 8 – Allied Telesis AT-8100 Series User Manual

Page 1708

background image

Chapter 101: QoS Commands

1708

DEFAULT-ACTION

Syntax

default-action

permit|deny|copy-to-mirror

Parameters

permit

Specifies packets are permitted. This is the default.

deny

Specifies packets are denied.

copy-to-mirror

Specifies packets are copied to the mirrored port.

Mode

Policy Map mode

Description

Use this command to specify the action of the default class map belonging
to a particular policy map. The action for a non-default class map depends
on the action configured in the policy map for that specific class map.

The default action is the action that is applied to any data that does not
meet the criteria specified by the applied matching commands, such as
the commands that start with MATCH, within the policy map.

Use the no form of the command, NO DEFAULT-ACTION, to reset the
default action to permit.

Confirmation Command

“SHOW RUNNING-CONFIG” on page 170

Examples

To set the action for the default class-map to deny, do the following:

awplus> enable
awplus# configure terminal
awplus(config)# policy-map pmap1
awplus(config-pmap)#default-action deny