The reset mpls ldp command resets LDP instances of the public network.
The reset mpls ldp all command resets all LDP instances.
Parameter | Description | Value |
---|---|---|
peer peer-id | Specifies the LSR ID of a peer. | Expressed in dotted decimal notation. |
all | Specifies all LDP instances. | - |
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.
# 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