show dhcp server leases
Displays current DHCP lease information.
- expired
- Displays expired leases.
- pool pool-name
- Displays lease information for the specified address pool.
Operational mode
Use this command to display current DHCP lease information for subscribers or expired leases.
When used with no option, this command displays all current lease information. When an address pool is specified, this command displays lease information for that address pool. When the expired option is specified, only expired leases are displayed.
DHCP is configured by using service dhcp-server.
The following example shows how to display all current DHCP lease information.
vyatta@R1> show dhcp server leases
IP address Hardware Address Lease expiration Pool Client Name
---------- ---------------- ---------------- ---- -----------
192.168.11.101 00:12:3f:e3:af:67 2007/06/23 16:28:26 POOL1 Laptop 9
vyatta@R1>