cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2444
Views
0
Helpful
2
Replies

Determine what port a printer or PC is connected to

rileymartin
Level 1
Level 1

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.

2 Accepted Solutions

Accepted Solutions

Edison Ortiz
Hall of Fame
Hall of Fame

If you have the MAC Address, type:

show mac-address-table

View solution in original post

Jon Marshall
Hall of Fame
Hall of Fame

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

View solution in original post

2 Replies 2

Edison Ortiz
Hall of Fame
Hall of Fame

If you have the MAC Address, type:

show mac-address-table

Jon Marshall
Hall of Fame
Hall of Fame

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

Getting Started

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:

Review Cisco Networking products for a $25 gift card