< Home

remote-ip

Function

The remote-ip command allows you to assign an IP address to a remote LDP peer.

The undo remote-ip command deletes the configuration.

By default, the IP address of the remote LDP peer is not configured.

Format

remote-ip ip-address [ pwe3 ]

undo remote-ip [ pwe3 ]

Parameters

Parameter Description Value
ip-address Specifies the IPv4 address of a remote peer.

The value is in decimal notation.

The IPv4 address of a local interface is not supported.

pwe3 Prohibits labels from being distributed to a specified remote peer. -

Views

Remote MPLS LDP peer view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After a remote LDP peer is configured, to assign an IP address to the remote LDP peer, run the remote-ip command in the remote MPLS LDP peer view.

The IP address must be the LSR ID of the remote LDP peer. When the LDP LSR ID and the MPLS LSR ID are different, the LDP LSR ID takes effect.

The remote peer uses the LSR ID as the transport address to create a TCP connection.

PEs on both ends of an MPLS L2VPN that runs LDP signaling can establish a remote LDP session. The MPLS L2VPN can be a Martini VLL, PWE3, or Martini VPLS network. The remote LDP session is expected to transmit Label Mapping messages carrying VC labels, not LDP labels. By default, the PE distributes LDP labels to its peer. To disable the PE from distributing LDP labels to its peer, run either of the following commands, which helps prevent LDP label wastes and minimize memory usage.
  • remote-ip ip-address pwe3 command: prevents the LSR from distributing labels to a specified remote peer.

  • remote-peer pwe3 command: prevents the LSR from distributing labels to all remote peers.

When a backbone network is transmitting TE services in the LDP over TE scenario, do not disable a device from distributing labels to remote peers.

Prerequisites

Remote LDP peers have been configured.

Precautions

  • Modifying or deleting the configured IP address of a remote peer leads to the deletion of a remote LDP session.

  • After a remote peer IP address is specified using the remote-ip ip-address command, ip-address cannot be used as a local interface IP address. If it is used as a local interface IP address, the remote LDP session is interrupted.

Example

# Configure the address for a remote peer.

<HUAWEI> system-view
[HUAWEI] mpls ldp remote-peer bji
[HUAWEI-mpls-ldp-remote-bji] remote-ip 10.3.3.3

# Prohibit labels from being distributed to the remote peer at 10.1.1.1/32.

<HUAWEI> system-view
[HUAWEI] mpls ldp remote-peer rtc
[HUAWEI-mpls-ldp-remote-rtc] remote-ip 10.1.1.1 pwe3
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >