04-05-2016 07:48 AM - edited 03-05-2019 03:43 AM
We have a shaping policy which is dropping packets when there is a spike in data, even though the spike is no where near close to the shaping limit.
An example is the shaping policy limits the outgoing flow on fiber connection to 10000 Kbps. There is a routing ssh rsync backup which kicks off every so often that only peaks around 2400 Kbps. Liveaction shows dropped packets everytime this process kicks off. Once the shaper policy is removed from the outgoing interface, the packet dropping stops.
Does anyone have any explanation why this is happening? Is this expected behavior?
04-05-2016 09:59 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
It could be normal behavior. You're probably having short term bursts exceeding your CIR (remember, usually shapers are measuring down at the millisecond level) and when that happens, your shaping queue(s) cannot contain all the packets being shaped.
04-05-2016 02:06 PM
Hello.
Could you provide "show policy-map interface <egress interface>" and highlight the class with the drops?
What is the line-speed of the egress interface?
What is the platform you are running (IOS/IOS-XE/XR and release)?
04-06-2016 09:26 AM
Thanks for the response here is the sh policy-map int g0/1.42 interface in question: As you can see all the qos hierarchical policy-maps have been removed for troubleshooting. when applied - the drops coincide with the scavenger class, where I have the ssh backups going, but even without the policies, the class-default still drops the packets once the spike begins from the backup traffic.
As you can see from the policy - the gigabit interface is using shaping to restrict down to match the 10Mb Fiber connection.
We are running IOS 15.5-3.M2
GigabitEthernet0/1.42
Service-policy output: SHAPER-FIBER-10M
Class-map: class-default (match-any)
11427055 packets, 6783795232 bytes
5 minute offered rate 551000 bps, drop rate 0000 bps
Match: any
Queueing
queue limit 64 packets
(queue depth/total drops/no-buffer drops) 0/17327/0
(pkts output/bytes output) 11409053/6759822540
shape (average) cir 10000000, bc 80000, be 80000
target shape rate 10000000
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