133
•
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.”
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.
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.
Configure the PW transport mode
trans-mode
{
ethernet
|
vlan
}
Optional
VLAN by default
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 how to configure a tunneling
policy, see the chapter
“Configuring MPLS L3VPN.”
Return to system view
quit
—
Create an LDP VPLS instance and
enter VSI view
vsi
vsi-name
static
[
hub-spoke
|
p2p
]
Required
Specify LDP as the PW signaling
protocol and enter VSI LDP view
pwsignal ldp
Required
Specify an ID for the VPLS instance
vsi-id
vsi-id
Required