06-07-2016 08:58 AM - edited 03-08-2019 06:06 AM
Can someone show me the commands to find a mac-address on a switch and if I know the port I am looking to find it on, also how i find the IP address on that port
Solved! Go to Solution.
06-07-2016 09:05 AM
sh mac address-table interface gigabitEthernet x/x
Then on layer 3 device to resolve it to ip address take the mac from above and run
show ip arp x.x.x
06-07-2016 09:05 AM
sh mac address-table interface gigabitEthernet x/x
Then on layer 3 device to resolve it to ip address take the mac from above and run
show ip arp x.x.x
06-07-2016 09:23 AM
you don't need layer 3 device, will work fine on layer 2 switch as long ip & gateway are configured.
For eg. on Cisco 2960G switch.
c2960#sh mac address-table interface gi0/3
Mac Address Table
-------------------------------------------
Vlan Mac Address Type Ports
---- ----------- -------- -----
32 68b5.99fc.d1df DYNAMIC Gi0/3
Total Mac Addresses for this criterion: 1
c2960#sh ip arp 68b5.99fc.d1df
Protocol Address Age (min) Hardware Addr Type Interface
Internet 10.10.32.6 0 68b5.99fc.d1df ARPA Vlan32
c2960#
06-07-2016 10:46 AM
Gentlemen
Thank you very much, that was it..
08-23-2017 03:50 AM
06-04-2018 01:58 PM
06-05-2018 02:22 AM
Hello Patrick,
Thank you for the reply.
05-01-2019 09:36 PM
how to config switch as long ip & gateway are configured
03-17-2022 08:17 PM
thanks guy ! it helped me a lot.
06-05-2018 02:24 AM
Use this command, show mac address inter g1/0/x
08-15-2019 10:35 AM
Mac address to IP address on Layer 3 switch -
#sh ip arp | include <all or last 4 of mac address>
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