MPLS QoS
random-detect precedence 4 500 1500 1
shape 120000
class exp5
bandwidth percent 10
bandwidth remaining percent 12
random-detect precedence-based
random-detect precedence 5 500 1500 1
shape 120000
class exp6
bandwidth percent 10
bandwidth remaining percent 12
random-detect precedence-based
random-detect precedence 6 500 1500 1
shape 120000
class exp7
bandwidth percent 10vbandwidth remaining percent 12
random-detect precedence-based
random-detect precedence 7 500 1500 1
shape 120000
class class-default
!
interface GigabitEthernet3/0/0.2
encapsulation dot1Q 2
ip vrf on forwarding vrf_2
ip address 220.220.56.6 255.255.255.0
service-policy input set-exp
!
!
interface POS4/0/0
ip address 220.220.46.6 255.255.255.0
load-interval 30
tag-switching ip
crc 32
clock source internal
service-policy output wred
Configuration Example for Pipe Mode
The following example shows how to configure pipe mode on the CE and PE routers in the following
sample topology. In this topology, esr5 is the CE router, esr6 is the PE router, esr4 is the P router.
Customer router/switch---(gig4/0/0) esr5 (gig3/0/0.2)---(gig3/0/0.2) esr6 (pos4/0/0)---
---(pos4/0/0) esr4 (gig5/0/0)---PE router
Configuration for esr5 (CE router):
class-map match-all prec0
match ip precedence 0
class-map match-all prec1
match ip precedence 1
class-map match-all prec2
match ip precedence 2
class-map match-all prec3
match ip precedence 3
class-map match-all prec4
match ip precedence 4
class-map match-all prec5
match ip precedence 5
class-map match-all prec6
match ip precedence 6
class-map match-all prec7
match ip precedence 7
!
Cisco 10000 Series Router Quality of Service Configuration Guide
20-10
Chapter 20
Configuring Quality of Service for MPLS Traffic
OL-7433-09