reset mpls ldp (User view)

Function

The reset mpls ldp command resets the LDP session of a specified peer.

Format

reset mpls ldp peer peer-id [ graceful ]

reset mpls ldp vpn-instance vpn-instance-name [ peer peer-id ]

Parameters

Parameter Description Value
graceful

Indicates graceful restart.

-

vpn-instance vpn-instance-name

Specifies the name of a VPN instance.

The value is a string of 1 to 31 case-sensitive characters.

peer peer-id

Specifies the LSR ID of a peer. The value is defined using the mpls lsr-id command.

In dotted decimal notation.

Views

User view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mpls-ldp execute

Usage Guidelines

Usage Scenario

The reset mpls ldp command restarts the session and LSP of a specified peer. If service continuity is required during the restart of a specified peer, run the reset mpls ldp peer graceful command.

Prerequisites

MPLS and MPLS LDP have been enabled globally.

Configuration Impact

After the configuration, a specified LDP peer is restarted.

Precautions

Note:

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

Example

# Restart the peer with LSR ID 3.3.3.9 without service interruption.
<HUAWEI> reset mpls ldp peer 3.3.3.9 graceful
# Restart the peer with LSR ID 2.2.2.9.
<HUAWEI> reset mpls ldp peer 2.2.2.9
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >