The mpls te command enables MPLS TE.
The undo mpls te command disables MPLS TE.
MPLS TE is disabled by default.
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
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.
# 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
<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