QoS over MPLS
Problem
You want to use the Quality of Service (QoS) features of MPLS.
Solution
For this example, we will take a relatively simple view that the PE router will trust the CE router’s DSCP/IP Precedence settings and map them to the MPLS EXP traffic priority field in a simple way. So we will focus on the configuration required on the PE and P routers to make use of this information.
First, the PE routers have the dual function of converting DSCP or IP Precedence values to MPLS EXP values and then using this information appropriately when forwarding the packets into the MPLS cloud. In this example, we will do both of these functions in a single policy map.
This MPLS network supports four categories of user traffic: low, medium, and high priority plus a real-time queue, which is indicated with the Expedited Forwarding (EF) DSCP value:
Router-PE1#configure terminalRouter-PE1(config)#class-map match-anyRouter-PE1(config-cmap)#med-prioritymatch precedenceRouter-PE1(config-cmap)#1match precedenceRouter-PE1(config-cmap)#2exitRouter-PE1(config)#class-map match-anyRouter-PE1(config-cmap)#high-prioritymatch precedenceRouter-PE1(config-cmap)#3match precedenceRouter-PE1(config-cmap)#4match precedenceRouter-PE1(config-cmap)#5exitRouter-PE1(config)#class-map match-anyRouter-PE1(config-cmap)#realtime-prioritymatch precedenceRouter-PE1(config-cmap)#6match dscpRouter-PE1(config-cmap)#efexitRouter-PE1(config)#policy-mapRouter-PE1(config-pmap)#MPLS-priorityclassrealtime-priority ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access