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

hi
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

thanks
nasemabdullaaAsked:
Who is Participating?
 
Karl12347Commented:
Use the following switch on your cisco switch

show mac-address-table

Hope this helps.

Karl
0
 
RPPreacherCommented:
Download the 30 day trial of Solarwinds Engineers Edition (www.solarwinds.com).

Use the switchport mapper.
0
 
nasemabdullaaAuthor Commented:
hi
thanks for your reply
can i find way to know the port without using program or must i use program

thanks
0
 
jjmartineziiiCommented:
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.
0
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.

All Courses

From novice to tech pro — start learning today.