E-DOC-CTC-20061027-0003v2.0
DHCP Commands
157
dhcp server lease delete
Delete a DHCP server lease.
SYNTAX:
where:
EXAMPLE:
RELATED COMMANDS:

dhcp server lease delete [clientid = <clientid | none>]

[index = <number>]
clientid The DHCP client identification string of the DHCP lease.
Note If not specified, all DHCP clients are deleted.
OPTIONAL
index The DHCP server lease table index.
Tip Use the command :dhcp server lease list to
obtain a list of the index numbers of all current
DHCP leases.
OPTIONAL
=>dhcp server lease list
Lease Pool TTL State Clientid
0 0.0.0.0 dhcp_pool_1 00:26:40 FREE 00:90:D0:12:34:56
1 10.0.0.1 local_pool 00:59:22 USED 01:23:45:67:89:AB
=>dhcp server lease delete index=0
=>dhcp server lease list
Lease Pool TTL State Clientid
1 10.0.0.1 local_pool 00:59:22 USED 01:23:45:67:89:AB
=>
dhcp server lease add Add a DHCP server lease.
dhcp server lease list List all the DHCP server leases.