DHCP Leases¶
The show lease command provides read-only access to active DHCP lease information.
show lease¶
Syntax:
WAPI: GET lease
Output fields¶
| Field | Description |
|---|---|
address |
Leased IP address |
state |
Binding state: ACTIVE, EXPIRED, RELEASED, etc. |
mac |
Hardware address |
hostname |
Client-supplied hostname (when available) |
Notes¶
Note
Lease data is read-only. ibcli provides no command to create or force-expire leases; those operations must be done through the NIOS GUI or direct WAPI calls.
Warning
On large grids, show lease without a filter can return thousands of records. The get call (no pagination)
is used for leases, so very large grids may time out. Use the specific-IP form for targeted lookups.
Download lease history¶
To download the full historical lease database (not just currently active leases), use the file operations commands:
See Files for details.
Related commands¶
- DHCP Ranges - configure the ranges that generate these leases.
- Files - download historical lease data.