[c-nsp] 75xx : QoS MIB WRED polling issue

c1sc0 at free.fr c1sc0 at free.fr
Thu Oct 21 09:00:04 EDT 2004


Hi nsp people,

I'm trying to poll the MIB QoS on a 75xx running a 12.2ML.
I would like to retrieve the figures available in the "sh pol int" CLI command
but via my mibbrowser.


Router#sh pol int se0/0/0:1.1
 Serial0/0/0:1.1: DLCI 100 -

  Service-policy output: SERVICE-POL-1

    queue stats for all priority classes:
      queue size 0, queue limit 24
      packets output 16418, packet drops 155332
      tail/random drops 224, no buffer drops 0, other drops 155108

    Class-map: class-default (match-any)
      288739 packets, 34725015 bytes
      30 second offered rate 0 bps, drop rate 0 bps
      Match: any
      queue size 0, queue limit 32
      packets output 101007, packet drops 187732
      tail/random drops 32624, no buffer drops 0, other drops 155108
      Shape: cir 128000,  Bc 1024,  Be 0
        lower bound cir 0,  adapt to fecn 0
        output bytes 10006305, shape rate 0 bps

      Service-policy : SERVICE-POL-2

[...]

        Class-map: CLASS-MAP-1 (match-any)
          5725 packets, 8610400 bytes
          30 second offered rate 0 bps, drop rate 0 bps
          Match: ip dscp default  af11
            5725 packets, 8610400 bytes
            30 second rate 0 bps
          queue size 78, queue limit 80
          packets output 168, packet drops 5557
          tail/random drops 5557, no buffer drops 0, other drops 0
          Bandwidth: 2.0%, kbps 2
          Random-detect:
            Exp-weight-constant: 9 (1/512)
            Mean queue depth: 61
            Class Random       Tail   Minimum   Maximum     Mark       Output
                    drop       drop threshold threshold  probability  packets
            0          0          0        23        69     1/20            0
            10        29       4510        27        54     1/20          168
<--- QoS ID ?!?
          Queue-limit 80

[...]


I used the script : http://psi.home.ro/apps/qos-walk.pl (thanks Tim) to identify
the QoS ID related to my class-map, and I successfully polled the packet drops
counters:

# Found service-policy 10621
# Policy 10621 is attached to IIF 65 for output
#   QoS ID 10621.10655 is using class-map CLASS-MAP-1

#snmpget -v2c -c public myrouter 1.3.6.1.4.1.9.9.166.1.15.1.1.13.10621.10655
SNMPv2-SMI::enterprises.9.9.166.1.15.1.1.13.10621.10655 = Counter32: 5557
---> tail/random drops 5557, no buffer drops 0, other drops 0
--> ok.

Now, I would like to poll the WRED counters (Randomdrop and Tail drop).

cbQosREDTailDropPkt	-->	1.3.6.1.4.1.9.9.166.1.20.1.1.8
cbQosREDRandomDropPkt	-->	1.3.6.1.4.1.9.9.166.1.20.1.1.2

I just can't find the QoS ID associated to :
the class-map "CLASS-MAP-1" --> used by the service-policy "SERVICE-POL-2"
--> used by the shaping service-policy "SERVICE-POL-1" --> applied to interface
IIF 65.

Using some black magic, I eventually found the QoS ID 10621.10663 associated to
CLASS-MAP-1.

#snmpget -v2c -c public myrouter 1.3.6.1.4.1.9.9.166.1.20.1.1.8.10621.10663.10
SNMPv2-SMI::enterprises.9.9.166.1.20.1.1.8.10621.10663.10 = Counter32: 4510

#snmpget -v2c -c public myrouter 1.3.6.1.4.1.9.9.166.1.20.1.1.2.10621.10663.10
SNMPv2-SMI::enterprises.9.9.166.1.20.1.1.2.10621.10663.10 = Counter32: 29

Any idea how this class-map and QoS ID are linked ?

Cheers,

Nic.


More information about the cisco-nsp mailing list