Show IP DHCP Binding Command on CISCO Router/Switch

Command

Show IP DHCP Binding

Use

This command lists the addresses that the DHCP service on a router has assigned.

Syntax

Router#show ip dhcp binding

Example

In the below example we configure R1’s Fa0/0 to use DHCP.

R1(config)#int fa0/0
R1(config-if)#ip address dhcp
R1(config-if)#
*Mar 1 01:39:29.295: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 10.1.1.2 (FastEthernet0/0) is down: interface down
R1(config-if)#
*Mar 1 01:39:40.455: %DHCP-6-ADDRESS_ASSIGN: Interface FastEthernet0/0 assigned DHCP address 10.1.1.1, mask 255.255.255.0, hostname R1

R1(config-if)#
*Mar 1 01:39:42.143: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 10.1.1.2 (FastEthernet0/0) is up: new adjacency

Then we verify the lease information with show ip dhcp binding.

R2#show ip dhcp binding
Bindings from all pools not associated with VRF:
IP address Client-ID/ Lease expiration Type
Hardware address/
User name
10.1.1.1 0063.6973.636f.2d63. Mar 02 2002 02:10 AM Automatic
6330.312e.3037.3530.
2e30.3030.302d.4661.
302f.30

Related Articles

Leave a Reply

avatar