- Community Home
- >
- Networking
- >
- Legacy
- >
- Switches, Hubs, Modems
- >
- vlan name <-> port number
Switches, Hubs, and Modems
1752618
Members
4242
Online
108788
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
02-09-2006 02:03 AM
02-09-2006 02:03 AM
vlan name <-> port number
Hi!
Any body saye which snmp command I can do to retrive the vlan name and port number associated?
Thanks
Leonardo
Any body saye which snmp command I can do to retrive the vlan name and port number associated?
Thanks
Leonardo
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2006 07:04 AM
02-09-2006 07:04 AM
Re: vlan name <-> port number
Hi Leonardo,
Here the command to get the vlan ID to port ifIndex association:
# walkmib hpSwitchIgmpPortVlanIndex2
hpSwitchIgmpPortVlanIndex2.1.71 = 1
hpSwitchIgmpPortVlanIndex2.1.72 = 1
hpSwitchIgmpPortVlanIndex2.10.13 = 10
hpSwitchIgmpPortVlanIndex2.10.14 = 10
hpSwitchIgmpPortVlanIndex2.10.24 = 10
hpSwitchIgmpPortVlanIndex2.10.49 = 10
hpSwitchIgmpPortVlanIndex2.50.1 = 50
hpSwitchIgmpPortVlanIndex2.50.2 = 50
The 1, 10, and 50 are the vlan IDs
The 71, 72, 13, etc are the ifIndex
And heres the command to get the ifIndex to port association:
# walkmib ifDescr
...
ifDescr.23 = A23
ifDescr.24 = A24
ifDescr.49 = C1
For example, ifIndex 49 is port C1 (and a member of VLAN 10)
Cheers
Here the command to get the vlan ID to port ifIndex association:
# walkmib hpSwitchIgmpPortVlanIndex2
hpSwitchIgmpPortVlanIndex2.1.71 = 1
hpSwitchIgmpPortVlanIndex2.1.72 = 1
hpSwitchIgmpPortVlanIndex2.10.13 = 10
hpSwitchIgmpPortVlanIndex2.10.14 = 10
hpSwitchIgmpPortVlanIndex2.10.24 = 10
hpSwitchIgmpPortVlanIndex2.10.49 = 10
hpSwitchIgmpPortVlanIndex2.50.1 = 50
hpSwitchIgmpPortVlanIndex2.50.2 = 50
The 1, 10, and 50 are the vlan IDs
The 71, 72, 13, etc are the ifIndex
And heres the command to get the ifIndex to port association:
# walkmib ifDescr
...
ifDescr.23 = A23
ifDescr.24 = A24
ifDescr.49 = C1
For example, ifIndex 49 is port C1 (and a member of VLAN 10)
Cheers
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP