Configuring Modular Quality of Service Packet Classification on Cisco ASR 9000 Series Routers
Attaching a Traffic Policy to an Interface
After the traffic class and traffic policy are created, you must use the service-policy interface
configuration command to attach a traffic policy to an interface, and to specify the direction in which the
policy should be applied (either on packets coming into the interface or packets leaving the interface).
For additional commands that can be entered in policy map class configuration mode, see the
Cisco ASR 9000 Series Aggregation Services Router Modular Quality of Service Command Reference.
Prerequisites
A traffic class and traffic policy must be created before attaching a traffic policy to an interface.
Restrictions
None
SUMMARY STEPS
1.
2.
3.
4.
5.
DETAILED STEPS
Command or Action
Step 1
configure
Example:
RP/0/RSP0/CPU0:router# configure
Step 2
interface type instance
Example:
RP/0/RSP/CPU0:router(config)# interface
gigabitethernet 0/1/0/9
Step 3
service-policy {input | output} policy-map
Example:
RP/0/RSP0/CPU0:router(config-if)#
service-policy output policy1
OL-17239-01
D r a f t — C i s c o C o n f i d e n t i a l
configure
interface type instance
service-policy {input | output} policy-map
end
or
commit
show policy-map interface type instance [input | output]
Cisco ASR 9000 Series Aggregation Services Router Modular Quality of Service Configuration Guide
How to Configure Modular QoS Packet Classification on Cisco ASR 9000 Series Routers
Purpose
Enters global configuration mode.
Enters interface configuration mode and configures an
interface.
Attaches a policy map to an input or output interface to be
used as the service policy for that interface.
In this example, the traffic policy evaluates all traffic
•
leaving that interface.
QC-19