how i can know to which port in switch my computer is connect if i know the MAC address for PC

Posted on 2008-06-24
Last Modified: 2008-08-01
how i can know to which port in switch my computer is connect if i know the MAC address for PC
i mean i have many cisco 20 switch  2950-2960 in my network and i have all MAC address for all PC in my network and i want to know each PC to what port in switch is connect
now i can enter to all switch using telnet
can i find way to know each PC to what port in switch is connect
can i find way to know the port connect to which PC from MAC address for this PC

Question by:nasemabdullaa
LVL 20

Assisted Solution

RPPreacher earned 25 total points
ID: 21854330
Download the 30 day trial of Solarwinds Engineers Edition (

Use the switchport mapper.

Author Comment

ID: 21854446
thanks for your reply
can i find way to know the port without using program or must i use program


Accepted Solution

Karl12347 earned 50 total points
ID: 21854495
Use the following switch on your cisco switch

show mac-address-table

Hope this helps.

LVL 12

Assisted Solution

jjmartineziii earned 50 total points
ID: 21855441
if you do:

show mac address-table | b <your mac>

the first line should be something like this. You will have a entry for every device but using the pipe command will start the list at the mac you enter.

2    000d.601b.e2c1    DYNAMIC     Gi2/0/22

Depending on your switch IOS, you may need to use show mac-address-table and now show mac address-table.

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Fortigate 100D NTP Issue 4 51
Need to separate small office by VLAN... 3 56
RDP on 4321 Router 33 49
access vs trunk with voice vlan 2 20
From Cisco ASA version 8.3, the Network Address Translation (NAT) configuration has been completely redesigned and it may be helpful to have the syntax configuration for both at a glance. You may as well want to read official Cisco published AS…
I recently attended Cisco Live! in Las Vegas, a conference that boasted over 28,000 techies in attendance, and a week of hands-on learning hosted by a solid partner with which Concerto goes to market.  Every year, Cisco displays cutting-edge technol…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…
Both in life and business – not all partnerships are created equal. Spend 30 short minutes with us to learn:   • Key questions to ask when considering a partnership to accelerate your business into the cloud • Pitfalls and mistakes other partners…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now