Email Subscription Notifications Suspended Temporarily
We are in the process of making navigation in the Servers and Operating Systems forums simpler and more direct. While doing this, we have to temporarily suspend email notifications for subscriptions. If you are subscribed to one or more discussion boards or blogs in the community, please check them daily to see new content. Notifications will be turned back on in a few days. We apologize for any inconvenience this may cause. Thanks, Warren_Admin
Switches, Hubs, and Modems
cancel
Showing results for 
Search instead for 
Did you mean: 

What host IP address connected to port

BastiaanvH
Occasional Contributor

What host IP address connected to port

Hi,

I would like to indentify the connected host/IP address to a perticulair switch port. Is there a way to do this? By CLI or PCM?

Thank you in advance,

Bastiaan.
5 REPLIES
Lei.Ma
Frequent Advisor

Re: What host IP address connected to port

one solution is that you can add the mirror port in switch, then use sniffer to caupter the data.
the other option is that you can use PCM sflow to gather the port infomation.
or use CLI, you can use command "show ARP".

Joel Belizario
Trusted Contributor

Re: What host IP address connected to port

PCM lets you do show the neighbouring device by IP and also includes port information.

I'd recommend doing it this way if you are trying to map out lots of hosts.
OLARU Dan
Trusted Contributor

Re: What host IP address connected to port

If you want to use CLI, take the last 4 hex digits of the MAC address of the device connected to the port (show mac-address -port- =>4f4d), then go to your Inter-VLAN router and inspect the ARP table using someting like this: show arp | include 4f4d (works on a Cisco router).
Holger Hasenaug
Trusted Contributor

Re: What host IP address connected to port

For clients using DHCP you can enable DHCP-snooping on the switch and than you are able to see IP/MAC/VLAN/PORT information with the CLI command "show dhcp-snooping binding".
Paulen
Regular Advisor

Re: What host IP address connected to port

Hi,

Another way is to do 'show mac ', and use arping to ping it.

Take a look here: http://freshmeat.net/projects/arping/