Doing "show snmp mib" lists all the instance identifiers on my Cat2950, one of them is "c2900PortDuplexState".
c2900PortDuplexState has OID 1.3.6.1.4.1.9.9.87.1.4.1.1.31.
When I do snmpwalk from my host, I get the OID numbers from the switch.
[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
SNMPv2-SMI::enterprises.9.9.87.1.4.1.1.31.0.5 = INTEGER: 3
.
.
SNMPv2-SMI::enterprises.9.9.87.1.4.1.1.31.0.26 = INTEGER: 3
This means the Cat2950 knows it's instance identifiers and also the OID #'s.
So is there an IOS command that shows the OID #'s? I think there is "snmp get" on newer platforms?
And is there a host tool/command like snmpwalk that can get the instance identifiers, like "c2900PortDuplexState", without any MIB's?