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. And see here for current known issues.

New Member

wred based on MPLS exp bits on 12000

I want to use WRED with MQC on 12000 but there is no mpls/exp-bits statment on the "random-detect" command.

I found this note at cisco documentation:

Note: The legacy CLI also uses the precedence syntax for Multiprotocol Label Switching (MPLS) traffic. The router treats the MPLS bits as though they are IP Type of Service (ToS) bits and puts the appropriate packets into the correct queues. This is not at all true for MQC.

so, is there a way to use WRED with MPLS EXP-bits on MQC?

1 REPLY
New Member

Re: wred based on MPLS exp bits on 12000

Hi,

As fas as I know the solution is as follows:

1. Use MQC on the inbound interface of your P/PE LSR to match your desired traffic and set discard-class

2. Use MQC on the outbound interface of your P/PE

LSR to set desired WRED policy based on discard-class you marked in previous step. You also need to mark WRED as "discard-class-based"

Here is an example:

Inbound:

class-map class1

match XXXXX

class-map class2

match YYYYY

policy-map in-policy

class class1

set discard-class 0

class class2

set discard-class 1

Outbound:

policy-map out-policy

class class-default

random-detect discard-class-based

random-detect discard-class 0 10 20 5

random-detect discard-class 1 20 30 5

Hope that helped.

David

239
Views
0
Helpful
1
Replies
CreatePlease login to create content