beautypg.com

Class-map – Allied Telesis AT-DC2552XS User Manual

Page 483

background image

AT-DC2552SX Switch Command Line Interface User’s Guide

Section V: Security and Traffic Control

483

CLASS-MAP

Syntax

class-map

class_name

Parameter

class_name

Specifies the name of a class map. The name is case-sensitive
and can be up to 63 alphanumeric characters. Special characters
except spaces, exclamation marks (!), and question marks are
allowed. The name “default” is reserved for the default class map
and cannot be used.

Mode

Global Configuration mode

Description

Use this command to create a class map and access the Class Map
Configuration mode. You can create up to 256 class maps on the switch.

A class map consists of:

one or more matching criteria

one action

When a class map includes multiple matching criteria, the switch filters
incoming traffic with an AND operand. Incoming traffic must meet all the
matching criteria in a class map to be taken an action.

The action of a class map can be permit, deny, or copy-to-mirror. By
default, the action of a class map is permit. When a class map includes a
hardware ACL, the action of the class map is the action defined in the
hardware ACL.

To apply a class map to take an action for classified traffic, you must
assign one or more class maps to a policy map.Then assign the policy
map to a port. To assign a class map to a policy map, see “CLASS” on
page 481.

You can also modify an existing class map with this command; however,
you cannot modify or delete a class map when the class map is assigned
to a policy map. Use NO CLASS command with the class_name
parameter specified to remove a class map from the associated policy
map.