01-20-2016 05:34 AM - edited 03-08-2019 03:28 AM
I have IP address and mac address i wanted to track down on which exactly switch and ports it the device connected also is cisco device but when i run the below commands does not show any output what could be the problems?
TAASERVER3750-1#show mac address-table address 544a.00bc.9f40
Mac Address Table
-------------------------------------------
Vlan Mac Address Type Ports
---- ----------- -------- -----
TAASERVER3750-1#show mac address-table | include 544a.00bc.9f40
TAASERVER3750-1#
How can i locate the switch and ports please?
01-20-2016 07:10 AM
Ping the ip address again so it goes into the mac/arp tables then use your commands above to trace
You can only trace macs that are live in the layer 2 tables
01-20-2016 08:21 AM
ok
i will try later but if you show ip arp
TAASERVER3750-1#show ip arp
Protocol Address Age (min) Hardware Addr Type Interface
Internet 192.168.1.98 68 90b1.1ca7.acda ARPA Vlan1
Internet 192.168.1.65 0 34e6.d70c.57d1 ARPA Vlan1
Internet 192.168.1.66 224 544a.00bc.9f40 ARPA Vlan1
Internet 192.168.1.13 0 001b.7896.6cb4 ARPA Vlan1
Internet 192.168.1.24 92 001d.e69c.dac0 ARPA Vlan1
Internet 192.168.1.20 37 0090.fb4a.99e8 ARPA Vlan1
Internet 192.168.1.23 1 001d.e6d2.ec40 ARPA Vlan1
Internet 192.168.1.22 - 001d.e629.82c0 ARPA Vlan1
Internet 192.168.1.242 128 0021.9b37.adf9 ARPA Vlan1
Internet 192.168.1.216 229 bc30.5bab.5159 ARPA Vlan1
Internet 192.168.1.161 238 782b.cbae.00ca ARPA Vlan1
Internet 192.168.1.166 192 0023.ae90.3f7e ARPA Vlan1
now i wanted to get exactly the port connected with the ip .66 and its mac address as show above in bolded
01-20-2016 08:37 AM
you should be able to once its in your arp table and complete that's exactly how you trace a layer 2 mac as below
SW1#sh mac address-table address d89d.6714.03ac
Mac Address Table
-------------------------------------------
Vlan Mac Address Type Ports
---- ----------- -------- -----
1 d89d.6714.xxxx DYNAMIC Gi0/44
Total Mac Addresses for this criterion: 1
sw1#sh ip arp d89d.6714.xxxx
Protocol Address Age (min) Hardware Addr Type Interface
Internet 189.x.x.x 189 d89d.6714.xxxx ARPA Vlan1
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