Class – Allied Telesis AT-DC2552XS User Manual
Page 481

AT-DC2552SX Switch Command Line Interface User’s Guide
Section V: Security and Traffic Control
481
CLASS
Syntax
class
class_name
|default
Parameters
class_name
Specifies the name of a class map.
default
Specifies the default class map.
Mode
Policy Map Configuration mode
Description
Use this command to associate an existing class map to a policy map.
When a policy map is applied to a port, the switch applies criteria defined
in the class maps associated with the policy map to incoming traffic on the
port. The switch checks traffic in the order in which the class maps are
added to the policy map. You can associate up to 256 class maps with a
policy map.
This command enters the Policy Map Class Configuration mode; however,
no commands are available in this mode.
When you create a policy map, a default class map is added to it
automatically. The default class map is applied to traffic after all the user-
defined class maps are checked. To change the action of the default class
map, use the DEFAULT ACTION command. See “DEFAULT-ACTION” on
page 485.
Entering the CLASS command with the default keyword does not affect
the policy map. In addition, you cannot delete the default class map.
To remove a class map from a policy map, use the NO CLASS command
with the class_name parameter specified.
Confirmation Commands