cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
205
Views
0
Helpful
2
Replies

switching

muraripadhan
Level 1
Level 1

Dears

I have 100 Cisco switch in my network and 2000 user.

I want to trace one user/pc then how i will trace and how to know in which switch that particular user/pc is connected.

Please share with me the command and where i will give that command

Please explain me

1 Accepted Solution

Accepted Solutions

Jon Marshall
Hall of Fame
Hall of Fame

Go to the L3 switch (or router) that routes the vlan of the user ie. the device with the default gateway IP of the PC. 

Then "sh arp | include <IP address of PC>" which gives you a mac address. 

On the same device "sh mac address-table address <mac address>". 

This will then show you the port the mac address is on.

If the port is a connection to another switch you then need to connect to the other switch and run the mac address table command again. 

Repeat until you find the port. 

Jon

View solution in original post

2 Replies 2

Jon Marshall
Hall of Fame
Hall of Fame

Go to the L3 switch (or router) that routes the vlan of the user ie. the device with the default gateway IP of the PC. 

Then "sh arp | include <IP address of PC>" which gives you a mac address. 

On the same device "sh mac address-table address <mac address>". 

This will then show you the port the mac address is on.

If the port is a connection to another switch you then need to connect to the other switch and run the mac address table command again. 

Repeat until you find the port. 

Jon

Joseph W. Doherty
Hall of Fame
Hall of Fame

If supported on you platforms, this feature might help:

http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst6500/ios/15-4SY/config_guide/sup6T/15_3_sy_swcg_6T/layer2_traceroute.html?dtid=osscdc000283

Review Cisco Networking products for a $25 gift card