Doing "show snmp mib" lists all the instance identifiers on my Cat2950, one of them is "c2900PortDuplexState".
c2900PortDuplexState has OID 126.96.36.199.188.8.131.52.184.108.40.206.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 220.127.116.11.4.1.9
SNMPv2-SMI::enterprises.18.104.22.168.22.214.171.124.0.1 = INTEGER: 3
SNMPv2-SMI::enterprises.126.96.36.199.188.8.131.52.0.2 = INTEGER: 3
SNMPv2-SMI::enterprises.184.108.40.206.220.127.116.11.0.3 = INTEGER: 3
SNMPv2-SMI::enterprises.18.104.22.168.22.214.171.124.0.4 = INTEGER: 3
SNMPv2-SMI::enterprises.126.96.36.199.188.8.131.52.0.5 = INTEGER: 3
SNMPv2-SMI::enterprises.184.108.40.206.220.127.116.11.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?
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: