< Home

auto-switch cycles

Function

The auto-switch cycles command sets the upper threshold for the number of link switchover cycles.

The undo auto-switch cycles command restores the default setting.

The virtual system does not support this command.

Format

auto-switch cycles number

undo auto-switch cycles

Parameters

Parameter Description Value

number

Specifies the upper threshold of link switchover cycles.

The value is an integer ranging from 0 to 5. The default value is 3.

Views

IPSec intelligent link selection view

Default Level

2: Configuration level

Usage Guidelines

If the link quality is unqualified, the FW will implement cyclic link switchovers based on link priorities. It is assumed that four links exists and 1->2->3->4 is a complete link switchover. If the number of cyclic link switchovers reaches the upper threshold and the loop switching duration from the highest priority link to the lowest priority link is within 10 minutes, the FW stops link detection and cyclic switchovers for 10 minutes switches traffic to the link with the lowest packet loss ratio. Then, the FW starts link detection and cyclic link switchovers again.

  • If the packet loss ratio is 100% for all links, the link switchover stops at the last link.
  • If the number is set to 0, the FW will never stop the link detection and cyclic link switchovers.

Example

# Set the upper threshold of link switchover cycles to 2.

<sysname> system-view
[sysname] ipsec smart-link profile profile1
[sysname-ipsec-smart-link-profile-profile1] auto-switch cycles 2
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >