07-22-2012 05:19 PM - edited 03-07-2019 07:54 AM
Guys,
I have setup an outbound QoS as bellow, but im not sure how the (exceed-action) will operate. ihv policed web-traffic to 200kbps, but i want my web-traffic to be able to use 100% of the link while there is no VPN-TRAFFIC (priority-traffic), but if there is vpn-traffic then it must be throttled to the policed 200kbps speed. so im not sure the bellow config works correct or not.
policy-map qos
class vpn-traffic
priority percen 40
class web-traffic
police 200000 conform-action transmit exceed-action transmit
Can anyone explain me how exceed-action transmit really works ? because as i tested it, while i do (exceed-action transmit) then nothing seems to be limited, the traffic graph just goes to its peak and the link is used full....
07-23-2012 07:49 AM
Disclaimer
The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
Liability Disclaimer
In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
Posting
As configured, your policer will only effectively provide stats. The exceed action, as defined, just allows the packet to be transmitted.
From what you describe, a desire for conditional policing, don't believe it's possible.
What you can do is use CBWFQ to prioritize to obtain the desired effect.
Something like:
policy-map qos
class vpn-traffic
bandwidth (link capacity less 200k)
class web-traffic
bandwidth 200
07-23-2012 08:22 AM
everything is possible in Cisco world
you just need to delete policing or shaping.....
Essentially, implementing CBWFQ only, you ensure a minimum of bandwidth to the types of flows you define/are interested to and the rest is working on a best effort model. in your case i would not use the percentage but i would explicitely define the values in kbps and bits of course.
The point is this, if you police or shape you are rate limiting... so you are with two options:
a) what i have suggested - only CBWFQ
b) a very accurate analysis to define a very precise shaping policy
it's your choice
HTH
Alessio
07-23-2012 08:38 AM
Sorry Imran,
i was forgetting abou your original question...
If in your policy you say "look, if you have up to 10 kbps of data just transmit and if this value exceed transmit" you will not really see anything. the policy you wrote is working fine ecause you kept the same action in both the cases. If you want to test it you need to tell something like
if exceed drop it or change priority
then you will have a drop that you can see because the bandwidth won't go over the 10 kbps (just an example)
http://www.cisco.com/en/US/products/hw/switches/ps646/products_tech_note09186a00800feff5.shtml
read the link above, short and very practical
Alessio
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide