I am having some trouble with shaping and output drops. I have the need to enable shaping on our edge router in order to bandwith limit our guest networks. I have shaping enabled with the following config:
class-map match-any tec-class-download match access-group name tec-class-download class-map match-any priority match protocol ntp match protocol eigrp match protocol dns match protocol telnet match protocol icmp match protocol echo class-map match-any test class-map match-any tec-class match access-group name tec-class-download match access-group name tec-class-upload class-map match-all shape-wan class-map match-all guest-download match access-group name guest-download class-map match-all staff-byod-download match access-group name staff-byod-download class-map match-any guest match access-group name guest-download match access-group name guest-upload class-map match-any expedited match dscp ef class-map match-any video match dscp af41 match dscp cs4 ! policy-map police-lan class tec-class police cir 750000 bc 100000 be 1000 conform-action transmit exceed-action drop violate-action drop policy-map shape-lan class tec-class-download shape average 6500000 queue-limit 8192 packets fair-queue class guest-download shape average 5250000 queue-limit 2048 packets class priority priority 5000 set dscp af31 class business class video priority 6000 1000 class expedited priority 1000 class staff-byod-download shape average 3000000 queue-limit 512 packets class class-default queue-limit 4096 packets fair-queue ! !
description LAN ip address 10.10.10.1 255.255.255.252 no ip redirects no ip unreachables no ip proxy-arp ip virtual-reassembly in ip policy route-map inet duplex auto speed auto no mop enabled service-policy input police-lan service-policy output shape-lan
It all seems to work fine, but I am seeing a lot of output drops :
What's the bandwidth of the link? It looks like class-default is already transmitting at a rate of 53 Mbps. It doesn't look like there is any shaping on class-default. The drops may be from bursts of traffic that exceed the BW.
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.
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.
As also noted by the other poster, you're not shaping class-default.
BTW, your queue limits seem excessive for your shaped rates. (NB: having too large queues can result in excessive drops as traffic queues up for bandwidth that's never available.)
Are you trying to regulate Internet ingress bandwidth by shaping LAN egress bandwidth? If so, you would probably be better policing Internet ingress.
We are pleased to announce availability of Beta software for 16.6.3.
16.6.3 will be the second rebuild on the 16.6 release train targeted
towards Catalyst 9500/9400/9300/3850/3650 switching platforms. We are
looking for early feedback from customers befor...
Introduction Featured Speakers Luis Espejel is the Telecommunications
Manager of IENova, an Oil & Gas company. Currently he works with Cisco
IOS® and Cisco IOS XE platforms, and NX to some extent. He has also
worked as a Senior Engineer with the Routing P...
In this session you can learn more about Layer 3 multicast and the best
practices to identify possible threats and take security measures. It
provides an overview of basic multicast, the best security practices for
use of this technology, and recommendati...