How to Find SNMP ifIndex on Cisco Devices
IOS:
show snmp mib ifmib ifindex
IOS XR:
show snmp interface
Nexus5K:
show interface snmp-ifindex
CatOS:
show ifindex
show port ifindex
IOS:
show snmp mib ifmib ifindex
IOS XR:
show snmp interface
Nexus5K:
show interface snmp-ifindex
CatOS:
show ifindex
show port ifindex
For an ASA, there is no way to do it locally but this works:
snmpwalk -v2c -c 10.102.52.14 1.3.6.1.2.1.2.2.1.2
snmpwalk -v3 -l authPriv -u -a SHA -A “PASSWORD1” -x AES -X “PASSWORD1” 1.3.6.1.2.1.2.2.1.2
@Daniel Flick
Thanks Daniel, good idea. Using a MIB browser to see what IfDescr is used for each IfIndex. Thank you for posting.