Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

IP Precedence vs DSCP in MPLS VPN

Hi there,

From my reading through Cisco website, I noticed that most of implementation suggested to use DSCP values and sometimes use IP Precedence in CE/PE class-map for classfication and markings.

What is the most appropriate or maybe best practise to configure by using IP Precedence or DSCP? Is there any difference in terms of providing QoS especially in MPLS VPN enviroment?

Thanks.

maher

  • MPLS
1 ACCEPTED SOLUTION

Accepted Solutions
Purple

Re: IP Precedence vs DSCP in MPLS VPN

Hey Maher,

I should add that the PE will receive IP traffic from the CE with DSCP markings set by the CE. Based on the DSCP markings on the packet, the router will determine the EXP value for the MPLS label(s) that are slapped on to the IP packet...

On egress, the PE will strip off the MPLS label and the original DSCP markings on the IP packet will still be present...

Hope that helps - pls rate the post if it does.

Paresh

5 REPLIES
Purple

Re: IP Precedence vs DSCP in MPLS VPN

Hi Maher,

DiffServ offers you the advantage of a 6-bit field so that you can offer much more granular QoS. IP Precedence only offers you 3 bits so that the QoS offered is fairly coarse. These days, most implementations would be using DSCP for that reason.

Within an MPLS core, the QoS setting is carried within the EXP field, which is a 3-bit field. Therefore, even if you use 6-bits for DSCP at the edge, you will end up having to map those 6-bits into 3-bits for carriage across the MPLS network. That is not a problem, however. You are bound to get more congestion at the edges so you need more granular QoS markings there. The core of a network is unlikely to be congested so 3 bits of QoS marking is sufficient.

Hope that helps - pls rate the post if it does.

Paresh

New Member

Re: IP Precedence vs DSCP in MPLS VPN

Hi Paresh,

Thanks for the info. If let say, I want to implement DiffServ, from CE2PE, PE2PE, I need to mark/classify intersting packet into DSCP value right?

thanks again.

maher

Purple

Re: IP Precedence vs DSCP in MPLS VPN

In the CE2PE direction, you would mark and classify based on the DSCP values. In the PE2PE direction, you would mark and classify based on the EXP values in the MPLS header.

Paresh

Purple

Re: IP Precedence vs DSCP in MPLS VPN

Hey Maher,

I should add that the PE will receive IP traffic from the CE with DSCP markings set by the CE. Based on the DSCP markings on the packet, the router will determine the EXP value for the MPLS label(s) that are slapped on to the IP packet...

On egress, the PE will strip off the MPLS label and the original DSCP markings on the IP packet will still be present...

Hope that helps - pls rate the post if it does.

Paresh

New Member

Re: IP Precedence vs DSCP in MPLS VPN

Paresh,

Thanks for the help

1177
Views
5
Helpful
5
Replies
This widget could not be displayed.