< Home

static-lsp transit

Function

The static-lsp transit command configures the transit node for the static label switched path (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

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. A string of 1 to 19 case-sensitive characters, spaces not supported.
NOTE:
When double quotation marks are used around the string, spaces are allowed in the string.
incoming-interface Specifies the incoming interface. -
interface-type interface-number Specifies the type and number of an interface.
NOTE:

If "---" is displayed in this field in the configuration file, the configured interface is unavailable. Please modify the configuration.

next-hop-address Specifies the next-hop address. It is in dotted decimal notation.
outgoing-interface Specifies the outgoing interface. -
in-label Specifies the value of an incoming label.

An integer ranging from 16 to 4095.

out-label Specifies the value of an outgoing label. An integer ranging from 16 to 1048575

Views

System view

Default Level

2: Configuration level

Usage Guidelines

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

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

Example

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

<sysname> system-view
[sysname] static-lsp transit bj-sh incoming-interface GigabitEthernet 0/0/2 in-label 123 nexthop 10.34.114.7 out-label 253
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >