Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Fill in the form and get your FREE NFR key NOW!

Veeam® is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Question has a verified solution.

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

How to set-up an On Demand, IPSec, Site to SIte, VPN from a Draytek Vigor Router to a Cyberoam UTM Appliance. A concise guide to the settings required on both devices
There’s a movement in Information Technology (IT), and while it’s hard to define, it is gaining momentum. Some call it “stream-lined IT;” others call it “thin-model IT.”
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. 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…

704 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