forward (Static bidirectional co-routed transit view)

Function

The forward command configures the forward LSP of a static bidirectional co-routed LSP on a transit node.

The undo forward command cancels the configuration.

By default, no forward LSP is configured on the static bidirectional co-routed LSP on a transit node.

Format

forward in-label in-label-value nexthop next-hop-address outgoing-interface { interface-name | { interface-type interface-number } } out-label out-label-value [ [ bandwidth ct0 bandwidth ] | [ pir pir ] ] *

forward in-label in-label-value outgoing-interface { interface-name | { interface-type interface-number } } nexthop next-hop-address out-label out-label-value [ [ bandwidth ct0 bandwidth ] | [ pir pir ] ] *

forward in-label in-label-value nexthop next-hop-address out-label out-label-value [ ingress-lsrid ingress-lsrid egress-lsrid egress-lsrid tunnel-id tunnel-id ] [ [ bandwidth ct0 bandwidth ] | [ pir pir ] ] *

forward in-label in-label-value outgoing-interface { interface-name | { interface-type interface-number } } out-label out-label-value [ ingress-lsrid ingress-lsrid egress-lsrid egress-lsrid tunnel-id tunnel-id ] [ [ bandwidth ct0 bandwidth ] | [ pir pir ] ] *

forward in-label in-label-value nexthop next-hop-address outgoing-interface { interface-name | { interface-type interface-number } } out-label out-label-value [ ingress-lsrid ingress-lsrid egress-lsrid egress-lsrid tunnel-id tunnel-id ] [ [ bandwidth ct0 bandwidth ] | [ pir pir ] ] *

forward in-label in-label-value outgoing-interface { interface-name | { interface-type interface-number } } nexthop next-hop-address out-label out-label-value [ ingress-lsrid ingress-lsrid egress-lsrid egress-lsrid tunnel-id tunnel-id ] [ [ bandwidth ct0 bandwidth ] | [ pir pir ] ] *

undo forward

undo backward

Parameters

Parameter Description Value
in-label in-label-value

Specifies an incoming label value.

The value is an integer ranging from 16 to 32783.

nexthop next-hop-address

Specifies a next-hop IP address.

The value is in dotted decimal notation.

outgoing-interface

Specifies an outbound interface name.

-

interface-type interface-number

Specifies an interface name.

  • interface-type: specifies the type of an outbound interface. The value is a string of case-insensitive characters, spaces not supported.
  • interface-number: specifies the number of an outbound interface. The value is a string of case-insensitive characters, spaces not supported. An interface number is in the format of slot number/sub-card number/interface number.
out-label out-label-value

Specifies an outgoing label value.

The value is an integer ranging from 16 to 1048575.

ingress-lsrid ingress-lsrid

Specifies an ingress LSR ID.

The value is in dotted decimal notation.

egress-lsrid egress-lsrid

Specifies an egress LSR ID.

The value is in dotted decimal notation.

tunnel-id tunnel-id

Specifies the tunnel ID configured on the ingress.

The value is an integer ranging from 1 to 65535.

bandwidth

Indicates the bandwidth of a static bidirectional co-routed LSP.

-

ct0 bandwidth

Specifies the bandwidth to be reserved.

The value is an integer ranging from 0 to 4000000000, in kbit/s.

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 less than the value of bandwidth.

backward

Backward static CR-LSP.

-

Views

Static bidirectional co-routed transit view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mpls-te write

Usage Guidelines

Usage Scenario

A static bidirectional co-routed CR-LSP is manually established and consists of two CR-LSPs passing through the same nodes and links and transmitting traffic in opposite directions. You have to configure MPLS forwarding entries in both directions on each node of a path over which the bidirectional CR-LSP is to be established and bind the two CR-LSPs in opposite directions together on both the ingress and egress.

To configure a static bidirectional co-routed LSP, perform the following operations to configure MPLS forwarding entries for traffic in opposite directions:

  • On the ingress

    Run the forward (bidirectional static-cr-lsp ingress) command in the static bidirectional ingress LSP view to configure a CR-LSP.

    Run the backward (bidirectional static-cr-lsp ingress) command in the static bidirectional ingress LSP view to configure a reverse CR-LSP.
  • On a transit node

    Run the forward (bidirectional static-cr-lsp transit) command in the static bidirectional transit LSP view to configure a CR-LSP.

    Run the backward (bidirectional static-cr-lsp transit) command in the static bidirectional transit LSP view to configure a reverse CR-LSP.
  • On the egress

    Run the forward (bidirectional static-cr-lsp egress) command in the static bidirectional egress LSP view to configure a CR-LSP.

    Run the backward (bidirectional static-cr-lsp egress) command in the static bidirectional egress LSP view to configure a reverse CR-LSP.

Precautions

If the static bidirectional co-routed LSP has the same outgoing label value, outbound interface, or next-hop IP address as a common static CR-LSP has, and the configuration fails.

If a pair of an outbound interface name and an outgoing label or a pair of a next-hop IP address and an outgoing label is assigned to an existing static LSP, a different parameter pair must be specified for the forward LSP of a static bidirectional LSP to be established. If the same parameter pair is configured, an outsegment entry conflict occurs, which results in a service diversion failure.

Example

# Set the incoming label value to 16, next-hop IP address to 10.2.3.3, outgoing interface to GE0/1/0, outgoing label value to 16 and CT0 bandwidth to 100 kbit/s for a CR-LSP on a transit node.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] mpls te
[*HUAWEI-mpls] quit
[*HUAWEI] bidirectional static-cr-lsp transit abc
[*HUAWEI-bi-static-transit-abc] forward in-label 16 nexthop 10.2.3.3 outgoing-interface GigabitEthernet 0/1/0 out-label 16 bandwidth ct0 100 pir 2000
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >