beautypg.com

Default-action – Allied Telesis AT-DC2552XS User Manual

Page 485

background image

AT-DC2552SX Switch Command Line Interface User’s Guide

Section V: Security and Traffic Control

485

DEFAULT-ACTION

Syntax

default-action permit|deny|copy-to-mirror

Parameters

permit

Specifies packets are permitted. This is the default setting.

deny

Specifies packets are denied.

copy-to-mirror

Specifies packets to be copied and sent to the mirror port. The
mirror port must be defined using the MIRROR command. See
“MIRROR” on page 247.

Mode

Policy Map Configuration mode

Description

Use this command to change the action of the default class map belonging
to a particular policy map. A policy map consists of one default class map
as well as user-defined class maps.

The action of the default class map is applied to any packet that does not
meet the criteria specified by the class maps in the policy map.

To restore the default setting of the permit action, use NO DEFAULT-
ACTION command.

Confirmation Command

“SHOW POLICY-MAP” on page 515

Examples

This example sets the action for the default class-map to deny:

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