The mpls ldp command enables MPLS LDP function on an interface.
The undo mpls ldp command disables MPLS LDP function on an interface.
By default, no interface is enabled with MPLS LDP function.
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
On a network where MPLS LDP needs to be deployed, enable MPLS LDP function on an interface before configuring other LDP configurations.
Prerequisites
MPLS LDP has been enabled globally using the mpls ldp command in the system view.
MPLS has been enabled on the interface using the mpls command in the interface view.
Follow-up Procedure
You can perform other MPLS LDP configurations.
Precautions
Running the undo mpls ldp command in the interface view deletes all MPLS LDP configurations on the interface.
<HUAWEI> system-view [HUAWEI] mpls ldp [HUAWEI-mpls-ldp] quit [HUAWEI] interface vlanif 100 [HUAWEI-Vlanif100] mpls [HUAWEI-Vlanif100] mpls ldp
<HUAWEI> system-view [HUAWEI] mpls ldp [HUAWEI-mpls-ldp] quit [HUAWEI] interface gigabitethernet 0/0/1 [HUAWEI-GigabitEthernet0/0/1] undo portswitch [HUAWEI-GigabitEthernet0/0/1] mpls [HUAWEI-GigabitEthernet0/0/1] mpls ldp