Configuring Tie-Breaking of CSPF
Context
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.
Procedure
- Run system-view
The system view is displayed.
- Run mpls
The MPLS view is displayed.
- Run mpls te tie-breaking { least-fill | most-fill | random }
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.
- Run quit
Return to the system view.
- Run interface tunnel interface-number
The tunnel interface view of the MPLS TE tunnel is displayed.
- Run mpls te tie-breaking { least-fill | most-fill | random }
The CR-LSP tie-breaking policy for current tunnel is configured.
The parameters have the same functions as those used in step 3.
- Run commit
The configuration is committed.