Configuring Modular QoS Service Packet Classification and Marking on Cisco ASR 9000 Series Routers
Configuration Examples for Configuring Modular QoS Packet Classification and Marking on Cisco ASR 9000 Series
QC-34
Cisco ASR 9000 Series Aggregation Services Router Modular Quality of Service Configuration Guide
OL-23108-02
class class1
bandwidth 3000
queue-limit bytes 1000000000
exit
!
class class2
bandwidth 2000
exit
Traffic Policy Attached to an Interface: Example
The following example shows how to attach an existing traffic policy to an interface (see the “Traffic
Classes Defined: Example” section on page 33). After you define a traffic policy with the policy-map
command, you can attach it to one or more interfaces to specify the traffic policy for those interfaces by
using the service-policy command in interface configuration mode. Although you can assign the same
traffic policy to multiple interfaces, each interface can have only one traffic policy attached at the input
and only one traffic policy attached at the output.
interface gigabitethernet 0/1/0/9
service-policy output policy1
exit
!
interface TenGigE 0/5/0/1
service-policy output policy1
exit
Traffic Policy Attached to Multiple Subinterfaces: Example
The following example shows how to attach an existing traffic policy to multiple subinterfaces. After
you define a traffic policy with the policy-map command, you can attach it to one or more subinterfaces
using the service policy command in subinterface configuration mode.
interface gigabitethernet 0/1/0/0.1
service-policy output1 shared-policy-instance ethernet101
exit
!
interface gigabitethernet 0/1/0/0.2
service-policy output1 shared-policy-instance ethernet101
exit
Traffic Policy Attached to a Bundle Interface: Example
The following example shows how to attach an existing traffic policy to a bundle interface. After you
define a traffic policy with the policy-map command, you can attach it to one or more bundle
subinterfaces using the service policy command in subinterface configuration mode.
interface Bundle-Ether 100.1
service-policy tripleplaypolicy shared-policy-instance subscriber1
exit
!
interface Bundle-Ether 100.2
service-policy output tripleplaypolicy shared-policy instance subscriber1
exit