< Home

Configuring Administrative Group and Affinity Property

Context

The configuration of the administrative group affects only LSPs to be set up; the configuration of the affinity property affects established LSPs by recalculating the paths.

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

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The interface 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.

    Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support switching between Layer 2 and Layer 3 modes.

  4. Run mpls te link administrative group value

    The administrative group of the MPLS TE link is configured.

    The modification of administrative group takes effect only on LSPs that are established after modification.

  5. Run quit

    Return to the system view.

  6. Run interface tunnel interface-number

    The tunnel interface view of the MPLS TE tunnel is displayed.

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

    The affinity for the tunnel is configured.

    By default, the values of administrative group, affinity property, and mask are all 0x0.

    After the modified affinity property is committed, the established LSP in this tunnel may be affected and the system recalculates the path for the TE tunnel.

  8. Run mpls te commit

    The current tunnel configuration is committed.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >