Home > CISCO > How to Find SNMP ifIndex on Cisco Devices

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

Categories: CISCO Tags:
  1. January 15th, 2021 at 16:46 | #1

    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

  2. Daren Matthews
    January 17th, 2021 at 09:53 | #2

    @Daniel Flick

    Thanks Daniel, good idea. Using a MIB browser to see what IfDescr is used for each IfIndex. Thank you for posting.

  1. No trackbacks yet.