DHCP binding output
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2018 03:14 PM - edited 03-08-2019 04:37 PM
How can i get mac address of devices instead of client-id ?
CORE#sh ip dhcp binding
Bindings from all pools not associated with VRF:
IP address Client-ID/ Lease expiration Type State Interface
Hardware address/User name
10.220.7.4 0100.25ab.ac4s.57 Nov 17 2018 01:16 PM Automatic Active Vlan7
10.220.8.13 016c.b749.1645.a2 Nov 17 2018 09:33 PM Automatic Active Vlan8
10.220.8.27 01e4.70b8.a487.bf Nov 17 2018 05:28 PM Automatic Active Vlan8
10.220.8.31 0100.e18d.d0ce.f1 Nov 18 2018 12:54 AM Automatic Active Vlan8
10.220.8.32 0100.ec0a.46f2.54 Nov 17 2018 07:54 PM Automatic Active Vlan8
10.220.8.40 0108.d40c.dd79.c0 Nov 17 2018 11:06 PM Automatic Active Vlan8
- Labels:
-
LAN Switching
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2018 03:39 PM
Hello,
To get the Mac addeess, just remove the 01 off the front:
016c.b749.1645.a2 = 6cb7.4916.45a2
Hope that helps!
CCIE# 60833
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2018 10:09 AM
Hello
You could also check the arp table.
sh ip arp | in 10.220
Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.
Kind Regards
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2018 11:02 AM - edited 11-17-2018 11:13 AM
Hi,
You have mentioned all MAC address in your post too.
Client ID: 0100.25ab.ac4s.57 == Mac address: 0025.abac.4s57
01 represents the Ethernet media type and the remaining bytes represent the MAC address of the DHCP client.
Regards,
Deepak Kumar
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!
