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
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to