< Home

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

  1. Run system-view

    The system view is displayed.

  2. Run mpls

    The MPLS view is displayed.

  3. 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.

  4. Run quit

    Return to the system view.

  5. Run interface tunnel interface-number

    The tunnel interface view of the MPLS TE tunnel is displayed.

  6. 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.

  7. Run mpls te commit

    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.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >