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.
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. |
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:
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.
<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