< Home

hotstandby-switch

Function

The hotstandby-switch force command forcibly switches traffic from a primary CR-LSP to a hot-standby CR-LSP.

The hotstandby-switch clear command disables the forcible switchover function and switches traffic from a hot-standby CR-LSP to the primary CR-LSP.

Format

hotstandby-switch { force | clear }

Parameters

None.

Views

Tunnel interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If a hot-standby CR-LSP is established and a primary CR-LSP needs to be adjusted, run the hotstandby-switch force command to switch traffic forcibly to the hot-standby CR-LSP. After the primary CR-LSP has been adjusted, run the hotstandby-switch clear command to disable the forcible switchover function and switch traffic back to the primary CR-LSP.

Precautions

A hot-standby CR-LSP must have been established before the hotstandby-switch force command is used. If this command is run but no hot-standby CR-LSP is established, traffic will be dropped.

Example

# Forcibly switch traffic from a primary CR-LSP to a hot-standby CR-LSP.

<HUAWEI> system-view
[HUAWEI] interface tunnel 1
[HUAWEI-Tunnel1] hotstandby-switch force
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >