timer hello

Function

The timer hello command configures an interval at which an E-Trunk sends Hello packets.

The undo timer hello command restores the default value.

By default, the interval at which an E-Trunk sends Hello packets is 1000 ms.

Format

timer hello hello-value

undo timer hello

Parameters

Parameter Description Value
hello-value

Specifies an interval at which Hello packets are sent.

The value is an integer ranging from 5 to 100. The unit is 100 ms. By default, the value is 10.

Views

E-Trunk view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
etrunk write

Usage Guidelines

Usage Scenario

The master and backup devices in an E-Trunk exchange Hello packets periodically. If the backup device in the E-Trunk does not receive a Hello packet from the peer device before the timeout period expires, the device enters the master state. The timeout period is carried in the Hello packet sent by the peer device.

If the Hello packet sent by the peer device does not carry a timeout period, the timeout period configured on the local device takes effect.

Precautions

The formula for calculating a timeout period is as follows: Timeout period = Interval at which Hello packets are sent x Time multiplier for detecting Hello packets. To configure the time multiplier for detecting Hello packets, run the timer hold-on-failure multiplier command. The timeout period should be over 5 minutes.

Example

# Set the interval at which an E-Trunk sends Hello packets to 20.
<HUAWEI> system-view
[~HUAWEI] e-trunk 1
[*HUAWEI-e-trunk-1] timer hello 20
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >