< Home

static-cr-lsp transit

Function

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

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

By default, no static CR-LSP on a transit LSR is configured.

Format

static-cr-lsp transit lsp-name [ incoming-interface interface-type interface-number ] in-label in-label { nexthop next-hop-address | outgoing-interface interface-type interface-number } * out-label out-label [ bandwidth [ ct0 | ct1 ] bandwidth ] [ description description ]

undo static-cr-lsp transit lsp-name

Parameters

Parameter Description Value
lsp-name Specifies the CR-LSP name. The value is a string of 1 to 19 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.
incoming-interface interface-type interface-number Specifies the incoming interface of the CR-LSP.
  • interface-type specifies the interface type.
  • interface-number specifies the interface number.
-
in-label in-label Specifies the value of an incoming label. The value is an integer that ranges from 16 to 1023.
nexthop next-hop-address Specifies the next-hop address. The value is in dotted decimal notation.
outgoing-interface interface-type interface-number Specifies the name of an outgoing interface. -
out-label out-label Specifies the value of an outgoing label. The value is an integer that ranges from 16 to 1048575.
bandwidth [ ct0 | ct1 ] bandwidth

Specifies the bandwidth values of CR-LSPs of CT0 to CT1.

The value is an integer ranges from 0 to 4000000000, in kbit/s. The default value is 0.
description description Specifies the description information. The value is a string of 1 to 63 case-sensitive characters with spaces.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Before setting up an MPLS TE tunnel through a static CR-LSP, configure a static route or an IGP to ensure connectivity between LSRs, and enable basic MPLS and MPLS TE functions. After setting up a static CR-LSP, you can run the display mpls static-cr-lsp command to ensure that the static CR-LSP is established successfully.

To modify parameters including incoming-interface interface-type interface-number, in-label in-label, nexthop next-hop-address, outgoing-interface interface-type interface-number, and out-label out-label, run the static-cr-lsp transit command to set a new value for each parameter. There is no need to run the undo static-cr-lsp transit command before modifying a value.

The configured bandwidth takes effect only during tunnel establishment and protocol negotiation, and does not limit the bandwidth for traffic forwarding. (S5720-HI does not have this restriction.)

Example

# Configure the static CR-LSP named tunnel39 with the incoming interface being VLANIF100, the incoming label being 123, the outgoing interface being VLANIF200, the outgoing label as 253.

<HUAWEI> system-view
[HUAWEI] static-cr-lsp transit tunnel39 incoming-interface vlanif 100 in-label 123 outgoing-interface vlanif 200 out-label 253 
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >