cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
387
Views
0
Helpful
2
Replies

WRED & Shaping together

hpitt2009
Level 1
Level 1

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 2

Marwan ALshawi
VIP Alumni
VIP Alumni

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

Joseph W. Doherty
Hall of Fame
Hall of Fame

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.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card