R2511-HP MSR Router Series MPLS Command Reference(V5)

307
Default command level
2: System level
Parameters
bidirectional: Specifies the bidirectional path switching mode.
Usage guidelines
Before configuring the command, you must configure an MPLS TE tunnel protection group by using the
mpls te protection tunnel command.
Bidirectional path switching requires that the main and backup tunnels are both bidirectional tunnels,
and you must configure the bidirectional path switching mode on both ends of the main tunnel.
Otherwise, bidirectional path switching cannot function correctly.
Examples
# Specify tunnel 102 as the protection tunnel for the bidirectional MPLS TE tunnel 1, and configure the
tunnel protection group to use the bidirectional path switching mode.
<Sysname> system-view
[Sysname] interface tunnel 1
[Sysname-Tunnel1] mpls te protection tunnel 102 holdoff 20 mode revertive wtr 30
[Sysname-Tunnel1] mpls te protection switch-mode bidirectional
mpls te protection tunnel
Use mpls te protection tunnel to configure a protection tunnel for the main tunnel. The main tunnel and
its protection tunnel (also called "backup tunnel") form a tunnel protection group.
Use undo mpls te protection tunnel to remove the protection tunnel of a main tunnel.
Syntax
mpls te protection tunnel tunnel-id [ holdoff holdoff-time | mode { non-revertive | revertive [ wtr
wtr-time ] } | one-plus-one ] *
undo mpls te protection tunnel
Default
No protection tunnel is configured for the main tunnel.
Views
Tunnel interface view
Default command level
2: System level
Parameters
tunnel-id: Specifies the ID of the tunnel to be specified as the protection tunnel. The tunnel ID range varies
by device model.
holdoff holdoff-time: Specifies the switching delay time. After detecting that the main tunnel fails, the
device will not switch data to the protection tunnel immediately but wait for a period of time (the holdoff
time). If the protection tunnel keeps in no-defect state during this period of time, the device switches data
to the protection tunnel. The holdoff-time is the holdoff time factor in the range of 0 to 20, and the default
is 0. Holdoff time = holdoff time factor × 500 milliseconds. Therefore, the maximum holdoff time is 10
seconds.