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.
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
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. |
|
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. |
- |
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: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.<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