169
Task Remarks
Configuring VPLS instance attributes Optional.
Enabling L2VPN and MPLS L2VPN
Enable L2VPN and MPLS L2VPN before you 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
For more information about the l2vpn command and the mpls l2vpn command, see MPLS Command
Reference.
Configuring LDP VPLS
Before you configure LDP VPLS, complete the following tasks:
• Configure an IGP on the MPLS backbone devices (PEs and P devices) to ensure IP connectivity. For
configuration information, see Layer 3—IP Routing Configuration Guide.
• Configure basic MPLS on the MPLS backbone devices (PEs and P devices) to establish LSP tunnels
over the backbone network. For configuration information, see "Configuring basic MPLS."
• Configure LDP remote peers on PEs to establish remote LDP sessions. For configuration information,
see "Configuring basic MPLS."
Configuring an LDP VPLS instance
When creating an LDP VPLS instance, perform the following configurations:
1. Specify a globally unique name for the VPLS instance and set the peer discovery mechanism to
manual configuration.
2. Configure LDP as the PW signaling protocol.
3. Specify the ID of the VPLS instance.
4. Use the peer command to configure a VPLS peer PE for the instance, including the following
parameters:
{ IP address of the peer PE.
{ ID of the PW to the peer PE, which must be consistent with that specified on the peer PE.
{ Type of the peer PE. Use the upe keyword to specify a UPE peer, which is an MTU-s device in
the H-VPLS model; or use the backup-peer keyword to configure two NPE peers (one primary
one backup).
You can configure only one pair of primary and backup NPEs. The remote NPEs must be fully
meshed, but it is not necessary for the UPE to connect to all NPEs.