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-LSPs are configured.
static-cr-lsp transit lsp-name [ incoming-interface { incoming-interfacename | { incoming-interfacetype incoming-interfacenum } } ] in-label in-label { outgoing-interface { outgoing-interfacename | { outgoing-interfacetype outgoing-interfacenum } } | nexthop next-hop-address } * out-label out-label [ ingress-lsrid ingress-lsrid egress-lsrid egress-lsrid tunnel-id tunnel-id ] [ [ bandwidth { [ ct0 ] bandwidth } ] | [ pir pir ] ] *
undo static-cr-lsp transit lsp-name
Parameter | Description | Value |
---|---|---|
lsp-name |
Specifies the name of an LSP. |
The value is a string of 1 to 19 case-sensitive characters. It cannot contain spaces. However, the character string can contain spaces if it is enclosed with double quotation marks ("). |
incoming-interface incoming-interfacename |
Specifies the name of an inbound interface. |
- |
incoming-interfacetype |
Specifies the type of an inbound interface. |
- |
incoming-interfacenum |
Specifies the number of an inbound interface. |
- |
in-label in-label |
Indicates an incoming label. |
The value is an integer ranging from 16 to 32783. |
outgoing-interface outgoing-interfacename |
Specifies the name of an outbound interface. |
- |
outgoing-interfacetype |
Specifies the type of an outbound interface. |
- |
outgoing-interfacenum |
Specifies the number of an outbound interface. |
- |
nexthop next-hop-address |
Specifies the next hop address. |
This value is in dotted decimal notation. |
out-label out-label |
Specifies the outgoing label. |
The value is an integer ranging from 16 to 1048575. |
ingress-lsrid ingress-lsrid |
Specifies the ingress LSR ID. |
This value is in dotted decimal notation. |
egress-lsrid egress-lsrid |
Specifies the LSR ID of the peer node (egress). |
The value is in dotted decimal notation. |
tunnel-id tunnel-id |
Specifies the tunnel ID. |
The value is an integer ranging from 1 to 65535. |
bandwidth |
Configures bandwidth. |
- |
ct0 bandwidth |
Specifies the CT0 reserved bandwidth. |
The value is an integer ranging from 0-4000000000, in kbit/s. |
pir pir |
Specifies peak information rate (PIR) of reservable bandwidth. This parameter is mandatory when ct0 bandwidth is not set to 0. |
The value is an integer ranging from 0-4000000000, in kbit/s. The value cannot be smaller than the value of bandwidth. |
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.
<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] mpls te [*HUAWEI-mpls] quit [*HUAWEI] static-cr-lsp transit tunnel34 incoming-interface GigabitEthernet0/1/8 in-label 123 outgoing-interface GigabitEthernet0/1/0 nexthop 10.2.0.2 out-label 253 bandwidth ct0 20 pir 100