08-30-2007 07:48 PM - edited 03-05-2019 06:12 PM
Hi,
Could someone please tell me what command I would use to see what port a printer or PC is connected to on a 2950 switch? I was hoping that if I had the IP or MAC address there was some command I could use to tell what port the device was connected to. Thanks.
Solved! Go to Solution.
08-30-2007 07:59 PM
08-30-2007 11:50 PM
Hi
And if you don't have the mac-address but the IP address you need to go onto the device that does the routing for that vlan and
1) sh arp | include "ip address"
This will give you the mac-address
2) sh mac-address-table address "mac-address"
HTH
Jon
08-30-2007 07:59 PM
If you have the MAC Address, type:
show mac-address-table
08-30-2007 11:50 PM
Hi
And if you don't have the mac-address but the IP address you need to go onto the device that does the routing for that vlan and
1) sh arp | include "ip address"
This will give you the mac-address
2) sh mac-address-table address "mac-address"
HTH
Jon
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: