05-07-2024 07:41 AM
Hello togehter,
I need to know which Device is connected to a switch port. My starting Point is on Coreswitch where I enter:
show mac address-table | inc abcd
Output is:
show mac address-table | inc abdc
4 aaa.bbb.abcd DYNAMIC Po1
Now I stuck because I can´t get more Information about which Switch it is because
"show cdp neighbors port-channel xy details" won´t work. Does this support not any Switches or I ´am completely wrong?
or is there an other way?
Many Thanks and Regards
Ralph
Solved! Go to Solution.
05-07-2024 08:35 AM
SW1-SW2-----
in SW1 you see
show mac address-table | inc abdc
4 aaa.bbb.abcd DYNAMIC Po1 <<- this is MAC learn in VLAN 4 via PO1
NOW in SW1 if PO1 is trunk
then do
show cdp <<- check see which SW neighbor show connect via PO1
then go to that SW do
show mac address-table | inc abdc
see the MAC must appear connect to VLAN 4 and it can learn via access or trunk
MHM
05-07-2024 07:59 AM
Hi
In the 1st place try sh int port-channel 1 about 10 line down it should say what interfaces are making up the port channel, then hopefully you can use sh cdp nei for that interface , or may by sh udld x/y/z to get the name of the next switch where the mac is coming from.
05-07-2024 08:35 AM
SW1-SW2-----
in SW1 you see
show mac address-table | inc abdc
4 aaa.bbb.abcd DYNAMIC Po1 <<- this is MAC learn in VLAN 4 via PO1
NOW in SW1 if PO1 is trunk
then do
show cdp <<- check see which SW neighbor show connect via PO1
then go to that SW do
show mac address-table | inc abdc
see the MAC must appear connect to VLAN 4 and it can learn via access or trunk
MHM
05-08-2024 07:55 AM
Many Thanks to all, this works.
Ralph
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