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. |
100ge sub-interface view, 100GE interface view, 10GE sub-interface view, 10GE interface view, 200GE sub-interface view, 25GE sub-interface view, 25GE interface view, 400GE sub-interface view, 400GE interface view, 40GE sub-interface view, 40GE interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk sub-interface view, Eth-Trunk interface view, FlexE interface view, GE optical interface view, GE sub-interface view, GE interface view, GE electrical interface view, Global VE sub-interface view, PW-VE sub-interface view, VBDIF interface view, VE sub-interface view, VLANIF interface view
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] interface GigabitEthernet 0/1/1 [~HUAWEI-GigabitEthernet0/1/1] dhcp relay release 192.168.2.25 00e0-fc34-2000 10.110.91.174