Command or Action
Example:
Switch(config)# class-map ipclass1
Step 4
policy-map policy-map-name
Example:
Switch(config-cmap)# policy-map aggflow1
Step 5
class [class-map-name | class-default]
Example:
Switch(config-cmap-p)# class ipclass1
Step 6
police aggregate aggregate-policer-name
Example:
Switch(configure-cmap-p)# police aggregate
transmit1
Step 7
exit
Example:
Switch(configure-cmap-p)# exit
Step 8
interface interface-id
Example:
Switch(config)# interface gigabitethernet
2/0/1
Step 9
service-policy input policy-map-name
Example:
Switch(config-if)# service-policy input
aggflow1
Purpose
Creates a policy map by entering the policy map name, and enters
policy-map configuration mode.
Defines a traffic classification, and enters policy-map class
configuration mode.
Applies an aggregate policer to multiple classes in the same policy
map.
For aggregate-policer-name, enter the name specified in Step 2.
To remove the specified aggregate policer from a policy map, use
the no police aggregate aggregate-policer-name policy map
configuration command. To delete an aggregate policer and its
parameters, use the no mls qos aggregate-policer
aggregate-policer-name global configuration command.
Returns to global configuration mode.
Specifies the port to attach to the policy map, and enters interface
configuration mode.
Valid interfaces include physical ports.
Specifies the policy-map name, and applies it to an ingress port.
Only one policy map per ingress port is supported.
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
How to Configure QoS
603