[c-nsp] Monitoring traffic by QoS class

MKS rekordmeister at gmail.com
Thu Jun 30 10:33:47 EDT 2011


Monitoring traffic by QoS class

Hi list

I have a requirement to monitor utilized bandwidth per qos class on a
interface, and to make this fun, the interface is a 10Gbps having
2gbps of bandwidth behind it.

The current policy looks like this:
So the traffic is shaped with WRED to 2gbps

policy-map WRED
  class class-default
     random-detect
     random-detect exponential-weighting-constant 12
     random-detect precedence 0 1500 3000 1
     random-detect precedence 1 3000 5000 1
     random-detect precedence 2 3200 5000 1
     random-detect precedence 3 3600 5000 1
     random-detect precedence 4 3800 5000 1
     random-detect precedence 5 4000 5000 1
     random-detect precedence 6 4200 5000 1
     random-detect precedence 7 4400 5000 1


policy-map 10gbps
  class class-default
    shape average 2000000000
   service-policy WRED

The funny thing is that when this is done on a 7600 / SIP-400 with a
10Gbps SPA then I can see (from sh policy-map interface tenx/x) the
amount(bits and pps) of traffic sent  in each class, random drop and
tail drop
But when the same is done on a 7600-ES+2TG3CXL I can only see random
drop and tail drop.
See below.
Any and all suggestions welcome


 TenGigabitEthernet8/0/0.30

  Service-policy output: 10gbps

  Counters last updated 00:00:00 ago

    Class-map: class-default (match-any)
      204668 packets, 26197504 bytes
      30 second offered rate 6980000 bps, drop rate 0000 bps
      Match: any
      Queueing
      queue limit 200000 packets
      (queue depth/total drops/no-buffer drops) 0/0/0
      (pkts output/bytes output) 865459/110778752
      shape (average) cir 2000000000, bc 8000000, be 8000000
      target shape rate 2000000000

      Service-policy : WRED

      Counters last updated 00:00:00 ago

        Class-map: class-default (match-any)
          204670 packets, 26197760 bytes
          30 second offered rate 6980000 bps, drop rate 0000 bps
          Match: any

          queue limit 200000 packets
          (queue depth/total drops/no-buffer drops) 0/0/0
          (pkts output/bytes output) 865459/110778752
            Exp-weight-constant: 12 (1/4096)
            Mean queue depth: 0 packets
            class       Transmitted         Random drop      Tail drop
         Minimum        Maximum     Mark
                    pkts/bytes            pkts/bytes       pkts/bytes
        thresh         thresh     prob

            0               0/0               0/0              0/0
           500          1400  1/1
            1               0/0               0/0              0/0
          1400          3500  1/1
            2               0/0               0/0              0/0
          1600          3500  1/1
            3               0/0               0/0              0/0
          1800          3500  1/1
            4               0/0               0/0              0/0
          2000          3500  1/1
            5               0/0               0/0              0/0
          2500          3500  1/1
            6               0/0               0/0              0/0
          2700          3500  1/1
            7               0/0               0/0              0/0
          3000          3500  1/1

vs

          queue limit 131072 packets
          (queue depth/total drops/no-buffer drops) 0/52852381/0
          (pkts output/bytes output) 2661259367988/2528275267118269
            Exp-weight-constant: 12 (1/4096)
            Mean queue depth: 0 packets
            class      Random drop      Tail drop          Minimum
   Maximum     Mark
                     pkts/bytes      pkts/bytes          thresh
 thresh     prob

            0       52852381/35826593765      0/0           500
 3000  1/1
            1            0/0              0/0               1400
  5000  1/1
            2            0/0              0/0               1600
  5000  1/1
            3            0/0              0/0               1800
  5000  1/1
            4            0/0              0/0               2000
  5000  1/1
            5            0/0              0/0               2500
  5000  1/1
            6            0/0              0/0               2700
  5000  1/1
            7            0/0              0/0               3000
  5000  1/1


More information about the cisco-nsp mailing list