< Home

static-lsp egress

Function

The static-lsp egress command configures the egress node for a static LSP.

The undo static-lsp egress command deletes the configuration.

By default, no static LSP is configured for the egress node.

Format

static-lsp egress lsp-name [ incoming-interface interface-type interface-number ] in-label in-label [ lsrid ingress-lsr-id tunnel-id tunnel-id ]

undo static-lsp egress 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 interface-type interface-number Specifies the inbound interface of an LSP.
  • interface-type specifies the type of the interface.
  • interface-number specifies the number of the interface.
-
in-label Specifies the value of an incoming label. The value is an integer ranging from 16 to 1023.
lsrid ingress-lsr-id Specifies the ingress LSR ID. The value is in dotted decimal notation.
tunnel-id tunnel-id Specifies the ID of a tunnel. The value is an integer ranging from 1 to 65535.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Run the static-lsp egress command on the egress 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 incoming-interface interface-type interface-number or in-label in-label, run the static-lsp egress command to set a new value. You do not need to run the undo static-lsp egress command before changing a configured value.

Example

# Configure the local LSR as the egress node of the static LSP bj-sh, with the inbound interface of VLANIF100 and incoming label of 233.

<HUAWEI> system-view
[HUAWEI] static-lsp egress bj-sh incoming-interface vlanif 100 in-label 233
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >