On S series switches except S1700 switches, IP addresses that fail to be released in an IP address pool can be reclaimed. The reclaimed IP addresses enter the idle state and can be assigned to clients again. The reset ip pool { interface pool-name | name ip-pool-name } { start-ip-address [ end-ip-address ] | all | conflict | expired | used } command reclaims the conflicting, expired, and used IP addresses.
For example, you can reclaim IP address 10.1.1.5 that has been assigned to a client and bound to the client's MAC address as follows:
- For a global address pool: < HUAWEI> reset ip pool name pool1 used //Reclaim the IP addresses in use. < HUAWEI> system-view //If an IP address is not bound to any MAC address, skip the following operation. [HUAWEI] ip pool pool1 [HUAWEI-ip-pool-pool1] undo static-bind ip-address 10.1.1.5 //Unbind the IP address from the MAC address.
- For an interface address pool: < HUAWEI> reset ip pool interface vlanif100 used //Reclaim the IP addresses in use. < HUAWEI> system-view //If an IP address is not bound to any MAC address, skip the following operation. [HUAWEI] interface vlanif 100 [HUAWEI-Vlanif100] undo dhcp server static-bind ip-address 10.1.1.5 //Unbind the IP address from the MAC address.
After the preceding commands are executed, a user may be disconnected if its IP address is within the address range specified in this command.
Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
Politically sensitive content
Content concerning pornography, gambling, and drug abuse
Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."