Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

get the interface index on ios based switch

hi,

how could I get the "interface index" on ios based switch like 3550 over cli?

thanks,

peter

2 REPLIES
Silver

Re: get the interface index on ios based switch

It's easier to get the Interface Index on the switches running CatOS which have the CLI command 'sh port ifindex'.

For IOS based devices, you will have to poll the SNMP MIB object ifIndex (.1.3.6.1.2.1.2.2.1.1) which will tell you the ifIndex of each interface. You can then poll the ifDescr (.1.3.6.1.2.1.2.2.1.2) to correlate the ifIndex to the corresponding interfaces.

http://www.cisco.com/warp/public/477/SNMP/5.html provides details.

New Member

Re: get the interface index on ios based switch

Anyone have an updated link for this? It is no longer valid on cco :(

240
Views
0
Helpful
2
Replies