(Optional) Configuring a Best-Effort Path
Context
A best-effort path is configured on the ingress node of a primary CR-LSP to take over traffic if both the primary and backup CR-LSPs fail.
Perform the following configurations on the ingress node of an MPLS TE tunnel.
Procedure
- Run system-view
The system view is displayed.
- Run interface tunnel tunnel-number
The tunnel interface view is displayed.
- Run mpls te backup ordinary best-effort
A best-effort path is configured.
NOTE:
A tunnel interface cannot be used for both a best-effort path and a manually configured ordinary backup tunnel. A protection failure will occur if the mpls te backup ordinary best-effort and mpls te backup ordinary commands are run on the tunnel interface.
To establish a best-effort path over a specified path, run either or both of step 4 and step 5.
- (Optional) Run mpls te affinity property properties [ mask mask-value ] best-effort
The affinity property of the best-effort path is configured.
By default, the affinity property used by the best-effort path is 0x0 and the mask is 0x0.
- (Optional) Run mpls te hop-limit hop-limit-value best-effort
The hop limit of the best-effort path is set.
The default hop limit is 32.
- Run mpls te commit
The configuration is committed.