reset ip pool { interface interface-name | name ip-pool-name } { start-ip-address [ end-ip-address ] | all | conflict | expired | used }
Parameter |
Description |
Value |
---|---|---|
interface interface-name |
Specifies the name of the interface address pool to be reset, which is represented by the type and number of an interface. |
The value is a string of 1 to 64 characters without spaces. A combination of digits, letters, underscores (_), and dots (.) is allowed. |
name ip-pool-name |
Specifies the name of the global address pool to be reset. |
The value is a string of 1 to 64 characters without spaces. A combination of digits, letters, underscores (_), and dots (.) is allowed. |
start-ip-address |
Specifies the start IP address of the IP address pool to be reset. |
The value is in dotted decimal notation. |
end-ip-address |
Specifies the end IP address of the IP address pool to be reset. |
The value is in dotted decimal notation. |
all |
Indicates that all the IP addresses need to be reset. |
- |
conflict |
Indicates that the conflicting IP addresses need to be reset. |
- |
expired |
Indicates that the expired IP addresses need to be reset. |
- |
used |
Indicates that the used IP addresses need to be reset. |
- |
Usage Scenario
The reset ip pool command resets the IP addresses that cannot be released in an IP address pool. If an IP address conflict occurs because two clients use the same IP address, run the reset ip pool command to reset the specified IP address pool.
Precautions
If a user's IP address is within the IP address range specified when this command is run, the user cannot continue to use the IP address after this command is run, and needs to send an IP address application request again.
The address pool status cannot be restored after this command is run. Therefore, exercise caution when deciding to run this command.
User information cannot be restored after you clear it. Exercise caution when running the reset ip pool command. DHCP clients must release their old IP addresses before obtaining new IP addresses.
Follow-up Procedure
After the address pool is set to idle, the client can obtain an IP address from the global address pool.