- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Labels:
-
Other Switching
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2016 10:46 AM
Gentlemen
Thank you very much, that was it..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2017 03:50 AM
could you tell me the command or the way to find the Switch port or mac address if you only have ip address.
regards
Star
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2018 01:58 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2018 02:22 AM
Hello Patrick,
Thank you for the reply.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2019 09:36 PM
how to config switch as long ip & gateway are configured
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2022 08:17 PM
thanks guy ! it helped me a lot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2018 02:24 AM
Use this command, show mac address inter g1/0/x
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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>
