Determine what port a printer or PC is connected to

Answered Question
Aug 30th, 2007
User Badges:

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.

Correct Answer by Jon Marshall about 9 years 9 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 9 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
User Badges:
  • Super Bronze, 10000 points or more
  • Hall of Fame,

    Founding Member

If you have the MAC Address, type:


show mac-address-table



Correct Answer
Jon Marshall Thu, 08/30/2007 - 23:50
User Badges:
  • Super Blue, 32500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

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