请解释:
我有两个带有 QoS 的路由器。。两个面向 WAN 的接口都有一个具有相同值 (100000) 的带宽命令,但优先级队列(还有其他保留)为这个队列计算了不同的 kbps 数量?我会认为当带宽相同时,每个队列的 kbps 计算结果应该相同吗?
第一个路由器(我们称之为路由器 a)位于主办公室,并与分支机构的 3 个其他路由器建立多点连接。总机实际带宽为300Mbit,分支机构实际带宽为100Mbit。我制作了一个 HQos 脚本来将主要的带宽调整为每个站点(父)的 100mbit,然后是 QoS 队列(子)。我将主带宽设置为 100Mbit,以确保它以正确的方式(例如每个站点 100mbit)计算带宽(全部以百分比表示)。我知道我可以使用严格的带宽量,但我想知道为什么这不能按照我认为应该的方式运行..
主路由器(A):
interface GigabitEthernet0/0
description WAN
bandwidth 100000
ip address 172.16.2.1 255.255.255.0
ip flow ingress
ip flow egress
ip ospf message-digest-key 1 md5 7
duplex full
speed 1000
service-policy output 300Mb-forward-qos
end
Service-policy output: 300Mb-forward-qos
Class-map: site1-100Mb-forward-qos (match-all)
97350980 packets, 60719394859 bytes
5 minute offered rate 1891000 bps, drop rate 0 bps
Match: access-group name site1
Queueing
queue limit 64 packets
(queue depth/total drops/no-buffer drops) 0/864/0
(pkts output/bytes output) 97350116/60718176568
shape (peak) cir 97000000, bc 388000, be 388000
target shape rate 194000000
Service-policy : forward-qos
queue stats for all priority classes:
queue limit 64 packets
(queue depth/total drops/no-buffer drops) 0/0/0
(pkts output/bytes output) 148794/7659376
Class-map: forward-qos-class-prec5 (match-all)
148794 packets, 7659376 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: ip precedence 5
Priority: 10% (2500 kbps), burst bytes 62500, b/w exceed drops: 0
!^^^^^^^^^^^^^^^^^^^^^^^^
分行路由器 (B)
interface GigabitEthernet0/0
description WAN
bandwidth 100000
! ^^^^^^^^^^^^^^
ip address 172.16.2.4 255.255.255.0
ip ospf message-digest-key 1 md5 7 12480603150C02573E
duplex auto
speed auto
service-policy output 100Mb-forward-qos
end
Service-policy : forward-qos
queue stats for all priority classes:
queue limit 64 packets
(queue depth/total drops/no-buffer drops) 0/0/0
(pkts output/bytes output) 3873239/716718654
Class-map: forward-qos-class-prec5 (match-all)
3873238 packets, 716718440 bytes
5 minute offered rate 123000 bps, drop rate 0 bps
Match: ip precedence 5
Priority: 10% (5000 kbps), burst bytes 125000, b/w exceed drops: 0
!^^^^^^^^^^^^^^^^^^^^^^^^