< Home

smart-link hold-time

Function

The smart-link hold-time command sets the holdtime for reporting the Interface-Up or Interface-Down event in a Smart Link group.

The undo smart-link hold-time command deletes the holdtime for reporting the Interface-Up or Interface-Down event in a Smart Link group.

By default, a port-Up or port-Down event is reported immediately.

Format

smart-link hold-time hold-time

undo smart-link hold-time [ hold-time ]

Parameters

Parameter

Description

Value

hold-time

Specifies the holdtime for reporting the Interface-Up or Interface-Down event in a Smart Link group.

The value is an integer that ranges from 0 to 60, in 100 ms.

Views

Smart Link group view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If services are frequently switched between links in a Smart Link group because of temporary link disconnection, packets may be lost and system performance deteriorates. To prevent frequent switchover caused by temporary link disconnection, run the smart-link hold-time command to set the holdtime for reporting an Interface-Up or Interface-Down event. When the member interfaces of the Smart Link group alternate between Up and Down, the Smart Link group waits until the holdtime expires, and then triggers a switchover.

Prerequisites

A Smart Link group has been created using the smart-link group command.

Precautions

If you run the smart-link hold-time command multiple times in the same Smart Link group view, only the latest configuration takes effect.

Example

# Set the holdtime of Smart Link failover in Smart Link group 1 to 300 ms.

<HUAWEI> system-view
[HUAWEI] smart-link group 1
[HUAWEI-smlk-group1] smart-link hold-time 3
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >