mpls te bit-error-detection

Function

The mpls te bit-error-detection command enables bit-error-triggered RSVP-TE tunnel switching.

The undo mpls te bit-error-detection command disables bit-error-triggered RSVP-TE tunnel switching.

By default, bit-error-triggered RSVP-TE tunnel switching is disabled.

Format

mpls te bit-error-detection mode { unidirectional | bidirectional }

mpls te bit-error-detection

undo mpls te bit-error-detection

Parameters

Parameter Description Value
unidirectional

Indicates unidirectional switching. A tunnel with TE hot standby protection supports primary/backup LSP switchovers. In unidirectional switching mode, a tunnel performs a primary/backup LSP switchover only when the current unidirectional tunnel encounters a bit error event.

-

bidirectional

Indicates bidirectional switching. A tunnel with TE hot standby protection supports primary/backup LSP switchovers. In bidirectional switching mode, a tunnel performs a primary/backup LSP switchover no matter whether the current unidirectional tunnel or its reverse tunnel encounters a bit error event.

-

mode

Indicates the switching type. Bidirectional switching is used by default.

-

Views

Tunnel interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mpls-te write

Usage Guidelines

Usage Scenario

In a scenario in which an RSVP-TE tunnel with TE hot standby protection carries services, bit errors may result in the interruption of services with high quality requirements. To resolve this problem, configure bit-error-triggered RSVP-TE tunnel switching. Then, if an interface along the RSVP-TE tunnel encounters a bit error event, the RSVP-TE tunnel switches traffic between its primary and backup CR-LSPs based on the bit error status of the CR-LSPs to ensure service transmission quality.

Prerequisites

The mpls rsvp-te command has been run in the MPLS view to enable RSVP-TE.

Precautions

Before establishing each unidirectional RSVP-TE tunnel, you must run the label advertise non-null command to enable the egress of each unidirectional tunnel to allocate a non-null label to the penultimate hop. Otherwise, the mpls te bit-error-detection command cannot take effect.

Example

# Enable bit-error-triggered RSVP-TE tunnel switching on Tunnel10 and specify the switching mode as unidirectional.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] mpls te
[*HUAWEI-mpls] mpls rsvp-te
[*HUAWEI-mpls] quit
[*HUAWEI] interface Tunnel 10
[*HUAWEI-Tunnel10] tunnel-protocol mpls te
[*HUAWEI-Tunnel10] destination 1.1.1.1
[*HUAWEI-Tunnel10] mpls te tunnel-id 10
[*HUAWEI-Tunnel10] mpls te bit-error-detection mode unidirectional
[*HUAWEI-Tunnel10] mpls te reverse-lsp protocol rsvp-te ingress-lsr-id 1.1.1.1 tunnel-id 100
# Enable bit-error-triggered RSVP-TE tunnel switching on Tunnel10 and specify the switching mode as bidirectional.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] mpls te
[*HUAWEI-mpls] mpls rsvp-te
[*HUAWEI-mpls] quit
[*HUAWEI] interface Tunnel 10
[*HUAWEI-Tunnel10] tunnel-protocol mpls te
[*HUAWEI-Tunnel10] destination 1.1.1.1
[*HUAWEI-Tunnel10] mpls te tunnel-id 10
[*HUAWEI-Tunnel10] mpls te bit-error-detection
[*HUAWEI-Tunnel10] mpls te reverse-lsp protocol rsvp-te ingress-lsr-id 3.3.3.3 tunnel-id 100
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >