The mpls te bidirectional command configures the bidirectional LSP attribute.
The undo mpls te bidirectional command deletes the bidirectional LSP attribute.
By default, the bidirectional LSP attribute is not enabled.
Usage Scenario
A static bidirectional co-routed LSP is a tunnel that consists of a CR-LSP and a reverse CR-LSP and supports MPLS forwarding in opposite directions.
The mpls te bidirectional command is run in the tunnel interface view on the ingress to bind the tunnel originating from the ingress to a static bidirectional ingress LSP.Prerequisites
Static CR-LSP signaling has been enabled using the mpls te signal-protocol cr-static command in the tunnel interface view.
Precautions
If static CR-LSP signaling is changed to another type of signaling, the bidirectional LSP attribute will be deleted.
<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] mpls te [*HUAWEI-mpls] quit [*HUAWEI] interface Tunnel10 [*HUAWEI-Tunnel10] tunnel-protocol mpls te [*HUAWEI-Tunnel10] destination 3.3.3.3 [*HUAWEI-Tunnel10] mpls te signal-protocol cr-static [*HUAWEI-Tunnel10] mpls te tunnel-id 1 [*HUAWEI-Tunnel10] mpls te bidirectional