cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1427
Views
1
Helpful
4
Replies

Get MAC address / switch port association

IshtarTerra
Level 1
Level 1

I'm using Cisco Network Assistant. I need to locate the port of a switch associated to a MAC address (I already know the MAC address).

4 Replies 4

Hi

 Access the switch either via Console or via network using SSH/ telnet and run the command on the switch. it is simple and will allow you gether experience with Cisco IOS.

 the commnad is:

show mac-address-table "mac addres"

The port in which the mac address is associated will be on the output. Share the output here if you have any question.

BTW, what @Flavio Miranda suggests almost always works, but not always because it requires the connected device to have transmitted a frame "recently".

STD_NetWorld
Level 1
Level 1

@IshtarTerra  Ideally, we can find MAC learning port from "show mac address-table address <MAC_Address>".

If you have multiple switch are connected on cascade, you can check output of above command and if it's learning from Interface which is connected to another switch (i.e: Switch2), then login to that switch (Switch2) and run same command, that way you find last port where device connected.