Can I get instance identifiers without a MIB of the Cisco device?

Brendan Choi <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CANfG9P6=UmczFy38A5mJ5NEAbhV5-HPQAbPEd7ezKJp_S7Cd8Q@mail.gmail.com>
On my Cisco switch, "show snmp mib" displays a long list of instance
identifiers like "c2900PortDuplexState".

>From Cisco's website, c2900PortDuplexState has OID
1.3.6.1.4.1.9.9.87.1.4.1.1.31.

Snmpwalk on the switch shows this OID:

[root@localhost ~]# snmpwalk -v2c -c happymeal 10.10.11.254 1.3.6.1.4.1.9
.
.
SNMPv2-SMI::enterprises.9.9.87.1.4.1.1.31.0.1 = INTEGER: 3
SNMPv2-SMI::enterprises.9.9.87.1.4.1.1.31.0.2 = INTEGER: 3
SNMPv2-SMI::enterprises.9.9.87.1.4.1.1.31.0.3 = INTEGER: 3
SNMPv2-SMI::enterprises.9.9.87.1.4.1.1.31.0.4 = INTEGER: 3


Without a MIB, is there a command where I can retrieve the instance
identifiers, like "c2900PortDuplexState", from the switch? I'm asking this
mainly to better understand SNMP. I got the MIB file of the switch, but I
just want to know if/how I can get a list of all those instance identifiers
without having to logon to the switch. Thanks!

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.