Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

MAC Address Search

Hello,

Is there a way to search for a MAC address of a device that I'm not sure is on the network? The user is not onsite so that person doesn't know what port the device is in.

Thanks,
Seannetta

1 REPLY
Cisco Employee

MAC Address Search

Couple of things here:

1- If you know the port to which the client is connected then below is the command to check the mac address;

Switch#sh mac address-table interfaces f0/1 >>> F0/1 is the port were client is connected

          Mac Address Table

-------------------------------------------

Vlan    Mac Address       Type        Ports

----    -----------       --------    -----

   1    0060.2fa6.d402    DYNAMIC      Fa0/1 >>> MAc address is seen.

2-

Switch#sh mac-address-table  >> This will give complete mac address list with port-numbers which are connected or learned on this particular switch.

3- If you know the ip address of the client then you can get the mac address:

Switch#sh ip arp 192.168.1.1

Protocol  Address          Age (min)  Hardware Addr   Type   Interface

Internet  192.168.1.1            0   000d.28a9.d400  ARPA   Vlan20 >>>> Mac address seen.

Then to get the port of that particular mac:

sh mac address-table address  000d.28a9.d400  >> This will give you the port number on which this mac address has been learned.

HTH

Regards

Inayath

**** Plz rate if this info is helpfull.**************

110
Views
0
Helpful
1
Replies
CreatePlease login to create content