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


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


Configuration Guide - MPLS

S7700 and S9700 V200R011C10

This document describes MPLS configurations supported by the switch, including the principle and configuration procedures of static LSPs, MPLS LDP, MPLS TE, MPLS QoS, MPLS OAM, Seamless MPLS, and MPLS common features, and provides configuration examples.
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 Path Calculation

Configuring Path Calculation


To calculate a tunnel path meeting specified constraints, CSPF should be configured on the ingress.

CSPF extends the shortest path first (SPF) algorithm and is able to calculate the shortest path meeting MPLS TE requirements. CSPF calculates paths using the following information:
  • Link state information sent by IGP-TE and saved in TEDBs
  • Network resource attributes, such as the maximum available bandwidth, maximum reservable bandwidth, and affinity property, sent by IGP-TE and saved in TEDBs
  • Configured constraints such as explicit paths
  • An RSVP-TE tunnel can be established on a CSPF-disabled ingress. However, to allow a path to meet tunnel constraints, you are advised to enable CSPF on the ingress before establishing the RSVP-TE tunnel.

  • Enabling CSPF on all transit nodes is recommended. The tunnel function fails if CSPF or IGP TE is not enabled on the ingress, IGP TE is not enabled on some transit nodes or the egress, and CSPF is enabled on some transit nodes.

Perform the following configurations on the ingress node of an MPLS TE tunnel.


  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 a node.

    CSPF is disabled by default.

  4. (Optional) Run mpls te cspf preferred-igp { isis [ isis-process-id [ level-1 | level-2 ] ] | ospf [ ospf-process-id [ area { area-id-1 | area-id-2 } ] ] }

    A preferred IGP is specified.

    By default, OSPF is preferred for CSPF path calculation.

    If a single IGP protocol is only configured on the backbone network to advertise OSPF or IS-IS TE information, ignore this step.

Updated: 2019-10-18

Document ID: EDOC1000178315

Views: 119218

Downloads: 89

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