You can configure the CSPF tie-breaking function to select a path from multiple paths with the same weight value.
Perform the following configurations on the ingress node of an MPLS TE tunnel.
The system view is displayed.
The MPLS view is displayed.
CR-LSP tie-breaking policy for the LSR is configured.
Tie-breaking policies are classified as follows:
least-fill: the route with the smallest ratio of the occupied available bandwidth to the maximum reservable bandwidth is selected.
most-fill: the route with the largest ratio of the occupied available bandwidth to the maximum reservable bandwidth is selected.
random: selects a route randomly.
The default tie-breaking policy is random.
The maximum reservable bandwidth is the bandwidth configured by the command mpls te bandwidth max-reservable-bandwidth bw-value.
Return to the system view.
The tunnel interface view of the MPLS TE tunnel is displayed.
The CR-LSP tie-breaking policy for current tunnel is configured.
The parameters have the same functions as those used in step 3.
The current tunnel configuration is committed.
The tunnel preferentially takes the tie-breaking policy configured in its tunnel interface view. If the tie-breaking policy is not configured in the tunnel interface view, the configuration in the MPLS view is used.