06-28-2016 11:13 PM - edited 03-05-2019 04:19 AM
Dear All,
I need to restrict the traffic for specific subnet up to 10% of total bandwidth when there is congestion on link while no restrictions is applied during non-congested period. Please someone help me on this. Thanks.
Router Cisco 877 with Advance IP services License.
06-28-2016 11:49 PM
Hi Muhammad,
Check the below link. It does not exactly provide what you are looking for, but may give you some idea.
https://supportforums.cisco.com/discussion/12550001/qos-bandwidth-limit
hth
MS
06-29-2016 01:34 AM
Hi..
Thanks for sharing the useful information.
As per my understanding, Police/Shape will limit the traffic all the time and through bandwidth command we can set minimum guaranteed at the time of congestion.
In my case, I want to know is there any option to apply the maximum limit for specific subnet at the time of congestion only. thanks.
Regards,
06-29-2016 06:55 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 wha2tsoever (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
The only feature, that often works like you desire, is a LLQ's (implicit) policer. When there's congestion it polices, but when there's no congestion, it doesn't.
Otherwise, I'm unaware of such a feature.
06-29-2016 10:00 PM
Dear Joseph,
Thanks for the response.
Can you please share the sample config. thanks.
Regards,
Hassan Khan
06-29-2016 10:22 PM
Below configuration will work? is it restrict upto 128kbps when there is congestion on the link? Please confirm. thanks.
class-map match-all ABC
match access-group name ABC-SUBNET
exit
policy-map TRAFFIC-POLICY
class ABC
Priority 128
class class-default
fair-queue
ip access-list extended ABC-SUBNET
permit ip 192.168.1.0 0.0.0.255 any
WAN Interface
service-policy output TRAFFIC-POLICY
06-30-2016 02:45 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 wha2tsoever (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
Yes, that's how it appears to work on most platforms. (NB: the implicit policer only engaging when there's congestion appears "odd", but Peter Paluch confirmed, with testing, some time back.)
Keep in mind, when there's congestion, class ABC will dequeue first.
07-01-2016 11:13 AM
Hi Muhammad,
I was searching some materials and I found a table that describe what you want to do, I guess..
Command | Congestion | Non-Congestion |
---|---|---|
bandwidth Command | Allowed to exceed the allocated rate. | Allowed to exceed the allocated rate. |
priority Command | Cisco IOS meters the packets and applies a traffic measurement system via a token bucket. Matching packets are policed to the configured bps rate, and any excess packets are discarded. | The class can exceed its configured bandwidth. |
In this case, when it is used priority, the traffic will be dequeue first due to the LLQ.
Regards.
06-29-2016 07:43 AM
Hi Muhammad,
You can try to use the feature "shape average" . This feature will buffer the traffic, when there is congestion, and it will try to transmit them when the link is not congestion. In this feature, the subnet marked will experience high delay when the link is congestion. In fact there is a limit of the BW for the subnet but the algorithm will buffer the excess traffic and transmit them when the congestion period was over.
Regards!
06-29-2016 09:59 PM
Dear Erico,
Thanks for the response.
Actually, i dont want to buffer the excess traffic. Its ok with us if its discarded during congestion period.
Regards,
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