06-29-2003 11:30 PM - edited 03-02-2019 08:30 AM
hi,
how could I get the "interface index" on ios based switch like 3550 over cli?
thanks,
peter
07-07-2003 07:43 AM
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.
03-03-2004 10:01 AM
Anyone have an updated link for this? It is no longer valid on cco :(
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide