This section describes how to lock an IPv6 address pool so that the address pool cannot be used to assign IPv6 addresses to new users.
An IPv6 address pool with an in-use IPv6 address cannot be deleted. Therefore, configure the drain function to lock the IPv6 address pool before you delete the address pool. After an IPv6 address pool is locked using the lock drain command, DHCP Renew or Rebind messages from online users will be discarded. The IPv6 address pool can be deleted after all online users using the address pool go offline upon lease expiry. If you only need to disable an IPv6 address pool so that the address pool will not be used to assign IPv6 addresses to new users but online users can still use assigned IPv6 addresses, configure the lock function to lock the address pool using the lock command.
The system view is displayed.
The IPv6 address pool view is displayed.
Configure the drain function to lock the IPv6 address pool.
Run lock drain
The IPv6 address pool is locked so that the address pool cannot be used to assign IPv6 addresses to new users and Renew or Rebind messages from online users using the address pool are discarded.
This command does not take effect for ND users in remote address pool scenarios.
Run commit
The configuration is committed.