recycle

Function

The recycle command configures the status of an IP address to available. Such an IP address is a reclaimed one.

Format

recycle start-ip-address [ end-ip-address ]

Parameters

Parameter Description Value
start-ip-address

Specifies the start IP address to be reclaimed.

The value is in dotted decimal notation.

end-ip-address

Specifies the end IP address to be reclaimed. If end-ip-address is not specified, only the IP address specified in start-ip-address can be reclaimed.

The value is in dotted decimal notation.

Views

IP address pool view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
dhcp execute

Usage Guidelines

Usage Scenario

When an IP address is being used by an offline client, run the recycle command to manually reclaim the IP address, preventing IP address waste.

Example

# Reclaim IP address 10.1.1.20 in an address pool named huawei.
<HUAWEI> system-view
[~HUAWEI] ip pool huawei server
[*HUAWEI-ip-pool-huawei] gateway 10.1.1.1 255.255.255.0
[*HUAWEI-ip-pool-huawei] section 1 10.1.1.1 10.1.1.255
[*HUAWEI-ip-pool-huawei] commit
[~HUAWEI-ip-pool-huawei] recycle 10.1.1.20
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >