service-policy input
Specify the keyword layer2 if the policy map you are applying a Layer 2 policy map.
Creating Output Policy Maps
1. Create an output policy map.
CONFIGURATION mode
policy-map-output
2. After you create an output policy map, do one or more of the following:
Applying an Output QoS Policy to a Queue
Specifying an Aggregate QoS Policy
Applying an Output Policy Map to an Interface
3. Apply the policy map to an interface.
Applying an Output QoS Policy to a Queue
To apply an output QoS policy to a queue, use the following command.
• Apply an output QoS policy to queues.
INTERFACE mode
service-queue
Specifying an Aggregate QoS Policy
To specify an aggregate QoS policy, use the following command.
• Specify an aggregate QoS policy.
POLICY-MAP-OUT mode
policy-aggregate
Applying an Output Policy Map to an Interface
To apply an output policy map to an interface, use the following command.
• Apply an input policy map to an interface.
INTERFACE mode
service-policy output
You can apply the same policy map to multiple interfaces, and you can modify a policy map after you
apply it.
Quality of Service (QoS)
745