< Home

reset mpls ldp

Function

The reset mpls ldp command resets LDP instances of the public network.

The reset mpls ldp all command resets all LDP instances.

Format

reset mpls ldp [ peer peer-id ]

reset mpls ldp all

Parameters

Parameter Description Value
peer peer-id Specifies the LSR ID of a peer. Expressed in dotted decimal notation.
all Specifies all LDP instances. -

Views

User view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

When there is a new LDP configuration, to validate the configuration, you can run the reset mpls ldp command.

Run the reset mpls ldp peer command to reset sessions, and LSPs, and CR-LSPs of a specified peer.

Precautions

The reset mpls ldp command cannot be run during GR.

If this command is run in an attempt to restart LDP and the interval at which LDP is restarted is small, the attempt fails. The interval varies according to the number of LSPs. The more the LSPs are established, the longer the interval is. The interval can be set to 30, 60, 90, or 120, in seconds.

Example

# Reset the global LDP function.

<HUAWEI> reset mpls ldp
Warning: The MPLS LDP services will be reset. Continue? [Y/N]:y

# Reset all LDP instances.

<HUAWEI> reset mpls ldp all
Warning: The MPLS LDP services will be reset. Continue? [Y/N]:y

# Reset the peer.

<HUAWEI> reset mpls ldp peer 10.2.2.9
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >