(Optional) Configuring a Protection Switching Trigger Mechanism
Context
After configuring a tunnel protection group, you can configure a protection switching trigger mechanism to force traffic to switch to the primary LSP or the bypass LSP. Alternatively, you can perform switchover manually.
When configuring a protection switching trigger mechanism, note switch request criteria.
Perform the following steps on the ingress of the tunnel protection group.
Procedure
- Run system-view
The system view is displayed.
- Run interface tunnel interface-number
The tunnel interface view is displayed.
- Select one of the following protection switching trigger methods as required:
To forcibly switch traffic from the working tunnel to the protection tunnel, run mpls te protect-switch force
To prevent traffic from switching on the working tunnel, run mpls te protect-switch lock
To switch traffic to the protection tunnel, run mpls te protect-switch manual
- To clear the configuration of the protection switching trigger mechanism, run mpls te protect-switch clear
- Run mpls te commit
The current configuration is committed.