Monitoring DHCP Bindings (Local Server Binding Information)

Purpose

Display DHCP local server binding information for DHCP local server clients. Optionally, specify an IP address or an interface to display binding information for a particular address or interface.

Note: This command is deprecated and might be removed completely in a future release. The function provided by this command has been replaced by the show dhcp binding command.

Action

To display DHCP local server binding information for a specific IP address:

host1#show ip dhcp-local binding 192.168.1.3
                        Dhcp Local Bindings
                        -------------------
  Address         Hardware        Lease      Interface        State
-----------   -----------------   -----   ----------------   -------
192.168.1.3   11-11-22-22-33-33   (600)   fastEthernet 5/0   expired

To display DHCP local server binding information for a specific interface:

host1#show ip dhcp-local binding interface fastethernet 5/0.2
                        Dhcp Local Bindings
                        -------------------
  Address         Hardware        Lease      Interface          State
-----------   -----------------   -----   ------------------   -------
192.168.0.6   40-00-00-0b-00-01   240     fastEthernet 5/0.2   bound
192.168.0.7   40-00-00-0c-00-01   240     fastEthernet 5/0.2   bound
192.168.1.3   11-11-22-22-33-33   (600)   fastEthernet 5/0.2   expired

Meaning

Table 118 lists the show ip dhcp-local binding command output fields.

Table 118: show ip dhcp-local binding Output Fields

Field Name

Field Description

Address

IP address

Hardware

MAC address of subscriber’s computer

Lease

Infinite, or the number of seconds in which the IP address is available; grace period is shown in parentheses for clients in a grace period

Interface

Interface whose statistics are reported

State

Binding state; expired or released state for clients currently in the grace period

Related Documentation