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
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 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

Turn your laptop into a mobile console!

The CV211 Laptop USB Console Adapter provides a direct Laptop-to-Computer connection for fast and easy remote desktop access with no software to install.

Question has a verified solution.

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

Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
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.
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…
Suggested Courses
Course of the Month10 days, 19 hours left to enroll

632 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