< Home

mpls te

Function

The mpls te command enables MPLS TE.

The undo mpls te command disables MPLS TE.

MPLS TE is disabled by default.

Format

mpls te

undo mpls te

Parameters

None

Views

MPLS view, VLANIF interface view, GE interface view, XGE interface view, MultiGE interface view, 25GE interface view, 40GE interface view, 100GE interface view, Eth-trunk interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When running the mpls te command in the MPLS view, you can globally enable MPLS TE. When running the mpls te command in the interface view, you can enable MPLS TE on a specified interface. MPLS TE can only be enabled on interfaces after the function is enabled globally.

Precautions

When the MPLS TE is disabled in the interface view, all the CR-LSPs on the current interface change to Down.

After the undo mpls te command is run in the MPLS view, MPLS TE services may be interrupted and all MPLS TE configurations are deleted. To restore the MPLS TE services, reconfigure these commands.

Example

# Enable MPLS TE globally.

<HUAWEI> system-view
[HUAWEI] mpls lsr-id 1.1.1.9
[HUAWEI] mpls
[HUAWEI-mpls] mpls te

# Enable MPLS TE on VLANIF100.

<HUAWEI> system-view
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] mpls
[HUAWEI-Vlanif100] mpls te
# Enable MPLS TE on GE0/0/1.
<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] undo portswitch
[HUAWEI-GigabitEthernet0/0/1] mpls
[HUAWEI-GigabitEthernet0/0/1] mpls te
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >