hello,
I want to traffic shape (buffer not drop) traffic on an ISR4431 router facing the ISP. based on
https://www.cisco.com/c/en/us/support/docs/quality-of-service-qos/qos-policing/19645-policevsshape.html
and
https://www.cisco.com/c/en/us/td/docs/routers/10000/10008/configuration/guides/qos/qoscf/10qshape.pdf
and
https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/qos_plcshp/configuration/xe-16/qos-plcshp-xe-16-book.html
I understood that it can be done only in the outbound interface (where we have queue buffers) , and that shaping allows for buffering (whareas policy drops) .
so I used the following configuration , but it seems to drop not shape !?
class-map match-all INT-IN
match access-group 191
policy-map ISP-IN
class INT-IN
shape average 20000000
bandwidth 10000
interface GigabitEthernet0/0/1
service-policy output ISP-IN
but when I do have outbound traffic on g0/0/1 (lan interface) , I see drops alhtough the 5mn rates is lower than the programmed shape average at 20Mbps
isr4#show policy-map interface GigabitEthernet0/0/1
Class-map: INT-IN (match-all)
48224138 packets, 8078718003 bytes
5 minute offered rate 13241000 bps, drop rate 4000 bps
Match: access-group 191
Queueing
queue limit 64 packets
(queue depth/total drops/no-buffer drops) 55/187153/0
(pkts output/bytes output) 48037363/7985108315
shape (average) cir 20000000, bc 80000, be 80000
target shape rate 20000000
bandwidth 10000 kbps
1) why the policy take actions while the 5mn offered rate is lower than the bit-rate ? => here 5mn rate is 13Mbps and cir is 20Mbps
2) why the action is to drop, while I want a shape/buffer, not a policy/drop ?
3) is the ISR4431 limited in the policy shaping process ? it used to be it fine on a old 7206 !.
Thanks .