< Home

static-lsp transit

Function

The static-lsp transit command configures the transit node for the static LSP.

The undo static-lsp transit command deletes the configuration.

By default, the transit node for the static LSP is not configured.

Format

static-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

undo static-lsp transit lsp-name

Parameters

Parameter Description Value
lsp-name Specifies the name of an LSP. 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 Specifies the inbound interface. -
interface-type interface-number Specifies the type and number of an interface. -
next-hop-address Specifies the next-hop address. The value is in dotted decimal notation.
outgoing-interface Specifies the outbound interface. -
in-label Specifies the value of an incoming label. The value is an integer ranging from 16 to 1023.
out-label Specifies the value of an outgoing label. The value is an integer ranging from 16 to 1048575.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Run the static-lsp transit command on the transit node to configure a static LSP.

After configuring a static LSP, run the display mpls static-lsp command to verify that the static LSP is established successfully.

Precautions

To modify the parameter incoming-interface interface-type interface-number, in-label in-label, nexthop next-hop-address, outgoing-interface interface-type interface-number, or out-label out-label, run the static-lsp transit command to set a new value. You do not need to run the undo static-lsp transit command before changing a configured value.

If outgoing-interface is configured and next-hop-address is not configured, Ethernet forwarding failures occur.

Example

# Configure the LSR, with the inbound interface of VLANIF100, the incoming label of 123, and the outgoing label of 253, as the transit node of a static LSP named bj-sh.

<HUAWEI> system-view
[HUAWEI] static-lsp transit bj-sh incoming-interface vlanif 100 in-label 123 nexthop 10.1.1.1 out-label 253
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >