162
Configuring LDP VPLS
Configuration prerequisites
•
Configure IGP on the MPLS backbone devices (PEs and P devices) to guarantee the IP connectivity
of the MPLS backbone. For configuration details, see
Layer 3—IP Routing Configuration Guide
.
•
Configure basic MPLS on the MPLS backbone devices (PEs and P devices) to establish LSP tunnels
on the backbone network. For configuration information, see the chapter “Configuring basic
MPLS.”
•
Configure LDP remote peers on PEs to establish remote LDP sessions. For configuration information,
see the chapter “Configuring basic MPLS.”
Enabling L2VPN and MPLS L2VPN
You need to enable L2VPN and MPLS L2VPN before you can perform VPLS related configurations.
To enable L2VPN and MPLS L2VPN:
Step Command
1.
Enter system view.
system-view
2.
Enable L2VPN and enter L2VPN view.
l2vpn
3.
Enable MPLS L2VPN.
mpls l2vpn
NOTE:
For more information about the
l2vpn
command and the
mpls l2vpn
command, see
MPLS Command
Reference.
Configuring an LDP VPLS instance
Configuration prerequisites
•
Configuring IGP on the PEs and P devices to guarantee the IP connectivity of the MPLS backbone
•
Configuring basic MPLS for the MPLS backbone on the PEs and P devices
•
Configuring MPLS L2VPN
Configuration procedure
When creating an LDP VPLS instance, you need to perform the following configurations:
1.
Specify a globally unique name for the VPLS instance and set the peer discovery mechanism to
manual configuration.
2.
In L2VPN implementation, the Martini mode uses extended LDP (remote LDP sessions) as the
signaling for transferring PW information. Therefore, the LDP mode is also called the Martini mode.
When configuring a VPLS instance in LDP mode, you must configure LDP as the signaling protocol
to be used.
3.
Specify the ID of the VPLS instance.
4.
Use the
peer
command to create the VPLS peer PE for the instance, specifying:
•
IP address of the peer PE.