Cisco 7604 + RSP720 3CXL + WS-X6704-10GE QOS 打标问题

网络工程 思科 服务质量 cisco-ios-15 cisco-7600
2021-07-10 18:49:57

Cisco 7604 + RSP720 3CXL + WS-X6704-10GE,需要了解客户端有多少流量到外部资源,有多少流量到内部网络资源。

将传入流量标记为外部资源:

    interface TenGigabitEthernet3/4.AAA
 description -= WORLD =-
 encapsulation dot1Q AAA
 ip address XXX.XXX.XXX.XXX XXX.XXX.XXX.XXX
 service-policy input WORLD-IN-MARKING
 service-policy output WORLD-OUT-SHAPING
end

#sh policy-map WORLD-IN-MARKING
  Policy Map WORLD-IN-MARKING
    Class class-default
      set dscp cs1

检查通过策略映射:

#sh policy-map interface Te3/4.AAA input
 TenGigabitEthernet3/4.AAA

  Service-policy input: WORLD-IN-MARKING

    class-map: class-default (match-any)
      Match: any
      set dscp 8:
      Earl in slot 1 :
        164559208445 bytes
        5 minute offered rate 788760744 bps
        aggregate-forwarded 164559208445 bytes

bps 与图形加载界面相同。

客户端界面:

interface TenGigabitEthernet3/4.BBB
 description -= CLIENT =-
 encapsulation dot1Q BBB
 ip address YYY.YYY.YYY.YYY YYY.YYY.YYY.YYY 
 service-policy output CLIENT-W-IN
end

#sh policy-map CLIENT-W-IN
  Policy Map CLIENT-W-IN
    Class WORLD-IN
     police cir 1000000000 bc 31250000
       conform-action transmit
       exceed-action drop

检查通过策略映射:

#sh policy-map interface TenGigabitEthernet3/4.BBB
 TenGigabitEthernet3/4.BBB

  Service-policy output: CLIENT-W-IN

    class-map: WORLD-IN (match-all)
      Match:  dscp cs1 (8)
      police :
        1000000000 bps 31250000 limit 31250000 extended limit
      Earl in slot 1 :
        411124 bytes
        5 minute offered rate 2568 bps
        aggregate-forwarded 411124 bytes action: transmit
        exceeded 0 bytes action: drop
        aggregate-forward 2216 bps exceed 0 bps

    Class-map: class-default (match-any)
      0 packets, 0 bytes
      5 minute offered rate 0000 bps, drop rate 0000 bps
      Match: any

bps 显示的值远小于图形加载界面中的值。

类似的方案在 Cisco ASR1001 上运行良好。

试图标记 dscp af11,然后设置 dscp cs1 - 没有变化。

我怎样才能解决这个问题?

1个回答

上述行为是为 Cisco 76XX 平台设计的:请参阅Cisco 7600 上的 QOS 配置指南

解决了在将流量发送到本路由器之前在另一台路由器上标记流量的问题。