I have a following CBWFQ configuration:
!
ip access-list extended GRE-traffic-ACL
permit ip host 10.10.11.2 host 10.10.11.1
!
!
class-map match-all GRE-traffic
match access-group name GRE-traffic-ACL
!
policy-map prioritize-GRE-traffic
class GRE-traffic
priority 500
policy-map traffic-policer
class class-default
shape average 19500000
service-policy prioritize-GRE-traffic
!
Policy-map traffic-policer
is applied to Fa0/1 interface in outgoing direction. Now if I execute sh policy-map interface Fa0/1
command, I see the following output:
r3#sh policy-map interface Fa0/1
FastEthernet0/1
Service-policy output: traffic-policer
Class-map: class-default (match-any)
545169 packets, 822918951 bytes
30 second offered rate 7706000 bps, drop rate 5871000 bps
Match: any
Queueing
queue limit 64 packets
(queue depth/total drops/no-buffer drops) 0/415024/0
(pkts output/bytes output) 130144/195409677
shape (average) cir 19500000, bc 78000, be 78000
target shape rate 19500000
Service-policy : prioritize-GRE-traffic
queue stats for all priority classes:
queue limit 64 packets
(queue depth/total drops/no-buffer drops) 0/0/0
(pkts output/bytes output) 890/49840
Class-map: GRE-traffic (match-all)
890 packets, 43610 bytes
30 second offered rate 0 bps, drop rate 0 bps
Match: access-group name GRE-traffic-ACL
Priority: 500 kbps, burst bytes 12500, b/w exceed drops: 0
Class-map: class-default (match-any)
544279 packets, 822875341 bytes
30 second offered rate 7706000 bps, drop rate 5870000 bps
Match: any
queue limit 64 packets
(queue depth/total drops/no-buffer drops) 0/415024/0
(pkts output/bytes output) 129254/195359837
r3#
1) Am I correct that "30 second offered rate" is a bandwidth which comes into service-policy named traffic-policer
?
2) Why there are two lines "shape (average) cir" and "target shape rate"?
3) Am I correct that this part:
queue stats for all priority classes:
queue limit 64 packets
(queue depth/total drops/no-buffer drops) 0/0/0
(pkts output/bytes output) 190/10640
..is only for GRE-traffic
traffic-class as it is the only one with priority
configuration?
4) Am I correct that this 19.5Mbps(shape average 19500000
) is shared between all the traffic classes specified in child service-policies? class-default
and GRE-traffic
in my case.