< Home

mpls ldp remote-peer

Function

The mpls ldp remote-peer command creates a remote peer and displays the remote peer view.

The undo mpls ldp remote-peer command deletes a remote peer.

By default, no remote peer is created.

Format

mpls ldp remote-peer remote-peer-name

undo mpls ldp remote-peer remote-peer-name

Parameters

Parameter Description Value

remote-peer-name

Specifies the name of a remote LDP peer.

A string of 1 to 32 case-insensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

A remote LDP session applies to the following scenarios:
  • Allocate inner L2VPN labels.

    If a Martini VLL or VPLS connection is to be established between two LSRs, the remote LDP session must be established between the LSRs to allocate inner labels.

  • Configure LDP over TE.

    If the core devices on an MPLS network support TE while edge devices use LDP, you need to configure a remote LDP session between the two edge LSRs on the TE network. After LDP over TE is configured, the TE tunnel is regarded as a hop of the entire LDP LSP.

A remote LDP session can be established between two indirectly connected LSRs or two directly connected LSRs.

A local and a remote LDP session can be established together between two LSRs.

Prerequisites

MPLS LDP has been enabled globally using the mpls ldp (system view) command.

Follow-up Procedure

An IP address can be assigned to the LDP remote peer.

Precautions

When configuring a remote LDP peer, run the mpls ldp remote-peer command on the local LDP and remote LDP peers.

Example

# Create a remote peer.

<HUAWEI> system-view
[HUAWEI] mpls ldp
[HUAWEI-mpls-ldp] quit
[HUAWEI] mpls ldp remote-peer BJI
[HUAWEI-mpls-ldp-remote-bji]
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >