Using the static-cr-lsp ingress bandwidth command, you can configure a static CR-LSP and specify its bandwidth on the ingress LSR.
By default, no static CR-LSP on the ingress LSR is configured.
static-cr-lsp ingress { tunnel-interface tunnel interface-number | tunnel-name } destination destination-address { nexthop next-hop-address | outgoing-interface interface-type interface-number } * out-label out-label bandwidth { bc0 | bc1 } bandwidth
Parameter | Description | Value |
---|---|---|
tunnel-interface tunnel interface-number | Specifies the tunnel interface of a static CR-LSP. interface-number indicates the tunnel interface number. | - |
tunnel-name | Specifies the name of a CR-LSP. | The name is a string of 1 to 19 case-sensitive characters, spaces and abbreviation not supported. If you use the interface Tunnel 2 command to create a tunnel interface for a static CR-LSP, the tunnel name in the static-cr-lsp ingress command must be formatted as "Tunnel2", otherwise, the tunnel cannot be created. There is no such a limit for the transit node and egress node. |
destination destination-address | Specifies the destination IP address of a static CR-LSP. | - |
nexthop next-hop-address | Specifies the next-hop IP address of a static CR-LSP. | - |
outgoing-interface interface-type interface-number | Specifies the type and number of an outgoing interface. This parameter is only applicable to a P2P link. | - |
out-label out-label | Specifies the value of an outgoing label. | out-label is an integer ranging from 16 to 1048575. |
bc0 | Specifies BC0 bandwidth of a static CR-LSP. | - |
bc1 | Specifies BC1 bandwidth of a static CR-LSP. | - |
bandwidth | Specifies the bandwidth required by a CR-LSP. | The value ranges from 0 to 4000000000, in kbit/s. The default value is 0. |
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 Tunnel1, with the destination IP address being 10.1.3.1, the next-hop address being 10.1.1.2, the outgoing label being 237, and the required bandwidth being 20 kbit/s from BC0 on the ingress.
<HUAWEI> system-view
[HUAWEI] static-cr-lsp ingress tunnel-interface Tunnel 1 destination 10.1.3.1 nexthop 10.1.1.2 out-label 237 bandwidth bc0 20