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

NE20E-S V800R010C10SPC500 Configuration Guide - MPLS 01

This is NE20E-S V800R010C10SPC500 Configuration Guide - 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).
(Optional) Configuring the Inbound LDP Policy

(Optional) Configuring the Inbound LDP Policy

An inbound LDP policy can be configured to prevent the establishment of unwanted LSPs, efficiently using memory.

Context

An LSR is usually able to receive Label Mapping messages from all LDP peers, speeding up LDP LSP convergence. This leads to a great number of unwanted LSPs to be established, wasting resources. An inbound LDP policy can be configured to reduce the number of Label Mapping messages to be received. The inbound LDP policies help reduce the number of unwanted LSPs to be established and efficiently use memory.

The inbound LDP policy helps an LSR provide a specific function based on one of the following parameters:
  • none: filters out all forwarding equivalence classes (FECs). A specified peer does not receive any IGP route-based Label Mapping messages sent by peers.
  • host: allows FECs for host routes to pass. A specified peer receives host route-based Label Mapping messages sent by peers.
  • ip-prefix: allows only the FEC for a specified IP prefix to pass. A specified peer receives IP prefix-based Label Mapping messages sent by peers.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run mpls ldp

    The MPLS-LDP view is displayed.

  3. Run ipv4-family

    The MPLS LDP IPv4 view is displayed.

  4. Run inbound peer { peer-id | peer-group peer-group-name | all } fec { none | host | ip-prefix prefix-name }inbound peer 2.2.2.2 fec hostinbound peer peer-group group1 fec noneinbound peer 2.2.2.2 fec hostinbound peer 2.2.2.2 fec hostinbound peer 2.2.2.2 fec noneinbound peer 2.2.2.2 fec noneinbound peer all fec noneinbound peer 2.2.2.2 fec hostThe inbound policy for all peers takes effect:inbound peer all fec none

    An inbound policy for allowing the local LSR to receive label mapping messages from a specified LDP peer for a specified IGP route is configured.

    To apply a policy associated with a single FEC range to an LDP peer group or all LDP peers from which the local LSR receives Label Mapping messages, configure either the peer-group peer-group-name or all parameter in the command.

    NOTE:

    If multiple inbound policies are configured for a specified LDP peer, the first configured one takes effect. For example, the following two inbound policies are configured:

    As group1 also contains an LDP peer with peer-id of 2.2.2.2, the following inbound policy takes effect:

    If two inbound policies are configured in sequence and the peer parameters in the two commands are the same, the second command overwrites the first one. For example, the following two inbound policies are configured:

    The second configuration overwrites the first one. This means that the following inbound policy takes effect on the LDP peer with peer-id of 2.2.2.2:

    If an inbound policy for all peers is configured and another inbound policy for a specific peer or peer group is configured, the previous policy has a higher priority, and the later policy does not take effect. For example:

    MPLS and MPLS LDP must be enabled globally before an inbound policy is configured.

    To delete all inbound policies simultaneously, run the undo inbound peer all command.

  5. Run commit

    The configuration is committed.

Translation
Download
Updated: 2019-01-03

Document ID: EDOC1100055103

Views: 19936

Downloads: 35

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