Configuring Modular QoS Service Packet Classification
Traffic Policy Attached to an Interface: Example
This example shows how to attach an existing traffic policy to an interface (see the
Example). 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
!
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 input policy1 shared-policy-instance ethernet101
exit
!
interface gigabitethernet 0/1/0/0.2
service-policy input policy1 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
EFP Load Balancing with Shared Policy Instance: Example
The following examples show how to configure load balancing of an EFP when SPI is implemented. For
additional information on EFP load balancing on link bundles, see the Cisco IOS XR Interface and Hardware
Component Configuration Guide.
Configuring a Bundle Interface: Example
interface Bundle-Ether 50
interface gigabitethernet 0/1/0/5
Cisco ASR 9000 Series Aggregation Services Router Modular Quality of Service Configuration Guide, Release 6.1.x
Traffic Policy Attached to an Interface: Example
Traffic Classes Defined:
171