
205
Step Command
Remarks
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 a static VPLS
instance and enter VSI view.
vsi
vsi-name
static
[
p2p
]
By default, no VPLS instance
exists on the device.
7.
Specify the PW signaling
protocol as
static
and enter
VSI-static view.
pwsignal static
N/A
8.
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
] ] ] *
You must specify the PW ID by
using the
pw-id
keyword in this
command.
9.
Configure VC labels for the
primary VC.
static label local
local-vc
remote
remote-vc
By default, no VC labels are
configured for the primary VC.
10.
Configure VC labels for the
backup VC.
static backup-label local
local-vc
remote
remote-vc
Optional.
By default, no VC labels are
configured for the backup VC.
11.
Return to VSI-static view.
quit
N/A
12.
Enable the PW switchback
function and set the
switchover delay time.
dual-npe revertive
[
wtr-time
wtr-time
]
Optional.
Disabled by default.
NOTE:
•
The PW to PW (P2P) mode VSI is applicable only to point-to-point MPLS L2VPN.
•
To configure a multi-hop PW, specify the
p2p
keyword when you create a VPLS instance to
enable the P2P capability, and specify the two peer PEs by using the
peer
command in the VPLS
instance view to associate two PWs.
•
Up to two peer PEs can be specified for a P2P enabled VPLS instance, and one of them must be
specified as a UPE.
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."