< Home

mpls te protection tunnel

Function

The mpls te protection tunnel command creates a tunnel protection group by binding a configured protection tunnel to a primary tunnel.

The undo mpls te protection tunnel command deletes the binding between the protection tunnel and the primary tunnel.

By default, no protection tunnel group is created.

Format

mpls te protection tunnel tunnel-id [ holdoff holdoff-time ] [ mode { non-revertive | revertive [ wtr wtr-time ] } ]

undo mpls te protection tunnel

Parameters

Parameter Description Value
tunnel-id Specifies the ID of a protection tunnel. The value is an integer that ranges from 1 to 10000.
holdoff holdoff-time Specifies the delay time. When a fault on a primary tunnel is detected, the switchover is performed after the delay time expires. The value is an integer that ranges from 0 to 100 with the step of 100 milliseconds. The maximum delay time is 10 seconds. By default, the value is 10, indicating that the switchover is performed immediately after a fault on the primary tunnel is detected.
mode Specifies the revertive mode.
  • non-revertive: The current mode cannot be switched to the original mode.
  • revertive: The current mode can be switched to the original mode.
By default, the revertive mode is used.
wtr wtr-time Specifies the WTR time for the switchback. When a primary tunnel recovers from a fault, the switchback is performed after the WRT time expires. The value is an integer ranges from 0 to 60, with the step of 30 seconds. By default, the value is 24, that is, 12 minutes.

Views

Tunnel interface view

Default Level

2: Configuration level

Usage Guidelines

In addition to configuring a tunnel protection group to protect a working tunnel, you can configure TE FRR on the working tunnel. In this manner, the working tunnel can work under dual protection. The protection tunnel, however, cannot function as the working tunnel that is protected by another tunnel. In addition, the protection tunnel cannot be enabled with TE FRR.

After creating a protection tunnel in the tunnel interface view, you must run the mpls te commit command to commit the configuration.

Tunnel protection group and TE FRR cannot be configured simultaneously on the ingress of a primary tunnel.

Example

# Configure a protection tunnel for Tunnel1.

<HUAWEI> system-view
[HUAWEI] interface tunnel 1
[HUAWEI-Tunnel1] tunnel-protocol mpls te
[HUAWEI-Tunnel1] mpls te protection tunnel 239 holdoff 100 mode revertive wtr 30
[HUAWEI-Tunnel1] mpls te commit
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >