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.
Usage Scenario
A remote LDP session is applicable to the following scenarios:
Prerequisites
MPLS LDP has been enabled globally using the mpls ldp command in the system view.
Configuration Impact
After the mpls ldp remote-peer command is run, a remote peer is created and the view of the remote peer is displayed.
Follow-up Procedure
You can configure the IP address of the remote peer.
Precautions
When configuring a remote LDP peer, run the mpls ldp remote-peer command on the local LDP and remote LDP peer. When the undo mpls ldp remote-peer command is run to attempt to delete a nonexistent remote peer, a message indicating that the peer is not configured is displayed.