cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
7774
Views
0
Helpful
4
Replies

How to find the ifindex for interfaces for Cisco ASA 5506

Hi All,

How can i find the ifindex for interfaces for Cisco ASA 5506?

My Netflow Analyzer only shows ifindex names.

4 Replies 4

bezcomservices
Level 1
Level 1

show snmp-server oidlist

thanks for your anwser, but i got a whole list and i dont see which interface have teh Ifindex?

The command lists all the usable snmp iods.

For your purposes, you will need to perform an snmpwalk on the following iods:

[12]    1.3.6.1.2.1.2.2.1.1.    ifIndex
[13]    1.3.6.1.2.1.2.2.1.2.    ifDescr

The results from the ifIndex mib will return the index id appended to the iod string.

The results from the ifDescr will return the index id along with the interface description.

If you are not familiar with SNMP or dont have access to a linux machine, this app seems to work in windows: https://www.snmpsoft.com/cmd-tools/snmp-walk/

Once your snmp permissions are configured on the ASA, you can run the following commands to get your ifindex and interface mappings:

SnmpWalk.exe -r:[IP] -c:"[COMMUNITY]" -os:1.3.6.1.2.1.2.2.1.1

SnmpWalk.exe -r:[IP] -c:"[COMMUNITY]" -os:1.3.6.1.2.1.2.2.1.2

thanks im a bit further now, in the massive output i can find the Ifindex names correct?

often got a : %Failed to get value of SNMP variable. Timeout.

Review Cisco Networking for a $25 gift card