流量标记在 QoS 中无法正常工作。
我的策略映射标记位有问题。我想监控与 Po 50 中 IP 优先级位 4 匹配的流量,但从以下配置来看,显示的流量show policy-map interface port-channel 50 output class AllBit4
不正确。
如果条件符合class-map Shape_A
之前class-map AllBit4
,是否policy-map Traffic_Out
只做警察行动class-map Shape_A
?
如果是,我如何在同一策略映射中执行警察操作class-map Shape_A
并设置优先位 4 class-map AllBit4
?
配置:
Router#show policy-map Traffic_Out
Policy Map Traffic_Out
Class Shape_A
police cir 5000000000 bc 156250000 be 156250000
conform-action transmit
exceed-action transmit
violate-action transmit
Class Shape_B
police cir 5000000000 bc 156250000 be 156250000
conform-action transmit
exceed-action transmit
violate-action transmit
Class AllBit4
set precedence 4
Router#show class-map Shape_A
Class Map match-all Shape_A (id 36)
Match access-group name Shape_A
Router#show ip access-lists Shape_A
Extended IP access list Shape_A
10 deny icmp any any
20 permit ip any 10.0.0.0 0.0.0.255 precedence flash-override
Router#show class-map Shape_B
Class Map match-all Shape_B (id 37)
Match access-group name Shape_B
Router#show ip access-lists Shape_B
Extended IP access list Shape_B
10 deny icmp any any
20 permit ip any 172.16.0.0 0.0.255.255 precedence flash-override
Router#show class-map AllBit4
Class Map match-all AllBit4 (id 54)
Match access-group name AllBit4
Router#show ip access-lists AllBit4
Extended IP access list AllBit4
10 permit ip any any precedence flash-override
interface Port-channel50
ip address x.x.x.x x.x.x.x
service-policy output Traffic_Out
end