07-27-2017 10:49 PM - edited 03-08-2019 11:31 AM
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
Solved! Go to Solution.
07-28-2017 01:40 AM
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
07-28-2017 01:40 AM
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
07-28-2017 05:15 AM
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
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