mpls te (MPLS view)

Function

The mpls te command is used to globally enable MPLS traffic engineering features.

The undo mpls te command is used to disable global MPLS traffic engineering features.

This command varies in transport and router modes. For detailed differences, see Differences Between Commands in Transport and Router Modes. This topic describes the command configuration in router mode.

By default, MPLS TE is disabled.

Format

mpls te

undo mpls te

Parameters

None

Views

MPLS view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mpls-te write

Usage Guidelines

Usage Scenario

To enable MPLS TE globally, run the mpls te command in the MPLS view.

MPLS TE can be enabled on an interface after being enabled globally.

Precautions

If the undo mpls te command is run in the MPLS view, MPLS TE is disabled globally. If the undo mpls te command is run in the interface view, MPLS TE is disabled on the specified interface.

Example

# Enable MPLS TE globally.
<HUAWEI> system-view
[~HUAWEI] mpls lsr-id 1.1.1.9
[*HUAWEI] mpls
[*HUAWEI-mpls] mpls te
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >