< Home

smart-link manual switch

Function

The smart-link manual switch command enables the device to switch services from the active link to the standby link in a Smart Link group.

Format

smart-link manual switch

Parameters

None

Views

Smart Link group view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When the active link in a Smart Link group fails, traffic is switched to the standby link. The original active link remains blocked after recovery. Generally, a stable link is used as the active link. Therefore, after the original active link recovers, you can perform the following operations to switch traffic back to this link:

  • Enable the revertive switching of a Smart Link group. The system performs switching after the revertive switching timer times out.
  • Run the smart-link manual switch command to switch traffic back.

However, the minimum revertive switching time is 30s, and the default value is 60s. You can run the smart-link manual switch command to manually switch traffic back to the active link.

Prerequisites

To implement an active/standby switchover between links, ensure that:

  • The active interface and standby interface exist and are both in Up state.
  • Traffic is not blocked on either interface by using the smart-link command.

Precautions

Millisecond-level packet loss will occur during the switchover.

Example

# Perform an active/standby switchover between links of Smart Link group 1.

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