cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3057
Views
0
Helpful
4
Replies

How to trace a mac address

arakeshr
Spotlight
Spotlight

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

4 Replies 4

balaji.bandi
Hall of Fame
Hall of Fame

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.

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

arakeshr
Spotlight
Spotlight

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

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.

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Leo Laohoo
Hall of Fame
Hall of Fame

"sh etherchan 10 summary" will provide the different ports that are a member of Po 10. 

Then "sh cdp neighbor <PORT>".

Review Cisco Networking for a $25 gift card