cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1388
Views
0
Helpful
3
Replies

How to find out ipaddress or host connected on particular L2 switch port

vinothlb1
Level 1
Level 1

How to find out ipaddress or host connected on particular L2 switch port??

3 Replies 3

Jon Marshall
Hall of Fame
Hall of Fame

Vinoth

This is a 2 step process.

1) Find the mac-address that is connected to the port ie.

sh mac-address-table interface gi0/2

2) Then you need to log on to the device that does the routing for this device which will either be a router or a L3 switch

sh arp | include

Jon

Or if you have ip dhcp snooping enabled, its easy:

sh ip dhcp snooping binding

I do it the way Jon describes. It works great.

Also a tip, if you're trying to find out where other switches connect to your core (assuming you're doing this on the core), you can do a sh int to find the mac address of that switchport, and then look for that mac address on the other switch to find out what port it connects to. Works well. I just had to map out my network doing it this way.

--John

HTH, John *** Please rate all useful posts ***
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card