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 TE Attributes for a Link

(Optional) Configuring TE Attributes for a Link

TE attributes, such as the link bandwidth, administrative group attribute, affinity property, and shared risk link group (SRLG) can be configured to select a link for a CR-LSP.

Context

TE link attributes are as follows:

  • Link bandwidth

    The link bandwidth attribute can be set to limit the CR-LSP bandwidth.

    NOTE:

    If no bandwidth is set for a link, the CR-LSP bandwidth may be higher than the maximum reservable link bandwidth. As a result, the CR-LSP cannot be established.

  • Administrative group and affinity

    An affinity determines attributes for links to be used by an MPLS TE tunnel. The affinity property, together with the link administrative group attribute, is used to determine which links a tunnel uses.

    An affinity can be set using either a hexadecimal number or a name.
    • Hexadecimal number: A 32-bit hexadecimal number is set for each affinity and link administrative group attribute, which causes plan and computation difficulties.
    • Name: Each affinity and link administrative group bit can be named, which simplifies configuration and maintenance. Naming affinity and link administrative group bits is recommended.
  • SRLG

    A shared risk link group (SRLG) is a set of links which are likely to fail concurrently because they share a physical resource (for example, an optical fiber). In an SRLG, if one link fails, the other links in the SRLG also fail.

    An SRLG enhances CR-LSP reliability on an MPLS TE network with CR-LSP hot standby or TE FRR enabled. Two or more links are at the same risk if they share physical resources. For example, links on an interface and its sub-interfaces are in an SRLG. Sub-interfaces share risks with their interface. These sub-interfaces will go Down if the interface goes Down. If the links of a primary tunnel and a backup or bypass tunnel are in the same SRLG, the links of the backup or bypass tunnel share risks with the links of the primary tunnel. The backup or bypass tunnel will go Down if the primary tunnel goes Down.

Procedure

  • Configure link bandwidth.

    The bandwidth value is set on outbound interfaces along links of a TE tunnel that requires sufficient bandwidth.

    1. Run:

      system-view

      The system view is displayed.

    2. Run:

      interface interface-type interface-number

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

    3. Run:

      mpls te bandwidth max-reservable-bandwidth bandwidth

      The maximum reservable link bandwidth is set.

    4. Run:

      mpls te bandwidth bc0 bc0-bandwidth

      The BC bandwidth is set for the link.

      NOTE:
      • The maximum reservable link bandwidth cannot be greater than the physical link bandwidth. A maximum of 80% of the link bandwidth is recommended for the maximum reservable link bandwidth.

      • The BC0 bandwidth cannot be higher than the maximum reservable link bandwidth.

    5. Run:

      commit

      The configurations are committed.

  • Set the TE metric value of a link.
    1. Run:

      system-view

      The system view is displayed.

    2. Run:

      interface interface-type interface-number

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

    3. Run:

      mpls te metric value

      The TE metric of a link is set.

    4. Run:

      commit

      The configuration is committed.

  • Configure an affinity and a link administrative group attribute in hexadecimal format.

    NOTE:
    • The modified administrative group takes effect only on LSPs that will be established, not on LSPs that have been established.

    • After the modified affinity is committed, the system will recalculate a path for the TE tunnel, and the established LSPs in this TE tunnel are affected.

    1. Run:

      system-view

      The system view is displayed.

    2. Run:

      interface interface-type interface-number

      The view of the interface on which the MPLS TE tunnel is established is displayed.

    3. Run:

      mpls te link administrative group value

      An administrative group is configured for the link.

    4. Run:

      quit

      The system view is displayed.

    5. Run:

      interface tunnel tunnel-number

      The view of the MPLS TE tunnel interface is displayed.

    6. Run:

      mpls te affinity property properties [ mask mask-value ] [ secondary | best-effort ]

      An affinity is set for the MPLS TE tunnel.

    7. Run:

      commit

      The configurations are committed.

  • Name hexadecimal bits of an affinity and a link administrative group attribute.

    NOTE:
    • The modified administrative group takes effect only on LSPs that will be established, not on LSPs that have been established.

    • After the modified affinity is committed, the system will recalculate a path for the TE tunnel, and the established LSPs in this TE tunnel are affected.

    1. Run:

      system-view

      The system view is displayed.

    2. Run:

      path-constraint affinity-mapping

      An affinity name mapping template is configured, and the template view is displayed.

      This template must be configured on each node that is used to calculate an MPLS TE tunnel, and the same mappings between affinity names and bits must be configured on each node.

    3. Run:

      attribute affinity-name bit-sequence bit-number

      Mappings between affinity bits and names are configured.

      This step can be performed to configure one affinity bit. Repeat this step to configure more affinity bits. You can configure some or all 32 affinity bits.

    4. Run:

      interface interface-type interface-number

      The view of the interface on which the MPLS TE tunnel is established is displayed.

    5. Run:

      mpls te link administrative group name bit-name &<1-32>

      The administrative group attribute is specified for the link.

      The affinity-name value must be in the range specified in the affinity name template.

    6. Run:

      quit

      The system view is displayed.

    7. Run:

      interface tunnel tunnel-number

      The view of the MPLS TE tunnel interface is displayed.

    8. Run:

      mpls te affinity { primary | secondary | best-effort } { include-all | include-any | exclude } bit-name &<1-32>

      An affinity is set for the MPLS TE tunnel.

    9. Run:

      commit

      The configurations are committed.

  • Configure an SRLG.

    NOTE:

    On the ingress of a hot-standby CR-LSP or a TE FRR tunnel, perform Steps 1 to 3. On the interface of each SRLG member, perform Step 5 and Step 6.

    1. Run:

      system-view

      The system view is displayed.

    2. Run:

      mpls

      The MPLS view is displayed.

    3. Run:

      mpls te srlg path-calculation [ preferred | strict ]

      The SRLG path calculation mode is configured.

      NOTE:
      • If strict is configured, CSPF uses an SRLG as a constraint when calculating a path for a bypass or backup CR-LSP.

      • If preferred is configured, CSPF uses an SRLG as a constraint when calculating a path for a bypass or backup CR-LSP for the first time; if calculation fails, CSPF no longer uses the SRLG as a constraint.

    4. Run:

      quit

      The system view is displayed.

    5. Run:

      interface interface-type interface-number

      The view of the interface on which the MPLS TE tunnel is established is displayed.

    6. Run:

      mpls te srlg srlg-number

      The link on which the interface resides joins the SRLG.

      On a network with hot standby or TE FRR, the SRLG attribute needs to be configured for the outbound interface of the ingress on a tunnel and other members of the SRLG. A link joins an SRLG after the SRLG attribute is configured on an outbound interface of the link.

      NOTE:

      To delete the SRLG attribute from all interfaces on a device, run the undo mpls te srlg all-config command in the MPLS view.

    7. Run:

      commit

      The configuration is committed.

Translation
Download
Updated: 2019-01-03

Document ID: EDOC1100055103

Views: 19522

Downloads: 35

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