06-06-2006 11:15 AM - edited 03-03-2019 12:55 PM
Hi All,
I am wondering, if i can find out the IP addresses that are 'connected' to a switch port, just like i can find out the MAC Address ???
Any ideas ???
Thanks,
George
06-06-2006 11:23 AM
One way could be to determine the mac-address connected to a port and then going to your L3 next-hop (either a router or multilayer switch) and then matching this mac to an ip address by looking at the arp-cache.
06-06-2006 11:57 AM
hi George,
you can have ip address by runing the CDP and MAC address from the arp or you can say the CAM table.
regards
Devang
06-06-2006 12:12 PM
show cdp neigh detail will show you other Cisco devices connected to this switch, it will show the device's ip address, what kind of device it is, it's system name.
For non Cisco devices:
If the devices are in the same vlan as the mgmt interface (Inteface vlan x), you can do a "show arp", it will show you the ip addresses of the devices that you ping from this device.
If the devices connected are in different vlan than the mgmt interface of the switch, then you need to go to the L3 where the default gateway of the device connected to this switch is pointed to, from there you can "show arp" as well.
Please rate helpful posts.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide