The dhcp relay release command configures a DHCP relay agent to request a DHCP server to release a DHCP client IP address.
Parameter | Description | Value |
---|---|---|
client-ip-address |
Specifies the IP address of a DHCP client. |
The value is in dotted decimal notation. |
mac-address |
Specifies the MAC address of a DHCP client. |
The value is in the format of H-H-H. |
server-ip-address |
Specifies the IP address of a DHCP server. |
The value is in dotted decimal notation. |
Usage Scenario
To allow a DHCP relay agent to request a DHCP server to release a DHCP client IP address so that the client can log out, run the dhcp relay release command. If a DHCP server is specified, the DHCP relay agent sends a DHCP Release message only to the specified DHCP server.
Configuration Impact
If the DHCP server's IP address is not specified, the DHCP relay agent sends Release packets to all DHCP servers.
<HUAWEI> system-view [~HUAWEI] dhcp relay release 192.168.2.25 00e0-fc34-2000 10.110.91.174