Specifications
2-135
Catalyst 2950 and Catalyst 2955 Switch Command Reference
78-15304-01
Chapter 2 Cisco IOS Commands
policy-map
policy-map
Use the policy-map global configuration command to create or modify a policy map that can be attached
to multiple interfaces and to enter policy-map configuration mode. Use the no form of this command to
delete an existing policy map and return to global configuration mode.
policy-map policy-map-name
no policy-map policy-map-name
This command is available only if your switch is running the enhanced software image (EI).
Syntax Description
Defaults No policy maps are defined.
Command Modes Global configuration
Command History
Usage Guidelines Entering the policy-map command enables the policy-map configuration mode. These configuration
commands are available:
• class: defines the classification match criteria for the specified class map. For more information, see
the class command.
• description: describes the policy map (up to 200 characters).
• exit: exits policy-map configuration mode and returns to global configuration mode.
• no: removes a previously defined policy map.
• rename: renames the policy map.
Note In a policy map, the class named class-default is not supported. The switch does not filter traffic based
on the policy map defined by the class class-default policy-map configuration command.
To return to global configuration mode, use the exit command. To return to privileged EXEC mode, use
the end command.
Before you can configure policies for classes whose match criteria are defined in a class map, use the
policy-map command to specify the name of the policy map to be created or modified. Entering this
command also enables the policy-map configuration mode in which you can configure or modify the
class policies for that policy map.
policy-map-name Name of the policy map.
Release Modification
12.1(6)EA2 This command was first introduced.