dhcp-lease-show
This command is used to display information about DHCP leases on the switch.
Syntax dhcp-lease-show
ip ip-address |
The IP address of a DHCP client. |
mac mac-address |
The MAC address of a DHCP client. |
port port-list |
The port of a DHCP client. |
vlan vlan-id |
The VLAN for the DHCP client. |
vnet vnet name |
The vNET name. |
bd bridge-domain name |
The bridge domain name. |
db-state unknown|free|active|backup|abandoned|expired |
The state of a DHCP client’s lease. |
start-time yyyy-mm-ddThh:mm:ss |
The beginning of the DHCP lease. |
end-time yyyy-mm-ddThh:mm:ss |
The end of the DHCP lease. |
server dhcp name |
The DHCP server name. |
server-ip ip-address |
The IP address of the DHCP server. |
server-port server-port-number |
The port number of the DHCP server. |
last-msg |discover|offer|request|decline|ack|nack|release|inform |
The last message received from the DHCP client. |
last-msg-time date/time:yyyy-mm-ddThh:mm:ss |
The time of the last message received from the DHCP client. |
trusted-server|no-trusted-server |
The trusted DHCP server. |
Defaults None
Access CLI
History
Version 1.2.1 |
Command introduced. |
Version 2.6 |
The parameter trusted-server added. |
Version 5.1.1 |
The parameters vnet and bd added. |
Usage Used to display information about DHCP leases on the switch.
Examples To display information about the DHCP leases on the switch, use the following command:
CLI (network-admin@switch) > dhcp-lease-show
ip mac port vnet vlan db-state server server-ip serverport trusted-server last-msg
------------------- ----------------- ---- ---- ---- --------- ------ --------------------- -------------- -------
6053:23a7:0:0:200:: 00:12:c0:80:1f:b8 9 1 unknown 10.1.1.100 65 no offer