This section describes how to configure the protection switching trigger mechanism for a tunnel protection group to forcibly switch traffic to the working or protection tunnel. Alternatively, you can perform a traffic switchover manually.
Read switching rules before configuring the protection switching trigger mechanism.
Perform the following steps on the ingress of the tunnel protection group as needed:
The system view is displayed.
The tunnel interface view is displayed.
To forcibly switch traffic from the working tunnel to the protection tunnel, run mpls te protect-switch force
To prevent traffic on the working tunnel from switching to the protection tunnel, run mpls te protect-switch lock
To switch traffic to the protection tunnel, run mpls te protect-switch manual
The preceding commands can take effect immediately after being run, without the commit command executed.