Using the static-cr-lsp transit bandwidth command, you can configure a static CR-LSP and specify its bandwidth on a transit LSR.
By default, no static CR-LSP on a transit LSR is configured.
static-cr-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 bandwidth { bc0 | bc1 } bandwidth [ description description ]
Parameter | Description | Value |
---|---|---|
lsp-name | Specifies the CR-LSP name. | The name is a string of 1 to 19 case-sensitive characters, spaces not supported. |
incoming-interface interface-type interface-number | Specifies the name of an incoming interface. | - |
in-label in-label | Specifies the value of an incoming label. | An integer ranging from 16 to 1023 |
nexthop next-hop-address | Specifies the next-hop address. | - |
outgoing-interface interface-type interface-number | Specifies the name of an outgoing interface. | - |
out-label out-label | Specifies the value of an outgoing label. | An integer ranging from 16 to 1048575. |
bc0 | Obtains the bandwidth from BC0. | - |
bc1 | Obtains the bandwidth from BC1. | - |
bandwidth | Specifies the bandwidth required by a CR-LSP. | The value ranges from 0 to 4000000000, in kbit/s. The default value is 0. |
description description | Specifies the description information. | - |
Before setting up an MPLS TE tunnel through a static CR-LSP, configure a static route or an IGP to ensure connectivity between LSRs, and enable basic MPLS and MPLS TE functions.
# Configure the static CR-LSP named tunnel34, with the incoming interface being VLANIF10, the incoming label being 123, the outgoing interface being VLANIF20, the outgoing label as 253, the required BC0 bandwidth being 20 kbit/s on the transit node.
<HUAWEI> system-view
[HUAWEI] static-cr-lsp transit tunnel34 incoming-interface vlanif 10 in-label 123 outgoing-interface vlanif 20 out-label 253 bandwidth bc0 20