Reclaim IP addresses on S series switch

Publication Date:  2016-11-24 Views:  320 Downloads:  0
Issue Description
Reclaim IP addresses on S series switch.
Solution
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.

END