cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
267
Views
0
Helpful
1
Replies

MAC Address Search

s-wallace
Level 1
Level 1

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 1

InayathUlla Sharieff
Cisco Employee
Cisco Employee

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

Review Cisco Networking products for a $25 gift card