mpls te reverse-lsp

Function

The mpls te reverse-lsp command configures a reverse CR-LSP for a tunnel on a specified tunnel interface.

The undo mpls te reverse-lsp command tears down a reverse CR-LSP for a tunnel on a specified tunnel interface.

By default, no reverse CR-LSP is specified in a tunnel interface view.

Format

mpls te reverse-lsp protocol rsvp-te ingress-lsr-id ingress-lsr-id tunnel-id tunnel-id

mpls te reverse-lsp protocol static lsp-name lsp-name

undo mpls te reverse-lsp

Parameters

Parameter Description Value
ingress-lsr-id ingress-lsr-id

Specifies the ingress LSR ID of a reverse CR-LSP.

The value is in dotted decimal notation.

tunnel-id tunnel-id

Specifies the tunnel ID of a reverse CR-LSP.

The value is an integer ranging from 1 to 65535.

protocol

Reverse LSP protocol.

-

static

Indicates that the protocol type is set to static for a reverse CR-LSP on a specified tunnel interface.

-

lsp-name lsp-name

Specifies the name of a reverse CR-LSP.

The value is a string of 1 to 35 case-insensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

rsvp-te

Indicates the type of a protocol based on which the reverse CR-LSP is established.

-

Views

Tunnel interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mpls-te write

Usage Guidelines

Usage Scenario

The tunnel-id must be configured before committing the tunnel configuration, or it will fail to create tunnel.

Precautions

When the label to be advertised is explicit-null and implicit-null, run the mpls te reverse-lsp command to specify a reverse RSVP-TE LSP function fails. After the undo mpls te reverse-lsp command is run, the reverse LSP in a bidirectional co-routed LSP in a protection tunnel group is torn down. As a result, the protection tunnel group becomes unavailable.

Example

# Specify a reverse CR-LSP with ingress LSR ID 1.1.1.1 and tunnel ID 100 for an existing tunnel.
<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] mpls te reverse-lsp protocol rsvp-te ingress-lsr-id 1.1.1.1 tunnel-id 100
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >