我的边缘路由器有小问题。我使用 QoS、标准 CBWFQ 模板和一个 LLQ 队列。但是,我在“ef”类的访问列表中有匹配项,路由器可能没有正确标记数据包。
我的配置如下;希望这给出了更好的解释。
整个排队/调度和整形图:
!
policy-map etm-blazeknet
class realtime
priority 512
police 512000 conform-action transmit exceed-action drop
class priority
bandwidth remaining percent 40
random-detect dscp-based
class missioncritical
bandwidth remaining percent 39
random-detect dscp-based
class transactional
bandwidth remaining percent 16
random-detect dscp-based
class general
bandwidth remaining percent 1
random-detect dscp-based
class class-default
bandwidth remaining percent 4
random-detect dscp-based
policy-map shape-etm-blazeknet
class class-default
shape average 3400000
service-policy etm-SpiraxSarco-SXSNet
实时和 ef 的类图:
class-map match-any realtime
match ip dscp cs5 ef
class-map match-all ef
match access-group name ef
match protocol rtp
.
.
.
部分标记图:
policy-map ingress-mark
class ef
set ip dscp ef
class af41
set ip dscp af41
.
.
.
显示匹配的 ef 类映射和显示命令的访问列表:
ip access-list extended ef
permit udp any range 49152 57500 any range 49152 57500
permit tcp any range 49152 57500 any range 49152 57500
sxs-sgsingapor-2677033#sh access-lists ef
Extended IP access list ef
10 permit udp any range 49152 57500 any range 49152 57500
20 permit tcp any range 49152 57500 any range 49152 57500 (234 matches)
sxs-sgsingapor-2677033#
如您所见,在 ef 访问列表中有匹配项,但是当我查看标记映射的统计信息时,我看到没有标记任何数据包。
sxs-sgsingapor-2677033#sh policy-map int in
GigabitEthernet0/0
GigabitEthernet0/1
Service-policy input: ingress-mark
Class-map: ef (match-all)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: access-group name ef
Match: protocol rtp
QoS Set
dscp ef
Packets marked 0
.
.
.
输出映射中也是如此,优先级对我不起作用。是的,当然,标记图是附加在 LAN 接口上的。
如果有人遇到同样的问题,我该如何解决?一切似乎都很好,我从来没有遇到过类似的问题。其他班级的标记是可以的。