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.
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. |
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.