2-523
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.4.0SG and IOS 15.1(2)SG)
OL-27596 -01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
policy-map
policy-map
To create or modify a policy map that can be attached to multiple ports to specify a service policy and
to enter policy-map configuration mode, use the policy-map global configuration command. To delete
an existing policy map and to return to global configuration mode, use the no form of this command.
policy-map policy-map-name
no policy-map policy-map-name
Syntax Description
Defaults No policy maps are defined.
Command Modes Global configuration mode
Command History
Usage Guidelines Before configuring 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. After you enter
the policy-map command, the switch enters policy-map configuration mode. You can configure or
modify the class policies for that policy map and decide how to treat the classified traffic.
These configuration commands are available in policy-map configuration mode:
• class—Defines the classification match criteria for the specified class map. For more information,
see the “class” section on page 2-92.
• description—Describes the policy map (up to 200 characters).
• exit—Exits policy-map configuration mode and returns you to global configuration mode.
• no—Removes a previously defined policy map.
To return to global configuration mode, use the exit command. To return to privileged EXEC mode, use
the end command.
You can configure class policies in a policy map only if the classes have match criteria defined for them.
To configure the match criteria for a class, use the class-map global configuration and match class-map
configuration commands.
Examples This example shows how to configure multiple classes in a policy map called policymap2 on a
Supervisor Engine 6-E:
Switch# configure terminal
Switch(config)# policy-map policymap2
policy-map-name Name of the policy map.
Release Modification
12.1(8a)EW Support for this command was introduced on the Catalyst 4500 series switch.
12.2(40)SG Extended support to Supervisor Engine 6-E and the Catalyst 4900M chassis.