R3303-HP HSR6800 Routers MPLS Configuration Guide
213
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 static VPLS
Before you configure static 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."
Configuring a static VPLS instance
To create a static 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. Specify the PW signaling protocol as static.
3. 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 the NPEs.
{ PW class template to be referenced. A PW class template defines the PW transport mode and
tunneling policy for the PW.
4. Specify the local and remote VC labels.