07-02-2008 07:45 AM - edited 03-05-2019 11:57 PM
Hello I need a debug that shows which MAC they are have beeb learning for the port of switch 3750 or I need to see in logging what MAC exists in each port of the switch.
Something como sh mac-a static but I require this be dynamic and sent a console o debug.
can you help me?
07-02-2008 07:48 AM
You don't need a debug, you can use the following command(s)
show mac-address interface fastethernet0/1
If you know the IP address and want to find the MAC and which port it's plugged into-
show mac-address address [mac address]
Hope that helps
07-02-2008 07:51 AM
If you really want a debug, try debug mac-notification
07-02-2008 08:23 AM
or show mac-address dynamic to show all learned MACs on all ports in a table
07-02-2008 12:07 PM
Hello Collin,
If you know the IP address and want to find the MAC
you do sh ip arp
then on switch
sh mac-address address
if you have multiple switches you start from the core switch(es), find out the interface where the mac address has been learned and with sh cdp n
then you go in telnet/ssh to the access-layer switch repeat the command sh mac-address address
and you find the port where the device is connected to.Of course, you have just forgotten to list the sh ip arp (mistyping) but it was in your thoughts
hope to help
Giuseppe
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide