< Home

mpls ldp (system view)

Function

The mpls ldp command enables LDP on the local node and displays the MPLS-LDP view.

The undo mpls ldp command deletes all LDP configurations.

By default, LDP is not enabled on a node.

Format

mpls ldp

undo mpls ldp

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

On a network where MPLS LDP needs to be deployed, run the mpls ldp command to enable MPLS LDP globally and create a public network instance running LDP.

Prerequisites

MPLS has been enabled globally using the mpls (system view) command.

Follow-up Procedure

You can perform other LDP configurations.

Precautions

After the undo mpls ldp command is run in the system view, MPLS LDP services may be interrupted and all MPLS LDP configurations in the system and interface views are deleted. To restore the MPLS LDP services, reconfigure these commands.

Example

# Enable LDP.

<HUAWEI> system-view
[HUAWEI] mpls
[HUAWEI-mpls] quit
[HUAWEI] mpls ldp
[HUAWEI-mpls-ldp] 
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >