rebinding-time

Function

The rebinding-time command configures the rebinding time of IP addresses.

The undo rebinding-time command restores the default configuration.

By default, the rebinding time of IP addresses is 87.5% of the lease of the address pool.

Format

rebinding-time days [ hours [ minutes ] ]

undo rebinding-time

Parameters

Parameter Description Value
days

Specifies the number of days used for rebinding IP addresses.

The value is an integer ranging from 0 to 999.

hours

Specifies the number of hours used for rebinding IP addresses.

The value is an integer ranging from 0 to 23.

minutes

Specifies the number of minutes used for rebinding IP addresses.

The value is an integer ranging from 0 to 59.

Views

IP address pool view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
dhcp write

Usage Guidelines

Usage Scenario

To configure the rebinding time of IP addresses in an address pool, run the rebinding-time command.

If the client does not receive any responses from the server before the rebinding timer expires, it considers the original DHCP server unavailable and starts to broadcast a DHCPREQUEST packet. Any DHCP server on the network can reply to this request with a DHCPACK or DHCPNAK packet.

If the client receives a DHCPACK packet, the IP address can be continuously used. If the client receives a DHCPNAK packet, a new IP address needs to be requested.

Prerequisites

An address pool has been created using the ip pool command in the system view.

Precautions

The rebinding time for an IP address must be less than the address pool lease configured using the lease command and greater than the renewal time of the IP address configured using the renewal-time command.

If rebinding-time has been configured and is reconfigured to 0, this parameter automatically restores to the default value. If rebinding-time has not been configured before, the default value is used.

Example

# Configure the rebinding time of IP addresses in an address pool huawei to 80 days.
<HUAWEI> system-view
[~HUAWEI] ip pool huawei server
[*HUAWEI-ip-pool-huawei] lease 90
[*HUAWEI-ip-pool-huawei] rebinding-time 80
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >