Improve company productivity with a Business Account.Sign Up


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
Medium Priority
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 100 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 200 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 200 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

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Let’s face it: one of the reasons your organization chose a SaaS solution (whether Microsoft Dynamics 365, Netsuite or SAP) is that it is subscription-based. The upkeep is done. Or so you think.
This article explains the fundamentals of industrial networking which ultimately is the backbone network which is providing communications for process devices like robots and other not so interesting stuff.
After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

606 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