The remote-peer pwe3 command prevents public network labels from being distributed to all remote peers.
The undo remote-peer pwe3 command restores the default setting.
By default, an LSR is permitted to distribute public network labels to all remote peers.
Usage Scenario
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.
The remote-peer pwe3 command prohibits an LSR from distributing labels to all remote peers.
The remote-ip ip-address pwe3 command in the remote MPLS LDP peer view prohibits an LSR from distributing labels to a specified remote peer.
When you create a remote LDP session, run the remote-peer pwe3 or remote-ip ip-address pwe3 command to prevent public network labels from being distributed to remote peers. If you do not run either of the preceding commands, the command configuration may affect system performance.
Prerequisites
MPLS LDP has been enabled globally using the mpls ldp command in the system view.
Precautions
The configuration will take effect on all remote LDP peers, including existing remote peers.