Determine Switch and Port for Cisco Switch

Unfortunately, many of our office ports are not labeled.

We have 5 Cisco Catalyst switches in the server room.

I need to be able to use the IP Address or Computer Name for a PC or laptop and determine to which switch and port # it is connected.

How can I do this?
yonbretAsked:
Who is Participating?
 
Predrag JovicConnect With a Mentor Network EngineerCommented:
Check against MAC addresses on PCs.

On switch issue:
# show mac address-table interface GiX/X/X   <----- This is per port
# sh mac address | e GiX/X/y|GiX/X/z   <---This should be for all ports on switch, where GiX/X/y|GiX/X/z are trunk ports

to add description on port
interface GiX/X/X
 description Server1

On L3 device you can check arp to see MAC - IP address relation
# show ip arp
0
All Courses

From novice to tech pro — start learning today.