No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

NE40E V800R010C00 Configuration Guide - MPLS 01

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring CSPF

Configuring CSPF

Constrained Shortest Path First (CSPF) is configured to calculate the shortest path destined for a specified node.

Context

CSPF is configured on all nodes along a path to enable the ingress to calculate a complete path.

CSPF calculates only the shortest path to the specified tunnel destination. During path computation, if there are multiple paths with the same weight, the optimal path is selected using the tie-breaking function.

The tie-breaking function is performed in one of the following modes:

  • Most-fill: The device selects a link with the largest ratio of used bandwidth to maximum reservable bandwidth. This mode enables the device to effectively use bandwidth resources.

  • Least-fill: The device selects a link with the smallest ratio of used bandwidth to maximum reservable bandwidth. This mode enables the device to evenly use bandwidth resources on links.

  • Random: The device selects a link at random. This mode allows CR-LSPs to distribute evenly over links, regardless of bandwidth.

NOTE:

CSPF uses tie-breaking to select a link based on a bandwidth ratio. If ratios are the same in when no reservable bandwidth is available or when the same bandwidth is used on every link, the link discovered first is used, even if least-fill or most-fill is configured.

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    mpls

    The MPLS view is displayed.

  3. Run:

    mpls te cspf

    CSPF is enabled on the local node.

  4. (Optional) Run:

    mpls te cspf preferred-igp { isis [ process-id [ level-1 | level-2 ] ] | ospf [ process-id [ area area-id ] ] }

    A preferred IGP is configured. Its process and area or level can also be configured.

  5. (Optional) Run:

    mpls te cspf multi-instance shortest-path [ preferred-igp { isis | ospf } [ process-id ] ]

    CSPF is configured to calculate shortest paths among all IGP processes and areas.

    NOTICE:

    The mpls te cspf multi-instance shortest-path command is mutually exclusive with the mpls te cspf preferred-igp command. If the mpls te cspf multi-instance shortest-path command is run, this command overrides the mpls te cspf preferred-igp command.

  6. Run:

    mpls te tie-breaking { least-fill | most-fill | random }

    A tie-breaking mode for calculating a path for a CR-LSP is specified.

  7. Run:

    quit

    The system view is displayed.

  8. Run:

    interface tunnel tunnel-number

    The view of the MPLS TE tunnel interface is displayed.

  9. Run:

    mpls te tie-breaking { least-fill | most-fill | random }

    The tie-breaking function for calculating a path is configured for the current tunnel.

    The tie-breaking mode is configured either the tunnel interface view or MPLS view. If the tie-breaking mode configured in both the tunnel interface and MPLS views, the configuration in the tunnel interface view takes effect.

  10. Run:

    commit

    The configurations are committed.

Download
Updated: 2018-07-12

Document ID: EDOC1100028530

Views: 102834

Downloads: 336

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next