< Home

Enabling MPLS

Context

Perform the following steps on each LSR in an MPLS domain:

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run mpls

    MPLS is enabled globally and the MPLS view is displayed.

    By default, no node is enabled with MPLS.

  3. Run quit

    Return to the system view.

  4. Run interface interface-type interface-number

    The interface to participate in MPLS forwarding is specified.

  5. (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.

  6. Run mpls

    MPLS is enabled on the interface.

    By default, no interface is enabled with MPLS.

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