03-23-2011 08:50 PM - edited 03-04-2019 11:51 AM
Hi,
I've got a following policy map
policy-map 10M
class RealTime
priority 2048
class class-default
shape average 8000000
service-policy LIMIT
policy-map LIMIT
class LIMIT
police cir 5000000
conform-action transmit
exceed-action drop
violate-action drop
class WWW
bandwidth 2048
class TEST
police cir 1000000
class MGMT
bandwidth 512
And it is applied on fastethernet interface
interface FastEthernet1/3
service-policy output 10M
But here is what I see
#sh policy-map interface fastEthernet 1/3
FastEthernet1/3
Service-policy output: 10M
queue stats for all priority classes:
Queueing
queue limit 64 packets
(queue depth/total drops/no-buffer drops) 0/0/0
(pkts output/bytes output) 1/60
Class-map: RealTime(match-any)
593621 packets, 50969773 bytes
30 second offered rate 27000 bps, drop rate 0 bps
Match: ip dscp ef (46)
232812 packets, 24981712 bytes
30 second rate 20000 bps
Match: ip dscp cs5 (40)
360809 packets, 25988061 bytes
30 second rate 5000 bps
Priority: 2048 kbps, burst bytes 51200, b/w exceed drops: 0
Class-map: class-default (match-any)
14684822 packets, 6675419654 bytes
30 second offered rate 11385000 bps, drop rate 0 bps
Match: any
Queueing
queue limit 64 packets
(queue depth/total drops/no-buffer drops) 0/0/0
(pkts output/bytes output) 425699/45286759
shape (average) cir 8000000, bc 32000, be 32000
target shape rate 8000000
Service-policy : LIMIT
Class-map: LIMIT (match-all)
1955892 packets, 1097713839 bytes
30 second offered rate 163000 bps, drop rate 0 bps
Match: access-group name LIMIT
police:
cir 5000000 bps, bc 156250 bytes, be 1500 bytes
conformed 1953801 packets, 1094632291 bytes; actions:
transmit
exceeded 96 packets, 103610 bytes; actions:
drop
violated 1995 packets, 2977938 bytes; actions:
drop
conformed 163000 bps, exceed 0 bps, violate 0 bps
etc...
There is zero drop rate in the parent policy-map shaper. Is it normal? I can see that the link is loaded up to 16mbps, though my shape cir rate is 8mbps.
My router is Cisco 3825 running IOS version 12.4(24)T
03-24-2011 08:41 PM
Almost identical config is working on 2821 with 12.4(24)T2 so I suppose it is a bug. Maybe CSCsy34419
04-05-2011 01:08 AM
Tried to change direct numbers to percent values but still no luck. Removed child policy-map and tried to shape just simple class to a certain value - the same situation. Can anyone suggest a workaround without IOS update?
e.g.
class ADMIN
shape average 512000
Class-map: ADMIN (match-all)
42130 packets, 49528793 bytes
30 second offered rate 4359000 bps, drop rate 0 bps
Match: access-group name ADMIN
Queueing
queue limit 64 packets
(queue depth/total drops/no-buffer drops) 0/0/0
(pkts output/bytes output) 2368/409956
shape (average) cir 512000, bc 2048, be 2048
target shape rate 512000
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