dhcp relay release ip
Use dhcp relay release ip to release a client IP address.
Syntax
dhcp relay release ip ip-address [ vpn-instance vpn-instance-name ]
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
ip-address: Specifies the IP address to be released.
vpn-instance vpn-instance-name: Specifies the MPLS L3VPN instance to which the specified IP address belongs. The vpn-instance-name argument is a case-sensitive string of 1 to 31 characters. If you do not specify a VPN instance, this command releases the IP address on the public network.
Usage guidelines
After you execute this command, the relay agent sends a DHCP-RELEASE packet to the DHCP server and removes the relay entry of the IP address. Upon receiving the packet, the server removes binding information about the specified IP address to release the IP address.
Examples
# Release IP address 1.1.1.1.
<Sysname> system-view [Sysname] dhcp relay release ip 1.1.1.1