[c-nsp] 7600 lan cards output drop statistics

MKS rekordmeister at gmail.com
Fri Sep 28 04:59:45 EDT 2012


do you (or anyone) happen to have a cacti template for this ?

Regards
MKS

On Wed, Sep 26, 2012 at 3:57 PM, Peter Rathlev <peter at rathlev.dk> wrote:
> On Wed, 2012-09-26 at 15:24 +0000, MKS wrote:
>> Is there a mib for the following statistic? (drop per queue)
>>
>> sh queueing interface g3/xx
>> ...
>>  Packets dropped on Transmit:
>>
>>     queue     dropped  [cos-map]
>>     ---------------------------------------------
>>     1                    20600  [0 ]
>>     2                      620  [1 2 ]
>>     3                        0  [3 4 6 7 ]
>>     4                        0  [5 ]
>
> Yup, CISCO-SWITCH-QOS-MIB::csqIfStatsDropPkts should do the trick.
> Beware that counters are only cleared on reboot, not with "clear
> counters". The index for the list is plain ifIndex.
>
> Switch#show interfaces GigabitEthernet1/5 | incl Total output drops
>   Input queue: 0/2000/0/0 (size/max/drops/flushes); Total output drops: 1802440
> Switch#show queueing interface GigabitEthernet1/5 | begin ^  Packets dropped on Transmit
>   Packets dropped on Transmit:
>     BPDU packets:  0
>
>     queue              dropped  [cos-map]
>     ---------------------------------------------
>
>     1                       25  [0 1 ]
>     2                  1802415  [2 3 4 ]
>     3                        0  [6 7 ]
>     4                        0  [5 ]
>
>   Packets dropped on Receive:
>     BPDU packets:  0
>
>     queue              dropped  [cos-map]
>     ---------------------------------------------
>     1                        0  [0 1 2 3 4 5 6 7 ]
> Switch# show snmp mib ifmib ifindex GigabitEthernet1/5
> Interface = GigabitEthernet1/5, Ifindex = 5
> Switch#
>
> And on a management station:
>
> $ snmpbulkwalk <options> Switch CISCO-SWITCH-QOS-MIB::csqIfStatsDropPkts.5
> CISCO-SWITCH-QOS-MIB::csqIfStatsDropPkts.5.inbound.1.1 = Counter64: 0
> CISCO-SWITCH-QOS-MIB::csqIfStatsDropPkts.5.outbound.1.1 = Counter64: 25
> CISCO-SWITCH-QOS-MIB::csqIfStatsDropPkts.5.outbound.2.1 = Counter64: 1802415
> CISCO-SWITCH-QOS-MIB::csqIfStatsDropPkts.5.outbound.3.1 = Counter64: 0
> CISCO-SWITCH-QOS-MIB::csqIfStatsDropPkts.5.outbound.4.1 = Counter64: 0
> $
>
> This is from a 6500 running SXI but I assume 7600 SRx is the same.
>
> --
> Peter
>
>


More information about the cisco-nsp mailing list