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

Configuration Guide - MPLS

S7700 and S9700 V200R013C00

This document describes the configurations of MPLS, including Static LSP, MPLS LDP, MPLS QoS, MPLS TE, MPLS OAM, Seamless MPLS.
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 Metrics for Path Calculation

Configuring Metrics for Path Calculation

Context

You can configure the metric type that is used for setting up a tunnel.

Procedure

  • Specifying the metric type used by the tunnel

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

    1. Run system-view

      The system view is displayed.

    2. Run interface tunnel interface-number

      The tunnel interface view is displayed.

    3. Run mpls te path metric-type { igp | te }

      The metric type for path computation is configured.

    4. Run mpls te commit

      The current configuration of the tunnel is committed.

    5. Run quit

      Return to the system view.

    6. (Optional) Run mpls

      The MPLS view is displayed.

    7. (Optional) Run mpls te path metric-type { igp | te }

      The path metric type used by the tunnel during route selection is specified.

      If the mpls te path metric-type command is not run in the tunnel interface view, the metric type in the MPLS view is used; otherwise, the metric type in the tunnel interface view is used.

      By default, path metric type used by the tunnel during route selection is TE.

  • (Optional) Configuring the TE metric value of the path

    If the metric type of a specified tunnel is TE, you can modify the TE metric value of the path on the outbound interface of the ingress and the transit node by performing the following configurations.

    1. Run system-view

      The system view is displayed.

    2. Run interface interface-type interface-number

      The view of the MPLS-TE-enabled interface is displayed.

    3. (Optional) On an Ethernet interface, run undo portswitch

      The interface is switched to Layer 3 mode.

      By default, an Ethernet interface works in Layer 2 mode.

    4. Run mpls te metric value

      The TE metric value of the path is configured.

      By default, the path uses the IGP metric value as the TE metric value.

      NOTE:

      If the IGP is OSPF and the current device is a stub router, the mpls te metric command does not take effect.

Translation
Download
Updated: 2019-04-08

Document ID: EDOC1100065745

Views: 20192

Downloads: 14

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