Configures a policy map containing a class map so that you can apply policer and QoS attributes to a particular interface.
No policy map is created.
Global configuration mode
When you launch the
policy-map command, the system is placed in
config-policymap mode
for the configured map. At this point, you can add a class map containing policing parameters to the policy map. (Refer to the description of the
class command.)
This command creates a policer policy map to apply policer and QoS attributes to a particular interface. Each policy map can contain up to 32 class maps. The class map can be associated with specific policing and QoS parameters.
Maximum number of policy map creations are 128
Associate the policy map to the interface for inbound or outbound direction with the service-policy command.
Enter no policy-map policy-mapname while in global configuration mode to remove the policy map.
Create a policy map and place system into config-policymap mode so that you can add a class map.
device# configure terminal device(config)# policy-map policymap1 device(config-policymap)#
Remove the policy map while in global configuration mode.
device# configure terminal device(config)# no policy-map policymap1