"sh platform port-asic stats drop" statistics via SNMP

Answered Question
Sep 29th, 2009
User Badges:
  • Bronze, 100 points or more

Hi all,


The statistics reported via "sh platform port-asic stats drop" on a C3750 or C3560 platform, can they be polled via SNMP ?


Port-asic Port Drop Statistics - Summary

========================================

RxQueue 0 Drop Stats: 0

RxQueue 1 Drop Stats: 0

RxQueue 2 Drop Stats: 0

RxQueue 3 Drop Stats: 0


Port 0 TxQueue Drop Stats: 0

Port 1 TxQueue Drop Stats: 0

Port 2 TxQueue Drop Stats: 1546411

Port 3 TxQueue Drop Stats: 0

Port 4 TxQueue Drop Stats: 0

Port 5 TxQueue Drop Stats: 0

Port 6 TxQueue Drop Stats: 0

Port 7 TxQueue Drop Stats: 0

Port 8 TxQueue Drop Stats: 0

Port 9 TxQueue Drop Stats: 0

Port 10 TxQueue Drop Stats: 0

Port 11 TxQueue Drop Stats: 0

Port 12 TxQueue Drop Stats: 0

Port 13 TxQueue Drop Stats: 0

Port 14 TxQueue Drop Stats: 0

Port 15 TxQueue Drop Stats: 0

Port 16 TxQueue Drop Stats: 0

Port 17 TxQueue Drop Stats: 0

Port 18 TxQueue Drop Stats: 0

Port 19 TxQueue Drop Stats: 0

Port 20 TxQueue Drop Stats: 0

Port 21 TxQueue Drop Stats: 0

Port 22 TxQueue Drop Stats: 0

Port 23 TxQueue Drop Stats: 0

Port 24 TxQueue Drop Stats: 0

Port 25 TxQueue Drop Stats: 0


Supervisor TxQueue Drop Statistics

Queue 0: 0

Queue 1: 0

Queue 2: 0

Queue 3: 0

Queue 4: 0

Queue 5: 0

Queue 6: 0

Queue 7: 0

Queue 8: 0

Queue 9: 29

Queue 10: 0

Queue 11: 28942

Queue 12: 0

Queue 13: 0

Queue 14: 0

Queue 15: 0


Port-asic Port Drop Statistics - Details

========================================

RxQueue Drop Statistics

Queue 0

Weight 0 Frames: 0

Weight 1 Frames: 0

Weight 2 Frames: 0

Queue 1

Weight 0 Frames: 0

Weight 1 Frames: 0

Weight 2 Frames: 0

Queue 2

Weight 0 Frames: 0

Weight 1 Frames: 0

Weight 2 Frames: 0

Queue 3

Weight 0 Frames: 0

Weight 1 Frames: 0

Weight 2 Frames: 0

Correct Answer by Lucien Avramov about 7 years 9 months ago

Currently you can only get the accumulated drops (all queues) per port from the cportQosDropPkts object in the CISCO-PORT-QOS-MIB.


There is an enhancement request to add this feature:

CSCsc64476


Apparently there are issues with polling this via SNMP and the enhancement was therefore closed. It seems not possible to get this information over SNMP.


However you can for example enable RCMD and use RSH to get this output from a server:


http://www.cisco.com/en/US/docs/switches/lan/catalyst3750/software/release/12.2_50_se/configuration/guide/swiosfs.html

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Lucien Avramov Tue, 09/29/2009 - 13:15
User Badges:
  • Red, 2250 points or more

Currently you can only get the accumulated drops (all queues) per port from the cportQosDropPkts object in the CISCO-PORT-QOS-MIB.


There is an enhancement request to add this feature:

CSCsc64476


Apparently there are issues with polling this via SNMP and the enhancement was therefore closed. It seems not possible to get this information over SNMP.


However you can for example enable RCMD and use RSH to get this output from a server:


http://www.cisco.com/en/US/docs/switches/lan/catalyst3750/software/release/12.2_50_se/configuration/guide/swiosfs.html

Actions

This Discussion