请解释:
我有两个带QoS的路由器。这两个面向广域网的接口都有一个具有相同值(100000)的带宽命令,但是优先级队列(也包括其他预约)计算这个队列的不同的kbps数量?我认为当带宽相同时,每个队列的计算结果应该是相同的?
第一个路由器(让我们称它为路由器a)在主办公室,并有一个多点连接到其他3个路由器在分支机构。主办公室的实际带宽是300 main,分支机构的实际带宽是100 main。我制作了一个HQos脚本,将主站点带宽调整为每个站点100 main (父站点),然后是QoS队列(子队列)。我将带宽放在100 main上,以确保它以正确的方式计算带宽(所有百分比)(例如,每个站点100 main)。我知道我可能需要严格的带宽,但我不知道为什么这不能像我想的那样运作。
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
!^^^^^^^^^^^^^^^^^^^^^^^^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
!^^^^^^^^^^^^^^^^^^^^^^^^发布于 2013-09-20 19:14:25
没有必要在路由器(A)接口上设置带宽语句。如果您正在执行H,那么您可以在父服务器上创建100 on,而子策略则继承该形状的值。
就像这样:
policy-map parent
class class-default
shape average 100m
service-policy child
policy-map child
class EF
priority percent 5如果在物理接口上放置带宽语句,则会导致H计算混乱。因为分支没有运行H,所以对它们来说很好。
https://networkengineering.stackexchange.com/questions/3298
复制相似问题