static-cr-lsp ingress

Function

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.

Format

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 } }

Parameters

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.

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mpls-te write

Usage Guidelines

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:

  • Ingress: configured using the static-cr-lsp ingress command.
  • Transit node: configured using the static-cr-lsp transit command.
  • Egress: configured using the static-cr-lsp egress command.

    To modify the destination address, next-hop address, outbound interface name, or outgoing label value, run the static-cr-lsp ingress command to set a new value. There is no need to run the undo static-cr-lsp ingress command before changing a configured value.

Example

# Configure the static CR-LSP named Tunnel1, with the destination IP address of 10.1.3.1, outbound interface of GE0/1/0, the next-hop address of 10.1.1.2, the outgoing label of 237, and the required CT0 bandwidth of 20 kbit/s on the ingress.
<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
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >