< 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 public network instances.

Format

reset mpls ldp [ peer peer-id ]

reset mpls ldp all

Parameters

Parameter Description Value
peer peer-id Specifies the label switching router (LSR) ID of a peer. Expressed in dotted decimal notation
all Resets all LDP instances. -

Views

User view

Default Level

3: Management level

Usage Guidelines

Run the reset mpls ldp peer command to reset sessions and lsp.

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.

<sysname> reset mpls ldp

# Reset the peer.

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