- Community Home
- >
- Networking
- >
- Switching and Routing
- >
- HPE Aruba Networking & ProVision-based
- >
- Finding MAC Addresses OF HP 2510 Switchports
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
Forums
Discussions
Discussions
Forums
Discussions
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
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
12-21-2020 10:43 AM
12-21-2020 10:43 AM
Finding MAC Addresses OF HP 2510 Switchports
Hello!
I am doing some Network Mapping/Planning for my company and trying to gather a list of ALL interconnected MAC Addresses within our network. I have a mix of HP switches including the HP 2510, HP 2530 I am having a problem specifcally with the HP 2510 models.
Typically I get the Learned MAC Addresses table and the Interface's information (the commands used are "show mac-address" and "show interfaces all" respectively) along the LLDP or CDP neighbors to find out what each device, where it is connected, and how.
The problem I have is that the "show interfaces all" command for my HP 2510s does not seem to list the MAC address OF the port but for every model of HP past that one the command works.
Does anyone have any ideas on how to find the MAC for the SWITCHPORT itself.
Thanks in advance for your help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2020 11:32 PM
12-21-2020 11:32 PM
Re: Finding MAC Addresses OF HP 2510 Switchports
Hello @SageParrot
You can use the following commands to view the MAC addresses of every switch port.
ProCurve Switch 2510-24# walkMIB ifPhysAddress
If you have issues mapping the indices to interfaces (for example VLAN interfaces) you can use also the OID ifDescr in the same command.
ProCurve Switch 2510-24# walkMIB ifDescr ifPhysAddress
Of course an SNMP monitoring tool can also pull this values using SNMP.
The MAC address assigned to each switch port is used internally by such features as Flow Control and the spanning-tree protocol.
