mpls (system view)

Function

The mpls command enables MPLS globally on a local node and displays the MPLS view.

The undo mpls command globally disables MPLS and deletes all MPLS configurations.

MPLS is disabled globally by default.

Format

mpls

undo mpls

Parameters

None

Views

System view

Default Level

Configuration level

Usage Guidelines

Usage Scenario

MPLS-related functions can be configured only after MPLS is globally enabled. To globally enable MPLS, run the mpls command. After this command is run, the MPLS view is displayed, in which you can configure MPLS functions.

Prerequisites

An LSR ID has been configured using the mpls lsr-id command.

Precautions

NOTICE:
The undo mpls command run in the system view deletes all MPLS configurations in the system and interface views.

Example

# Set an LSR ID and enter the MPLS view.

<sysname> system-view
[sysname] mpls lsr-id 1.1.1.1
[sysname] mpls
[sysname-mpls] quit
Related Topics
mpls lsr-id

Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.