08-27-2007 01:34 PM - edited 03-03-2019 06:29 PM
A few of our network drop was mislabeled. I need to find out which computer is connected to a certain switch port. Please help.
Solved! Go to Solution.
08-27-2007 03:34 PM
Springman, if you have IOS base switch you can
retreave MAC address off a port from the switc arp table.
e.g. for a machine connected to port 24 do:
switch#show mac-address-table dynamic interface fastethernet0/24
For CATOS switches:
PC connected to port 12 on module 3.
switch(enable) show cam dynamic 3/12
after retreaving MAC address you can reference the arp table from your upstream routers that are directly connected to the switches to get their mapped IP address.
e.g
router#show ip arp xxxx.xxxx.xxxx
where x is the mac address you retreaved from the switches.
With this info you can then trace back from the port switch to the patch pannel .
HTH
Jorge
08-27-2007 03:39 PM
Get the MAC address of the computer connected to a certain port using the command;
On CatOS switches: show cam dynamic (port#)
On IOS switches: show mac-address-table dynamic interface (port#)
If you have a database of MAC to Computer name you could then use that information. If you don't have that info then you need to get the IP of the Computer from the ARP table on the gateway router/L3 switch by issuing the command.
Router/L3 switch:
show ip arp (mac_address)
Hopefully with the IP address you can identify the actual Computer.
HTH
Sundar
Jorge I just noticed you responded to this post barely mins before I posted. I am sure our responses should address the original poster's concern.
08-27-2007 03:34 PM
Springman, if you have IOS base switch you can
retreave MAC address off a port from the switc arp table.
e.g. for a machine connected to port 24 do:
switch#show mac-address-table dynamic interface fastethernet0/24
For CATOS switches:
PC connected to port 12 on module 3.
switch(enable) show cam dynamic 3/12
after retreaving MAC address you can reference the arp table from your upstream routers that are directly connected to the switches to get their mapped IP address.
e.g
router#show ip arp xxxx.xxxx.xxxx
where x is the mac address you retreaved from the switches.
With this info you can then trace back from the port switch to the patch pannel .
HTH
Jorge
08-27-2007 03:39 PM
Get the MAC address of the computer connected to a certain port using the command;
On CatOS switches: show cam dynamic (port#)
On IOS switches: show mac-address-table dynamic interface (port#)
If you have a database of MAC to Computer name you could then use that information. If you don't have that info then you need to get the IP of the Computer from the ARP table on the gateway router/L3 switch by issuing the command.
Router/L3 switch:
show ip arp (mac_address)
Hopefully with the IP address you can identify the actual Computer.
HTH
Sundar
Jorge I just noticed you responded to this post barely mins before I posted. I am sure our responses should address the original poster's concern.
08-28-2007 05:14 AM
Thank you all for the answer. This is exactly what I am looking for. Very helpful. Thanks a lot.
08-28-2007 05:49 AM
Im glad we could be of help, please rate all helpfull posts.
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