< Home

renew-time-percent rebind-time-percent

Function

The renew-time-percent rebind-time-percent command configures the percentage of the lease renewal time and the percentage of the rebinding time in the preferred lifetime of an IPv6 address pool.

The undo renew-time-percent rebind-time-percent command restores the default percentage of the lease renewal time and the default percentage of the rebinding time in the preferred lifetime of an IPv6 address pool.

By default, the percentage of the lease renewal time in the preferred lifetime of an IPv6 address pool is 50%, and the percentage of the rebinding time is 80%.

Format

renew-time-percent renew-time-percent rebind-time-percent rebind-time-percent

undo renew-time-percent rebind-time-percent

Parameters

Parameter

Description

Value

renew-time-percent

Specifies the percentage of the lease renewal time in the preferred lifetime of an IPv6 address pool.

The value is an integer that ranges from 10 to 89. The default value is 50.

rebind-time-percent

Specifies the percentage of the rebinding time in the preferred lifetime of an IPv6 address pool.

The value of rebind-time-percent must be greater than that of renew-time-percent, and the difference between the values must be greater than or equal to 10.

The value is an integer that ranges from 20 to 99. The default value is 80.

Views

IPv6 address pool view

Default Level

2: Configuration level

Usage Guidelines

You can run this command to change the lease renewal time and rebinding time in an IPv6 address pool.

When planning the lease renewal time and rebinding time, you can run the address prefix and renew-time-percent rebind-time-percent commands to configure the preferred lifetime and the percentage of the lease renewal time and the percentage of the rebinding time in the preferred lifetime respectively. If the lease renewal time and rebinding time are too short, the lease and renewal time (T1 and T2) of IPv6 addresses allocated to DHCPv6 clients by the DHCPv6 server are too short. As a result, DHCPv6 clients send lease renewal packets frequently. It is recommended that you set the lease renewal time and rebinding time based on the actual usage scenario.

Example

# Configure the percentage of the lease renewal time and the percentage of the rebinding time in the preferred lifetime of the IPv6 address pool test.

<HUAWEI> system-view
[HUAWEI] dhcpv6 pool test
[HUAWEI-dhcpv6-pool-test] renew-time-percent 55 rebind-time-percent 85
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >