reset mpls ldp

Function

The reset mpls ldp command restarts the global LDP capability, that is, a public network LDP instance.

The reset mpls ldp graceful command restarts a public network LDP instance, without service interruption. (In this case, it is required that the device be enabled with GR and set up a GR-enabled LDP session with a neighbor.).

The reset mpls ldp all command restarts all LDP instances on a public network.

Format

reset mpls ldp [ graceful | all ]

Parameters

Parameter Description Value
graceful

Indicates graceful restart.

-

all

Indicates all LDP instances on a public network.

-

Views

User view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mpls-ldp execute

Usage Guidelines

Usage Scenario

To make new LDP configurations take effect, run the reset mpls ldp command.

The reset mpls ldp graceful command restarts a public network LDP instance. For a GR-enabled device that sets up a GR-enabled LDP session with a neighbor, this command can ensure service continuity during the restart.

Prerequisites

MPLS and MPLS LDP have been enabled globally.

Configuration Impact

After the configuration, the global LDP capability is restarted.

Precautions

Note:

If the parameter graceful is not configured, all services are deleted during the restart.

Example

# Restart the global LDP capability without service interruption.
<HUAWEI> reset mpls ldp graceful
# Restart the global LDP capability.
<HUAWEI> reset mpls ldp
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >