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

333
Usage guidelines
You can specify only one primary member interface and one backup member interface for a tunnel
bundle interface in protection switching mode. The device selects a member interface for traffic
forwarding according to the external switching command and the signal fail indication.
Examples
# Specify interface Tunnel 1 as the primary member interface, and Tunnel 2 as the backup member
interface for Tunnel-Bundle 2.
<Sysname> system-view
[Sysname] interface tunnel-bundle 2 protection onetoone
[Sysname-tunnel-bundle2] member interface tunnel 1
[Sysname-tunnel-bundle2] member interface tunnel 2 protection
Related commands
display mpls protection
display tunnel-bundle
mpls protection
Use mpls protection to enable MPLS protection switching, and enter MPLS protection switching view.
Use undo mpls protection to disable MPLS protection switching.
Syntax
mpls protection
undo mpls protection
Default
MPLS protection switching is disabled.
Views
System view
Predefined user roles
network-admin
Usage guidelines
Enable MPLS protection switching by using the mpls protection command before you execute other MPLS
protection switching commands.
When MPLS protection switching is disabled, the display mpls protection command does not display the
protection group information for a tunnel bundle interface. However, the tunnel bundle interface can
forward traffic according to the specified protection switching mode (1:1 or 1+1).
After MPLS protection switching is enabled, you can configure the tunnel bundle interface for PS as
needed, for example, configuring an external switching command and configuring PS state
coordination.
Examples
# Enable MPLS protection switching, and enter MPLS protection switching view.
<Sysname> system-view
[Sysname] mpls protection
[Sysname-mpls-protection]