The mpls ldp command enables LDP on an interface.
The undo mpls ldp command disables LDP on an interface.
By default, LDP is not enabled on an interface.
100GE interface view, 10GE interface view, 25GE interface view, 400GE interface view, 40GE interface view, 50GE interface view, Eth-Trunk interface view, FlexE interface view, GE optical interface view, GE electrical interface view, GMPLS-UNI interface view, VLANIF interface view, XGE interface view
Usage Scenario
On a network where MPLS LDP services are deployed, after you enable MPLS LDP on a node, enable MPLS LDP on the interfaces of the node to perform other LDP configurations.
Prerequisites
MPLS LDP has been enabled on the node to which the interface belongs.
Configuration Impact
Running the undo mpls ldp command in the interface view causes the deletion of all MPLS LDP configurations on the interface.
Follow-up Procedure
You can perform other configurations of MPLS LDP.
<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] quit [*HUAWEI] mpls ldp [*HUAWEI-mpls-ldp] quit [*HUAWEI] interface GigabitEthernet 0/1/0 [*HUAWEI-GigabitEthernet0/1/0] mpls [*HUAWEI-GigabitEthernet0/1/0] mpls ldp
<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] quit [*HUAWEI] mpls ldp [*HUAWEI-mpls-ldp] quit [*HUAWEI] interface Tunnel 1 [*HUAWEI-Tunnel1] tunnel-protocol gre [*HUAWEI-Tunnel1] mpls [*HUAWEI-Tunnel1] mpls ldp