- Community Home
- >
- Networking
- >
- Switching and Routing
- >
- Comware Based
- >
- Re: How to display interface index (ifindex) ?
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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.
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP