Modular QoS Deployment Scenarios on Cisco ASR 9000 Series Routers
MPLS QoS
QC-179
Cisco ASR 9000 Series Aggregation Services Router Modular Quality of Service Configuration Guide
OL-23108-02
interface GigabitEthernet0/0/0/1
service-policy output policy3
Pipe Mode: Egress PE Example
This example shows the configuration of the egress PE for the MPLS DiffServ pipe mode. The egress
LSR does not copy the EXP bits to the precedence bits of the outgoing IP packet. The scheduling of the
packets on the egress interface is done indirectly on the EXP bits using the set qos-group and match
qos-group commands.
!Ingress interface:
class-map exp2
match mpls experimental topmost 2
!
class-map exp4
match mpls experimental topmost 4
!
policy-map policy2
class exp2
set qos-group 2
class exp4
set qos-group 4
!
interface GigabitEthernet0/0/0/2
service-policy input policy2
!Egress interface:
class-map qos2
match qos-group 2
class-map qos4
match qos-group 4
!
policy-map policy3
class qos2
bandwidth percent 20
random-detect default
class qos4
bandwidth percent 20
random-detect default
!
interface GigabitEthernet0/0/0/1
service-policy output policy3
Short Pipe Mode: Egress PE Example
This example shows the configuration of the egress PE for the MPLS DiffServ short pipe mode. The
egress LSR forwards the packet based on the precedence or differentiated services code point (DSCP)
bits of the IP packet after removing the labels. The egress LSR does not copy the EXP bits to the
precedence bits of the outgoing IP packet.
! Configuration is not needed for ingress interface
!Egress interface:
class-map prec4
match precedence 4
!
policy-map policy3
class prec4
bandwidth percent 40