01-05-2023 11:57 PM
Hi all,
Good Day...
I have a destination Ip ex.10.10.19.44,i want to find user a which switch port is connected.
i did like a
SW1#sh ip arp 10.10.19.44
Protocol Address Age (min) Hardware Addr Type Interface
Internet 10.10.19.44 53 a0d3.c120.bw21 ARPA Vlan19
and i did like below
SW1#sh mac address-table address a0d3.c120.b9d7
Mac Address Table
-------------------------------------------
Vlan Mac Address Type Ports
---- ----------- -------- -----
19 a0d3.c120.bw21 DYNAMIC Po10
from onwards ,EtherChannel came into picture, I do not know how to find out from this. Please clarify how to find out which switch is connected and which port connected by end user.
Thanks
Rakesh
01-06-2023 12:08 AM
If the device support you can do a mac traces from the source.
#traceroute mac xxxxxx xxxxxxxxx
if this is one time that is the easiest way, if you have any tools like ISE, that can give you more visibility on the network
or you can make own Python script to get MAC address table using SNMP and grep what MAC and Port.
01-06-2023 12:29 AM
Hi Balaji,
Thanks for replay.
I thought this works on the specified source and destination addresses belong to the same VLAN,if there are in different vlans..how we find that user access port.
Thanks
Rakesh
01-06-2023 02:20 AM
depends on network
you see ip arp in the L3 Switch, thats where your Gateway resides, so that VLAN extended all the way until Core switch right.
so that segment is same VLAN right ? if you use source MAC as that vlan MAC.
as i mentioned before :
if this is one time that is the easiest way, if you have any tools like ISE, that can give you more visibility on the network
or you can make own Python script to get MAC address table using SNMP and grep what MAC and Port.
01-06-2023 02:58 AM
"sh etherchan 10 summary" will provide the different ports that are a member of Po 10.
Then "sh cdp neighbor <PORT>".
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