< Home

holdtime

Function

The holdtime command sets the hold time for member information in a load balancing group.

The undo holdtime command restores the default hold time for member information in a load balancing group.

By default, the hold time is 3 seconds.

The virtual system does not support this command.

Format

holdtime seconds

undo holdtime

Parameters

Parameter Description Value
seconds Specifies the timeout interval of load balancing group member information. The value is an integer that ranges from 3 to 30, in seconds.

Views

Load balancing group view

Default Level

2: Configuration level

Usage Guidelines

If the master gateway does not receive load information from a member gateway within the specified time, the master gateway deletes the member gateway from the load balancing group.

Example

# Set the timeout interval of load balancing group member information to 20s for the load balancing group group1.

<sysname> system-view
[sysname] loadgroup group1
[sysname-loadgroup-group1] holdtime 20
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >