08-31-2011 02:37 PM
Hi,
I would like to know that if CISCO-SWITCH-QOS-MIB is fully supported in 6506 switch or not?
The switch is QOS enabled and configured with WRR queue for interfaces, SNMP query to this MIB has no issue to get stats data
from csqIfStatsTable, but to query queue config info, such as queue bandwidth setup from csqIfQueueTable and a few other tables, it always return "no
such object", it is hard to imagine half of mib is supported and half is not, I wonder if anyone has similar problem or is it something to do with IOS software, the version it uses is 12.2(33)SXH7, RELEASE SOFTWARE (fc3).
Thanks,
Bin
08-31-2011 07:07 PM
It returns objects in 12.2(33)SXJ1. Not sure if your running into an ios issue. How are you asking for the table, are you compiling mibs during runtime?
[dafrey@HammerHead mibs]$ snmpwalk -v 2c -c tmxxxxxxx 192.168.2.x csqIfQueueTable 2>/dev/null
CISCO-SWITCH-QOS-MIB::csqIfQueueWrrWeight.1.inbound.1 = Gauge32: 100
CISCO-SWITCH-QOS-MIB::csqIfQueueWrrWeight.1.inbound.2 = Gauge32: 0
CISCO-SWITCH-QOS-MIB::csqIfQueueWrrWeight.1.outbound.1 = Gauge32: 100
CISCO-SWITCH-QOS-MIB::csqIfQueueWrrWeight.1.outbound.2 = Gauge32: 0
CISCO-SWITCH-QOS-MIB::csqIfQueueWrrWeight.1.outbound.3 = Gauge32: 0
CISCO-SWITCH-QOS-MIB::csqIfQueueWrrWeight.1.outbound.4 = Gauge32: 0
CISCO-SWITCH-QOS-MIB::csqIfQueueWrrWeight.2.inbound.1 = Gauge32: 100
CISCO-SWITCH-QOS-MIB::csqIfQueueWrrWeight.2.inbound.2 = Gauge32: 0
CISCO-SWITCH-QOS-MIB::csqIfQueueWrrWeight.2.outbound.1 = Gauge32: 100
CISCO-SWITCH-QOS-MIB::csqIfQueueWrrWeight.2.outbound.2 = Gauge32: 0
CISCO-SWITCH-QOS-MIB::csqIfQueueWrrWeight.2.outbound.3 = Gauge32: 0
CISCO-SWITCH-QOS-MIB::csqIfQueueWrrWeight.2.outbound.4 = Gauge32: 0
CISCO-SWITCH-QOS-MIB::csqIfQueueWrrWeight.3.inbound.1 = Gauge32: 100
....truncate
09-01-2011 01:04 PM
Hi dafrey,
Thanks for your reply. For the testing, I'm using exactly same command to query this MIB, it works fine for csqIfStatsTable, but NOT for csqIfQueueTable.
# snmpwalk -v 2c -c public_key 192.168.16.x csqIfStatsTable
CISCO-SWITCH-QOS-MIB::csqIfStatsDropPkts.1.inbound.1.1 = Counter64: 0
CISCO-SWITCH-QOS-MIB::csqIfStatsDropPkts.1.inbound.2.1 = Counter64: 0
CISCO-SWITCH-QOS-MIB::csqIfStatsDropPkts.1.outbound.1.1 = Counter64: 0
CISCO-SWITCH-QOS-MIB::csqIfStatsDropPkts.1.outbound.2.1 = Counter64: 0
CISCO-SWITCH-QOS-MIB::csqIfStatsDropPkts.1.outbound.3.1 = Counter64: 0
CISCO-SWITCH-QOS-MIB::csqIfStatsDropPkts.1.outbound.4.1 = Counter64: 0
......
# snmpwalk -v 2c -c public_key 192.168.16.x csqIfStatsTable (or using OID 1.3.6.1.4.1.9.9.580.1.4.5)
CISCO-SWITCH-QOS-MIB::csqIfQueueTable = No Such Object available on this agent at this OID
If I query from the top of MIB like this,
# snmpwalk -v 2c -c public_key 192.168.16.x ciscoSwitchQosMIB
a few other tables (e.g., mutation mapping/config table) have same issue. Most likely, I kind of think it is IOS relevant issue, sincec it is using V2, there is no access control for OID, but just want to be sure, do you think there is possibility that QOS mis-configuration/setup may cause this behavior?
Thanks,
Bin
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide