- Community Home
- >
- Networking
- >
- Switching and Routing
- >
- Aruba & ProVision-based
- >
- How to: Table of IP, Mac and Switch Port (2910al)
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
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
07-09-2012 01:22 AM
07-09-2012 01:22 AM
How to: Table of IP, Mac and Switch Port (2910al)
Hello Community,
is it possible to get a table of all switch-ports with connected MAC and IP adresses? Maybe there is at least something like arp-cache?
Saludos, Sebaton
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2012 07:24 PM
07-10-2012 07:24 PM
Re: How to: Table of IP, Mac and Switch Port (2910al)
The best way to get the data you're looking for is to use nmap or similar to do a ping scan and check the arp cache afterwards. On a Linux box, you could use 'nmap -sP 192.168.0.0/24' followed by 'arp -n' to get these results. Of course, if your nodes block incoming ping by default, this would not likely work. Arpwatch might be a better tool in this situation.
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2012 02:56 AM
07-11-2012 02:56 AM
Re: How to: Table of IP, Mac and Switch Port (2910al)
Hello Paul,
thank you a lot for your helpful answer. "show mac-address" and nmap output is a good way to get the information shared between two different sources. To join the information it would be grate to have csv output or similar.
--> Is there a way to get "show mac-address" and nmap output in csv?
Sebaton
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2012 05:24 AM
07-11-2012 05:24 AM
Re: How to: Table of IP, Mac and Switch Port (2910al)
copy command-output 'show mac-address' tftp
but i'm not sure whether the 2910 is one of those models. (My 3400 has only xmodem as a target for this command.)
Otherwise logging through your terminal emulator and cut & paste are your options.
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2018 11:59 AM
08-05-2018 11:59 AM
Re: How to: Table of IP, Mac and Switch Port (2910al)
I wrote a couple Python 3 tools that will help with this. They are on my github site:
I also have a python tool that will take a text file with the IP addresses from the SVIs, convert to host addresses and ping all of them to refresh the arp cache: