QoS Commands
policy-map
Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x
385
28
Syntax
police aggregate
aggregate-policer-name
no police aggregate
Parameters
•
aggregate-policer-name
—The aggregate policer name.
Command Mode
Policy-map Class Configuration mode
User Guidelines
An aggregate policer can be applied to multiple classes in the same policy map.
An aggregate policer cannot be applied across multiple policy maps or interfaces.
Use the exit command to return to the Global Configuration mode. Use the end
command to return to the Privileged EXEC mode.
Example
The following example applies the aggregate policer called Policer1 to a class
called class1 in a policy map called policy1 and class2 in policy map policy2:
switchxxxxxx(config)#
qos aggregate-policer policer1 124000 exceed-action
drop
switchxxxxxx(config)#
policy-map policy1
switchxxxxxx(config-pmap)#
class class1
switchxxxxxx(config-pmap-c)#
police aggregate policer1
switchxxxxxx(config-pmap-c)#
exit
switchxxxxxx(config-pmap)#
exit
switchxxxxxx(config)#
policy-map policy2
switchxxxxxx(config-pmap)#
class class2
switchxxxxxx(config-pmap-c)#
police aggregate policer1
policy-map
To create a policy map and enter the Policy-map Configuration mode, use the
policy-map Global Configuration mode command.
To delete a policy map, use the no form of this command.
NOTE
This command is only available when the switch is in QoS advanced mode.