- Community Home
- >
- Networking
- >
- Switching and Routing
- >
- Comware Based
- >
- How to display interface index (ifindex) ?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2013 11:25 AM
04-30-2013 11:25 AM
How to display interface index (ifindex) ?
How to determine interface index & network management (NM)-specific indexes ? In Cisco CLI this is a command:
show snmp mif ifmib ifindex <interface>.
What about Comware5 analog ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2019 10:46 AM
06-24-2019 10:46 AM
Re: How to display interface index (ifindex) ?
So, this is an old thread, but it comes up when you are looking for a way to determine the port being referenced by an ifIndex number in a log file, which is what I was looking for today. Well, after a call to HPE support, I got an answer for Comware 7, which may or may not also work for Comware 5.
For this, you will need to generate a diagnostics file from the switch in question.
Note the ifIndex number in the Log file
To find the actual port with the issue, convert the ifIndex number to Hexadecimal (i.e. ifIndex 264 = hex 0x108).
Generate diagnostics from the switch if you haven't already.
If you used the GUI - Untar the diags to a text file.
Search the file for the hex number referenced. This should be on a line that also identifies the switch port in question.
It sure seems like the long way around to get to where you need to be, but it does work.