cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6320
Views
0
Helpful
3
Replies

snmpwalk giving error msg : end of mib

nehasingh
Level 1
Level 1

i am getting error msg : end of mib when i am running the following command in my nms for cisco router 1721:

snmpwalk 192.168.2.1 public interface

3 Replies 3

rmushtaq
Level 8
Level 8

What is the OID that you're polling on thie router?. Have you checked to see if you're using the correct snmpwalk syntax?

oid .1.3.6.1.2.1.2.1

with the same snmpwalk command i am able to see the interface no. of hp server of my network.

syntax:

snmpwalk

Do you get the same results if you swap the "interface" bit with the oid

snmpwalk 192.168.2.1 public 1.3.6.1.2.1.2.1

The reason i ask is that if you do a search on Cisco for this OID the object is called "ifNumber" and not "interface".

Worth a try.

PS Here is the link

http://tools.cisco.com/Support/SNMP/do/BrowseOID.do?local=en&translate=Translate&objectInput=1.3.6.1.2.1.2.1

Also you will need to download this MIB and install it on your NMS is you reference OID by name.

Good luck

Paddy