The lock command locks the IPv6 address pool.
The undo lock command unlocks the address pool.
By default, the IPv6 address pool is unlocked.
Usage Scenario
The lock command is used on DHCPv6 servers. When a DHCPv6 server needs to be migrated, you simply need to migrate address pools on the DHCPv6 server to another DHCPv6 server on the live network. To retain the addresses that have been assigned to clients from a global address pool, run the lock command to lock the global address pool. When new users get online, they apply for IPv6 addresses from a new address pool.
Precautions
After the lock command is executed, the IPv6 address pool is locked. The locked IPv6 address pool does not assign addresses or extend address lease but only release addresses.