
206
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."
5.
Return to system view.
quit
N/A
6.
Create an LDP VPLS
instance and enter VSI view.
vsi
vsi-name
static
[
p2p
] N/A
7.
Specify LDP as the PW
signaling protocol and enter
VSI LDP view.
pwsignal ldp
N/A
8.
Specify an ID for the VPLS
instance.
vsi-id
vsi-id
N/A
9.
Create a peer PE for the
VPLS instance and enter
L2VPN peer view.
peer
ip-address
[
pw-class
class-name
| [
pw-id
pw-id
] [
upe
|
backup-peer
ip-address
[
backup-pw-id
pw-id
] ] ] *
N/A
10.
Return to VSI LDP view.
quit
N/A
11.
Enable the PW switchover
function and set the
switchover delay time.
dual-npe revertive
[
wtr-time
wtr-time
]
Optional.
By default, PW switchover is
disabled.