我有以下CBWFQ配置:
!
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-maptraffic-policer
应用于出方向的 Fa0/1 接口。现在,如果我执行sh policy-map interface Fa0/1
命令,我会看到以下输出:
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)“30 秒提供的速率”是进入名为 的服务策略的带宽,我是否正确traffic-policer
?
2)为什么有两条线“形状(平均)cir”和“目标形状率”?
3)我是否正确地指出这部分:
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
..仅用于GRE-traffic
流量级,因为它是唯一具有priority
配置的?
4)shape average 19500000
在子服务策略中指定的所有流量类别之间共享此 19.5Mbps( ) 是否正确?class-default
而GRE-traffic
在我的情况。