(Optional) Disabling a Device from Distributing Labels to Remote Peers
Context
In MPLS L2VPN scenarios using LDP (including Martini VPLS), PEs at both ends need to establish a remote LDP session. The remote LDP session is only used to transmit Label Mapping messages, so LDP is not required. By default, LDP allocates common LDP labels to remote peers. Many useless idle labels are generated, wasting LDP labels.
To solve the preceding problem, disable a device from distributing labels to remote peers to save system resources. You can use either of the following modes:
In the LDP view, disable the PE from distributing labels to all remote peers.
In the view of a specified remote peer, disable the PE from distributing labels to the specified remote peer.
When TE services are transmitted over a backbone network in the LDP over TE scenario, do not perform this configuration.
Procedure
- Disable a device from distributing labels to a specified remote peer.
- Disable a device from distributing LDP labels to all remote peers.
If an explicit configuration has been performed to allow a device to distribute labels to a specified remote LDP peer, run clear remote-ip pwe3 to delete the configuration, you can perform this step.