Monday, January 12, 2009

Qos MIB would not respond to snmp get or snmp walks in the absence of QoS configuration.

Issue: Qos MIB would not respond to snmp get or snmp walks in the absence of QoS configuration.

Vendor: CISCO

Execution: CLI

Installation: Parsing of mib is required for translation in the NMS.

Support: Vendor


Recently, one of my friend called up with interesting issue. "CISCO-CLASS-BASED-QOS-MIB.my", would not respond on 6k series... Well after much ado, and testing, it was simple issue. QoS was not configured on the device...

Well, as this issue did not jump at me, I thought, why not to share with you guys..

Configure QoS on the router and you will get them in walk.
Let me know the outcome...

Test conducted:
Walk on the router without QoS.
OID not available: .1.3.6.1.4.1.9.9.166
R1#show policy-map interface fa1/0 output
R1#

C:\usr\bin>snmpwalk.exe -v 1 -c ORARO 192.168.208.137 .1.3.6.1.4.1.9.9.166

C:\usr\bin>

Walk on the router with QoS.
OID available: .1.3.6.1.4.1.9.9.166
R1#show policy-map interface fa1/0 output FastEthernet1/0

Service-policy output: QoS

Class-map: ICMP (match-all)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: protocol icmp
police:
cir 8000 bps, bc 1500 bytes
conformed 0 packets, 0 bytes; actions:
transmit
exceeded 0 packets, 0 bytes; actions:
drop
conformed 0 bps, exceed 0 bps

Class-map: class-default (match-any)
11 packets, 1097 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: any
R1#

C:\Documents and Settings\Administrator>cd c:\usr\bin

C:\usr\bin>snmpwalk.exe -v 1 -c ORARO 192.168.208.137 .1.3.6.1.4.1.9.9.166 SNMPv2-SMI::enterprises.9.9.166.1.1.1.1.2.50 = INTEGER: 1 SNMPv2-SMI::enterprises.9.9.166.1.1.1.1.3.50 = INTEGER: 2 SNMPv2-SMI::enterprises.9.9.166.1.1.1.1.4.50 = INTEGER: 3 SNMPv2-SMI::enterprises.9.9.166.1.1.1.1.5.50 = INTEGER: 0 SNMPv2-SMI::enterprises.9.9.166.1.1.1.1.6.50 = Gauge32: 0 SNMPv2-SMI::enterprises.9.9.166.1.1.1.1.7.50 = Gauge32: 0
####OUTPUT OMITTED FOR BREVITY####

C:\usr\bin>



:)

No comments:

Post a Comment