Configuring the DHCP relay agent to release an IP address

About configuring the DHCP relay agent to release an IP address

Configure the relay agent to release the IP address for a relay entry. The relay agent sends a DHCP-RELEASE message to the server and meanwhile deletes the relay entry. Upon receiving the DHCP-RELEASE message, the DHCP server releases the IP address.

This command can release only the IP addresses in the recorded relay entries.

Procedure

  1. Enter system view.

    system-view

  2. Configure the DHCP relay agent to release an IP address.

    dhcp relay release ip ip-address [ vpn-instance vpn-instance-name ]