The mpls te binding bidirectional command binds a tunnel interface to a static bidirectional co-routed LSP on the egress.
The undo mpls te binding bidirectional command unbinds a tunnel interface from a static bidirectional co-routed LSP on the egress.
By default, a tunnel interface on the egress is not bound to a static bidirectional co-routed LSP.
Usage Scenario
A static CR-LSP is easy to configure: labels are manually allocated, and no signaling protocol is used to exchange control packets. The setup of a static CR-LSP consumes only a few resources, and you do not need to configure IGP TE or CSPF for the static CR-LSP. However, static CR-LSP application is limited. A static CR-LSP cannot dynamically adapt to network changes, and it uses the same label range (16 to 1023) as a common static LSP.
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. In addition to two forwarding tables for packets sent in opposite directions, the following configurations need to be performed on the egress:Prerequisites
Static CR-LSP signaling has been enabled using the mpls te signal-protocol cr-static command in the tunnel interface view.
Precautions
A tunnel interface on the egress can only be bound to a static bidirectional co-routed LSP.
<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] mpls te [*HUAWEI-mpls] quit [*HUAWEI] bidirectional static-cr-lsp egress Tunnel10 [*HUAWEI-bi-static-egress-Tunnel10] forward in-label 17 lsrid 1.1.1.1 tunnel-id 2 [*HUAWEI-bi-static-egress-Tunnel10] backward nexthop 10.2.3.2 out-label 27 [*HUAWEI-bi-static-egress-Tunnel10] 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 passive-tunnel [*HUAWEI-Tunnel10] mpls te binding bidirectional static-cr-lsp egress Tunnel10