Policy-map – Allied Telesis AT-DC2552XS User Manual
Page 508

Chapter 21: Quality of Service (QoS) Commands
508
Section V: Security and Traffic Control
POLICY-MAP
Syntax
policy-map
policy_name
Parameter
policy_name
Specifies the name of a policy map. The policy map name is case-
sensitive and can be up to 63 alphanumeric characters.
Mode
Global Configuration mode
Description
Use this command to create a policy map and enter the Policy Map
Configuration mode. A policy map consists of user-defined class maps
and one default class map. You can create up to 64 policy maps on the
switch.
To apply a policy map to take an action on classified traffic, you must
assign a group of class maps to a policy map and assign it to a port. To
assign class maps to a policy map, see “CLASS” on page 481. To assign
a policy map to a port, see “SERVICE-POLICY INPUT” on page 511.
Within the class map, you can assign one of three actions to be performed
on the traffic specified —permit, deny, or copy the traffic to the mirror port.
A policy map consists of one or more user-defined class maps and one
default class map. The default class map is included in a policy map
automatically and applied to the traffic after all user-defined class maps
are evaluated. You can change the action of the default class map;
however, the traffic that the action is applied to is always the traffic that did
not match any criteria defined in the class maps. To change the action of
the default class map, see “DEFAULT-ACTION” on page 485.
You can also modify an existing policy map with this command; however,
you cannot modify or delete a policy map when the policy map is assigned
to a port. Use NO SERVICE-POLICY INPUT command to remove a policy
map from the associated port. See “SERVICE-POLICY INPUT” on
page 511.
You must enable QoS on the switch to use this command. To enable QoS,
see “MLS QOS ENABLE” on page 503.
To delete a policy map, use the NO POLICY-MAP command.