2-358
Catalyst 3750 Metro Switch Command Reference
OL-9645-10
Chapter 2 Catalyst 3750 Metro Switch 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 ports to specify a service policy and to enter policy-map configuration mode. Use the
no
form
of this command to delete an existing policy map and to return to global configuration mode.
policy-map
policy-map-name
no policy-map
policy-map-name
Syntax Description
Defaults
No policy maps are defined.
The default behavior is to set the Differentiated Services Code Point (DSCP) to 0 if the packet is an IP
packet and to set the class of service (CoS) to 0 if the packet is tagged. No policing is performed.
Command Modes
Global configuration
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
•
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.
•
rename
: renames the current 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.
policy-map-name
Name of the policy map.
Release
Modification
12.1(14)AX
This command was introduced.
12.2(25)EY
Support for policy maps on switch virtual interfaces (SVIs) was added.