static-cr-lsp egress

Function

The static-cr-lsp egress command configures a static CR-LSP on the egress LSR.

The undo static-cr-lsp egress command deletes a static CR-LSP from the egress LSR.

By default, no static CR-LSP on the egress LSR is configured.

Format

static-cr-lsp egress lsp-name-val [ incoming-interface { interface-name | interface-type interface-number } ] in-label in-label [ lsrid ingress-lsr-id tunnel-id tunnel-id ]

undo static-cr-lsp egress lsp-name-val

Parameters

Parameter Description Value
lsp-name-val

Specifies the name of LSP (Label Switched Path).

The value is a string of 1 to 19 characters.

incoming-interface

Specifies an inbound interface.

-

interface-name

Specifies the name of an inbound interface.

-

interface-type interface-number

Specifies the type and number of an inbound interface.

-

in-label in-label

Specifies the value of an incoming label.

The value is an integer and the value ranges from 16 to 32783.

lsrid ingress-lsr-id

Specifies the LSR ID of the ingress.

The value is in dotted decimal notation.

tunnel-id tunnel-id

Specifies the tunnel ID that is set on the tunnel interface of the ingress.

The value is an integer and the value ranges from 1 to 65535.

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mpls-te write

Usage Guidelines

Usage Scenario

On devices with low routing and processing performance, a static CR-LSP can be established to implement MPLS TE functions. Labels for a static CR-LSP are assigned manually. Static CR-LSP configuration involves the operations on the following types of nodes:

  • Ingress: configured using the static-cr-lsp ingress command.
  • Transit node: configured using the static-cr-lsp transit command.
  • Egress: configured using the static-cr-lsp egress command.

    To modify the value of incoming-interface interface-type interface-number and in-label in-label-value, run the static-cr-lsp egress command to set a new value. There is no need to run the undo static-cr-lsp egress command before changing a configured value.

Prerequisites

MPLS TE has been enabled globally using the mpls te command.

Precautions

To enable MPLS OAM to monitor the Trail Termination Source Identifier (TTSI) of a static CR-LSP, in addition to the static CR-LSP, configure lsrid ingress-lsr-id and tunnel-id tunnel-id in the static-cr-lsp egress command. The LSR ID and tunnel ID uniquely specify a static CR-LSP. If either the specified LSR ID or tunnel ID is different from the actual static CR-LSR parameter on the ingress, MPLS OAM considers that a TTSI error occurs and prompts a user with a configuration error message.

Example

# Configure the static CR-LSP named tunnel34 with the inbound interface being GE0/1/0, and the incoming label being 233 on the egress LSR.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] mpls te
[*HUAWEI-mpls] quit
[*HUAWEI] static-cr-lsp egress tunnel34 incoming-interface GigabitEthernet 0/1/0 in-label 233
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >