ipv6 dhcp relay release-agent
Use ipv6 dhcp relay release-agent to enable IPv6 release notification.
Use undo ipv6 dhcp relay release-agent to restore the default.
Syntax
ipv6 dhcp relay release-agent
undo ipv6 dhcp relay release-agent
Default
IPv6 release notification is disabled.
Views
Interface view
Predefined user roles
network-admin
mdc-admin
Usage guidelines
This command enables the DHCPv6 relay agent to send a Release message to the DHCPv6 server after it deletes a DHCPv6 relay entry. After the DHCPv6 server receives the message, it reclaims the IPv6 address or prefix and marks the lease as expired.
This command takes effect only after you enable the DHCPv6 relay agent and the recording of DHCPv6 relay entries on the interface.
Examples
# Enable IPv6 release notification on VLAN-interface 2.
<Sysname> system-view [Sysname] interface vlan-interface 2 [Sysname-Vlan-interface2] ipv6 dhcp select relay [Sysname-Vlan-interface2] ipv6 dhcp relay client-information record [Sysname-Vlan-interface2] ipv6 dhcp relay release-agent