background image
6-9
Cisco AVVID Network Infrastructure Enterprise Quality of Service Design
956467
Chapter 6 QoS with MPLS in an AVVID-Enabled Network
Implementing MPLS VPN QoS
Because the PE routers use BGP, all of the routing options normally associated with BGP are available
to influence path selection into a site with multiple links (local preference, communities, etc.). For traffic
outbound from the CE to the PE routers, link selection can be based on the metrics of the internal IGP,
which routes traffic to the appropriate PE router for transmission to the MPLS network. When using
ATM as the transport mechanism from the CE to the PE, the IOS version implemented on the CE router
must support both generic traffic shaping and LLQ on a single ATM virtual circuit.
Example 6-1
shows the configuration of a CE router. In this example, voice bearer traffic is set to an IP
Precedence of 5, voice signaling to 3, and video to 4. Voice bearer traffic and video are sent to the
priority queue, and voice signalling is sent to a CBWFQ. The commands to implement QoS are
highlighted in bold.
Example 6-1
MPLS QoS CE Configuration
class-map match-all VOICE
match ip dscp ef
class-map match-all VIDEO
match ip dscp af41
class-map match-all VOICE-CONTROL
match ip dscp af31
class-map match-any GOLD-DATA
match ip dscp af21
match ip dscp af22
match ip dscp af23
class-map match-any SILVER-DATA
match ip dscp af11
match ip dscp af12
match ip dscp af13
!
!
policy-map WAN-EDGE
class VOICE
priority percent 17
class VIDEO
priority percent 16 30000
class VOICE-CONTROL
bandwidth percent 2
class GOLD-DATA
bandwidth percent 25
random-detect dscp-based
class SILVER-DATA
bandwidth percent 15
random-detect dscp-based
class class-default
fair-queue
random-detect dscp-based
random-detect dscp 0 96 128 10
random-detect dscp 2 70 128 10
random-detect dscp 4 58 128 10
random-detect dscp 6 44 128 10
!
interface Loopback0
ip address 192.169.1.2 255.255.255.255
!
interface Ethernet0/0
ip address 10.3.1.1 255.255.255.0
ip helper-address 10.3.3.0
full-duplex
no cdp enable
!