Method to lock a DHCP address on an S series switch

For S series switches excluding the S1700, when the DHCP server is deployed again, you need to migrate the address pool on the DHCP server to another DHCP 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. After the lock command is run, the specified IP address pool is locked and IP addresses in this address pool cannot be assigned to clients. When new users get online after the address pool is migrated, they apply for IP addresses from a new address pool.
The configuration is as follows:
[HUAWEI] ip pool global1
[HUAWEI-ip-pool-global1] lock

Scroll to top