User Manual UMN:CLI
V5808
335
To specify a DHCP database agent and enable an automatic DHCP lease database back-
up, use the following command.
ip dhcp database A.B.C.D
INTERVAL
Specifies a DHCP database agent and back-up
interval.
A.B.C.D: DHCP database agent address
INTERVAL: 120-2147483637 (unit: second)
Deletes a specified DHCP database agent.
Upon entering the ip dhcp database command, the back-up interval will begin.
To display a configuration of the DHCP database agent, use the following command.
Shows a configuration of the DHCP database agent.
8.5.3.2 Displaying DHCP Lease Status
To display current DHCP lease status, use the following command.
show ip dhcp lease {all | bound |
abandon | offer | fixed | free}
[POOL]
Shows current DHCP lease status.
all: all IP addresses
bound: assigned IP address
abandon: illegally assigned IP address
offer: IP address being ready to be assigned
fixed: manually assigned IP address
free: remaining IP address
POOL: pool name
show ip dhcp lease detail
[A.B.C.D]
8.5.3.3 Deleting DHCP Lease Database
To delete a DHCP lease database, use the following command.
clear ip dhcp leasedb A.B.C.D/M
Deletes a DHCP lease database a specified subnet.
clear ip dhcp leasedb pool
POOL
Deletes a DHCP lease database of a specified DHCP
pool.
clear ip dhcp leasedb all
Deletes the entire DHCP lease database.
8.5.4 DHCP Relay Agent
A DHCP relay agent is any host that forwards DHCP packets between clients and servers.
The DHCP relay agents are used to forward DHCP requests and replies between clients