Vyatta NOS documentation

Learn how to install, configure, and operate Vyatta Network Operating System (Vyatta NOS), which helps to drive our virtual networking and physical platforms portfolio.

show dhcp server leases

Displays current DHCP lease information.

show dhcp server leases [ expired | pool pool-name ]
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
----------       ----------------   ----------------     ----     -----------   00:12:3f:e3:af:67  2007/06/23 16:28:26  POOL1    Laptop 9