Determine what port a printer or PC is connected to

Answered Question
Aug 30th, 2007

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.

I have this problem too.
0 votes
Correct Answer by Jon Marshall about 9 years 4 months ago

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

Correct Answer by Edison Ortiz about 9 years 4 months ago

If you have the MAC Address, type:

show mac-address-table

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
Correct Answer
Edison Ortiz Thu, 08/30/2007 - 19:59

If you have the MAC Address, type:

show mac-address-table

Correct Answer
Jon Marshall Thu, 08/30/2007 - 23:50

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

Actions

This Discussion