cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
550
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.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

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

Review Cisco Networking for a $25 gift card