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

WRED & Shaping together

Can someone clarify something for me. I have this situation, I need to match dscp ef traffic and guarantee it 512K, limit http traffic to 1Mbps and make sure that all traffic is randomly dropped if congestion occurs.

class-map EF

match ip dscp ef

class-map HTTP

match protocol http

policy-map MYPOLICY

class-map EF

bandwidth 512

random-detect

class-map HTTP

shape average 1000

class class-default

fair-queue

random-detect

With this configuration, EF traffic and default traffic is using WRED. But how do I configure HTTP in the above class-map to utilize WRED also?

2 REPLIES

Re: WRED & Shaping together

u need a bandwidth statment to get the WRED configured on the class-map

however you can try this trick

creat class map called default2

which match everything except http

now the put it before the class-default

now limit the calss default to 1M in this case class default will be only http beucase all other traffic has been match before except http

class default2

match not protocol http

politcy-map

class default2

class class-default

shape average 1000

fair-queue

random-detect

good luck

hope this helps

Super Bronze

Re: WRED & Shaping together

At the moment, I'm not able to try various config options, but have your tried?

class-map HTTP

!BTW, believe bandwith is in Kbps

bandwidth 1000

!BTW, and shaper in bps

shape average 1000000

random-detect

or

policy-map child

class-map class-default

random-detect

policy-map MYPOLICY

class-map HTTP

!BTW, believe bandwith is in Kbps

bandwidth 1000

!BTW, and shaper in bps

shape average 1000000

service-policy child

Also BTW, random-detect is not normally used for LLQ classes (your class EF). Also, default random-detect not normally useful for other than TCP traffic. Lastly, FQ, or shaper on many IOS implementations, default random-detect not really of much benefit since there's already tail drop per flow queue.

153
Views
0
Helpful
2
Replies
CreatePlease to create content