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

Get MAC address / switch port association

IshtarTerra
Beginner
Beginner

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

Flavio Miranda
VIP Mentor VIP Mentor
VIP Mentor

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

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


Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Recognize Your Peers