R3303-HP HSR6800 Routers MPLS Configuration Guide

215
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 the NPEs.
{ PW class to be referenced. A PW class defines the PW transport mode and tunneling policy for
the PW.
To configure an LDP VPLS instance:
Step Command Remarks
1. Enter system view.
system-view N/A
2. Create a PW class and enter
its view.
pw-class pw-class-name
Optional.
By default, no PW class is created.
3. Configure the PW transport
mode.
trans-mode { ethernet | vlan }
Optional.
VLAN by default.
4. Specify a tunneling policy.
pw-tunnel-policy policy-name
Optional.
By default, the tunneling policy
specified through the tnl-policy
command in VSI view is used.
For information about configuring
a tunneling policy, see
"Configuring MPLS L3VPN."