static-cr-lsp transit

Function

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.

Format

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

Parameters

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.

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 inbound interface name, incoming label value, next-hop address, outbound interface name, or outgoing label value, run the static-cr-lsp transit command to set a new value. There is no need to run the undo static-cr-lsp transit command before changing a configured value.

Prerequisites

MPLS TE has been enabled globally using the mpls te command.

Example

# Configure the static CR-LSP named tunnel34, with the incoming interface of GE0/1/8, the next-hop IP address of 10.2.0.2, the incoming label of 123, the outbound interface of GE0/1/0, the outgoing label of 253, the desired CT0 bandwidth of 20 kbit/s on a transit node.
<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
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >