R0106-HP MSR Router Series MPLS Command Reference(V7)

337
Syntax
protection switching-mode bidirectional
undo protection switching-mode bidirectional
Default
A protection group uses unidirectional path switching.
Views
Tunnel bundle interface view
Predefined user roles
network-admin
Usage guidelines
A bidirectional MPLS TE tunnel switches the traffic forwarding path in one of the following modes:
Unidirectional path switching—When an external switching command or a signal fail indication
triggers protection switching for traffic in one direction, PS switches the traffic forwarding tunnel
only in this direction. The traffic forwarding tunnel in the other direction does not change.
Bidirectional path switching—When an external switching command or a signal fail indication
triggers protection switching for traffic in one direction, PS switches the traffic forwarding tunnels in
both directions.
To implement bidirectional path switching, the ingress node and the egress node periodically send
Protection State Coordination (PSC) packets to each other to coordinate the protection state.
When one tunnel end performs a PS, the other end also performs a PS.
1:1 protection switching supports both unidirectional and bidirectional path switching. 1+1 protection
switching supports only bidirectional path switching.
Before configuring this command, you must enable MPLS protection switching by using the mpls
protection command.
Bidirectional path switching requires that the working and protection tunnels are both bidirectional
tunnels. You must configure the bidirectional path switching mode on both ends of the working tunnel.
Otherwise, bidirectional path switching cannot function correctly.
Examples
# Configure the protection group for interface Tunnel-Bundle 2 to use the bidirectional path switching
mode.
<Sysname> system-view
[Sysname] interface tunnel-bundle 2 protection onetoone
[Sysname-tunnel-bundle2] protection switching-mode bidirectional
Related commands
mpls protection
protection holdoff
psc message-interval
psc message-interval
Use psc message-interval to configure the interval for sending PSC messages.
Use undo psc message-interval to restore the default.