The static-cr-lsp ingress command configures a static CR-LSP on the ingress LSR.
The undo static-cr-lsp ingress command deletes a static CR-LSP from the ingress LSR.
By default, no static CR-LSP on the ingress LSR is configured.
static-cr-lsp ingress { tunnel-name | tunnel-interface { port-type port-num | port-name } } destination destination-address { outgoing-interface { interface-name | { interface-type interface-number } } | nexthop next-hop-address } * out-label out-label [ [ bandwidth { [ ct0 ] bandwidth } ] | [ pir pir ] ] *
undo static-cr-lsp ingress { tunnel-name | tunnel-interface { port-name | port-type port-num } }
Parameter | Description | Value |
---|---|---|
tunnel-name |
Name of the tunnel interface. |
The value is a string of 1 to 19 case-sensitive characters, spaces not supported. |
tunnel-interface |
Specifies the tunnel interface of a static CR-LSP. interface-number indicates the tunnel interface number. |
- |
port-type |
Specifies the tunnel interface of a static CR-LSP. |
- |
port-num |
Specifies the tunnel interface number of a static CR-LSP. |
- |
port-name |
Specifies the tunnel name. |
The value is a string of 1 to 63 case-sensitive characters, spaces not supported. |
destination destination-address |
Specifies the destination IP address of a static CR-LSP. |
The value is in dotted decimal notation. |
outgoing-interface interface-type interface-number |
Specifies the type and number of an outgoing interface. This parameter is only applicable to a P2P link. |
- |
nexthop next-hop-address |
Specifies the next-hop IP address of a static CR-LSP. |
The value is in dotted decimal notation. |
out-label out-label |
Specifies the value of an outgoing label. |
out-label is an integer ranging from 16 to 1048575. |
bandwidth |
Indicates the bandwidth of a static CR-LSP. |
- |
ct0 bandwidth |
Specifies the bandwidth required by a CR-LSP. |
The value ranges from 0 to 4000000000, in kbit/s. The default value is 0. |
pir pir |
Specifies the peak information rate (PIR) of the reservable bandwidth. If ct0 bandwidth is not set to 0, the PIR parameter must be set. |
The value is an integer ranging from 0 to 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:
<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] mpls te [*HUAWEI-mpls] quit [*HUAWEI] static-cr-lsp ingress Tunnel1 destination 10.1.3.1 outgoing-interface GigabitEthernet 0/1/0 nexthop 10.1.1.2 out-label 237 bandwidth ct0 20 pir 100