10-15-2009 05:08 PM - edited 03-06-2019 08:09 AM
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?
10-15-2009 07:42 PM
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
10-16-2009 03:37 AM
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.
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: