renewal-time

Function

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

The undo renewal-time command restores the default setting.

By default, the renewal time of an IP address is 50% of the lease of the IP address pool.

This command is supported only on the NetEngine 8000 F1A.

Format

renewal-time days [ hours [ minutes ] ]

undo renewal-time

Parameters

Parameter Description Value
days

Specifies the number of days for IP address renewal.

The value is an integer that ranges from 0 to 999.

hours

Specifies the number of hours for IP address renewal.

The value is an integer that ranges from 0 to 23.

minutes

Specifies the number of minutes for IP address renewal.

The value is an integer that ranges from 0 to 59.

Views

Bas IP address pool view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
ippool write

Usage Guidelines

Usage Scenario

The renewal time of an IP address must be shorter than the lease of the IP address pool and the rebinding time of the IP address.

If the value of renewal time is set to 0 after the renewal-time command is configured, the value of renewal time restores the default value. If the renewal-time command is not configured, setting the value of renewal time to 0 is meaningless.

Precautions

In VS mode, this command is supported only by the admin VS.

Example

# Set the renewal time of the IP address to 80 days in the view of the huawei IP address pool.
<HUAWEI> system-view
[~HUAWEI] ip pool huawei bas local
Info: It's successful to create an IP address pool
[*HUAWEI-ip-pool-huawei] commit
[~HUAWEI-ip-pool-huawei] renewal-time 80
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >