Cisco 3560x-24p 参考指南

下载
页码 1188
 
2-444
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2      Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
policy-map
policy-map
Use the policy-map global configuration command on the switch stack or on a standalone switch to 
create or modify a policy map that can be attached to multiple physical ports or switch virtual interfaces 
(SVIs) 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
After entering the policy-map command, you enter policy-map configuration mode, and these 
configuration commands are available:
  •
class: defines the classification match criteria for the specified class map. For more information, see 
th
  •
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.
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, added to, or modified. 
Entering the policy-map command also enables the policy-map configuration mode in which you can 
configure or modify the class policies for that policy map.
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. You define packet classification on a physical-port basis.
policy-map-name
Name of the policy map.
Release
Modification
12.2(53)SE2
This command was introduced.