- Community Home
- >
- Networking
- >
- Switching and Routing
- >
- HPE Aruba Networking & ProVision-based
- >
- Finding IP Addresses of Devices Connected to 5406z...
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
12-20-2012 07:02 AM
12-20-2012 07:02 AM
Finding IP Addresses of Devices Connected to 5406zl Switch Ports
Hello,
What is the CLI command which will yield the IP address of the device connected to a particular switch port and IP addresses connected to all switch ports?
Thanks,
Scott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2012 07:28 AM
12-20-2012 07:28 AM
Re: Finding IP Addresses of Devices Connected to 5406zl Switch Ports
hi
ProCurve Switch 3500yl-24G-PoEP# sh arp
IP ARP table
IP Address MAC Address Type Port
--------------- ----------------- ------- ----
10.0.50.1 0017c5-b0c221 dynamic 24
10.0.50.43 f0def1-e26019 dynamic 13
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2012 01:23 PM
12-20-2012 01:23 PM
Re: Finding IP Addresses of Devices Connected to 5406zl Switch Ports
That will only work if the switch has actually contacted those hosts via IP, e.g. if it is acting as their router, or if you've pinged it from the switch on the same VLAN. If routing is not turned on in the switch, the best approach is probably to use a tool like Linux nmap to ping all addresses in the VLAN, then review the MAC address table from the switch.
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2012 02:37 PM
12-20-2012 02:37 PM
Re: Finding IP Addresses of Devices Connected to 5406zl Switch Ports
paulgear is correct. What you are asking for is not actually the job of a L3 switch. The IP/MAC/Port details are transient and will appear in and time out of the switch's cache as necessary (this is just how Ethernet works and how it dynamically converges in the event of topology changes). All you can do is use different tools to gather the info you need. For example:
- An IP scan followed by "show arp"
- show mac-address
- show lldp info remote (will tell you adjacent switches/phones/misc stuff)
- show cdp neighbours (similar to above)
PRW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2014 05:34 AM
05-13-2014 05:34 AM
Re: Finding IP Addresses of Devices Connected to 5406zl Switch Ports
Works perfectly for me with nmap and sh arp [port]
Export the nmap result to file and search for the mac of the port in the export file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2015 12:45 AM
03-26-2015 12:45 AM
Re: Finding IP Addresses of Devices Connected to 5406zl Switch Ports
hi
i need to know the cli command to check the ip address connected to port 10 of hp core switch. In port 10 of core switch its a fibre cable connected to a different switch.
how to find out the ip address of the port 10
is it possible to check the connectivity of port 10 which is connected to a switch with the ip address
Biju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2017 10:23 PM
03-07-2017 10:23 PM
Re: Finding IP Addresses of Devices Connected to 5406zl Switch Ports
Hello guys try this command
show lldp info remote command
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2017 10:39 PM
03-07-2017 10:39 PM
Re: Finding IP Addresses of Devices Connected to 5406zl Switch Ports
this one works perfect
show lldp info remote-device
also theres local device
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2019 06:29 AM
06-18-2019 06:29 AM
Re: Finding IP Addresses of Devices Connected to 5406zl Switch Ports
I know this is a super old post, but none of the answers really gave me what I wanted for an Aruba Switch.
This is the command that did the trick for me:
show cdp neighbors detail
This shows each port with IP Address, MAC Address and some additional info.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2020 09:41 PM
10-05-2020 09:41 PM
Re: Finding IP Addresses of Devices Connected to 5406zl Switch Ports
Let say the switch and device that connected has different subnet
SW: 192.168.0.1
DEVICE: 10.0.0.10
# show arp
# show cdp neighbors detail
can get arp of the device, but can't get ip or subnet of it
I can't see as well in
# debug all