R3303-HP HSR6800 Routers MPLS Configuration Guide

214
To configure a static 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 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.