cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
471
Views
0
Helpful
3
Replies

DHCP in Router

hs08
Spotlight
Spotlight

HI..

How we can query information about DHCP leases from the cisco router? I just want to query active mac addr along with the ip address and hostname?

1 Accepted Solution

Accepted Solutions

Hello,

unfortunately, the output of 'show ip dhcp binding' is all the info you get. Hostnames are not shown using the IOS DHCP server...

R1#sh ip dhcp binding
Bindings from all pools not associated with VRF:
IP address Client-ID/ Lease expiration Type
Hardware address/
User name
192.168.1.2 0100.5079.6668.00 Dec 01 2022 08:21 AM Automatic

View solution in original post

3 Replies 3

marce1000
VIP
VIP

 

 - FYI : https://www.oreilly.com/library/view/cisco-ios-cookbook/0596527225/ch20s13.html

 M.



-- ' 'Good body every evening' ' this sentence was once spotted on a logo at the entrance of a Weight Watchers Club !

can we got client hostname for each mac addr?

Hello,

unfortunately, the output of 'show ip dhcp binding' is all the info you get. Hostnames are not shown using the IOS DHCP server...

R1#sh ip dhcp binding
Bindings from all pools not associated with VRF:
IP address Client-ID/ Lease expiration Type
Hardware address/
User name
192.168.1.2 0100.5079.6668.00 Dec 01 2022 08:21 AM Automatic

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card