< Home

Locking a DHCP Address Pool

Context

When a DHCP server is migrated, address pools on the DHCP server need to be transferred to a DHCP server on the live network. To prevent impacting clients that have obtained IP address from the to-be-migrated DHCP server, lock the address pools on the DHCP server. After the migration, new users apply for IP addresses from the new address pool.

Procedure

  1. Run the system-view command to enter the system view.
  2. Run the ip pool ip-pool-name command to enter the global address pool view.
  3. Run the lock command to lock the address pool.

    By default, address pools on a device are not locked.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >