beautypg.com

Enabling l2vpn and mpls l2vpn, Configuring an ldp vpls instance – H3C Technologies H3C S10500 Series Switches User Manual

Page 178

background image

167

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 “MPLS basics

configuration.”

Configure LDP remote peers on PEs to establish remote LDP sessions. For configuration information,

see the chapter “MPLS basics configuration.”

Enabling L2VPN and MPLS L2VPN

Enable L2VPN and MPLS L2VPN before you perform VPLS-related configurations.
Follow these steps to enable L2VPN and MPLS L2VPN:

To do…

Use the command…

Remarks

Enter system view

system-view

Enable L2VPN and enter L2VPN
view

l2vpn

Required

Enable MPLS L2VPN

mpls l2vpn

Required

NOTE:

For detailed information about the l2vpn command and the mpls l2vpn command, see

MPLS Command

Reference.

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 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 the following:

{

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. If you specify a peer as a UPE, the peer is a user access convergence device
in the H-VPLS model. If you specify the backup-peer keyword when creating the peer, the local

PE is a UPE and you create a primary NPE and a secondary NPE on it. On a UPE, you can

configure only one pair of primary and secondary NPEs. The specified remote NPE peers must

be fully meshed, but it is not necessary for a UPE to connect with all the NPEs.

{

PW class template to be referenced. A PW class template defines the PW transport mode and
tunneling policy to be used.

Follow these steps to configure an LDP VPLS instance:

To do…

Use the command…

Remarks

Enter system view

system-view

Create a PW class template and
enter its view

pw-class pw-class-name

Optional
By default, no PW class template is

created.