l
In the networking where CEs are asymmetrically connected to PEs, you need to configure
primary and backup PWs. The primary and backup PWs must be of the same type.
NOTE
PWE3 FRR supports only dynamic PWs, namely, LDP PWs, rather than static PWs.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
mpls l2vpn
MPLS L2VPN is enabled, and the MPLS L2VPN view is displayed.
Step 3
Run:
quit
Return to the system view.
Step 4
Run:
interface
interface-type
interface-number
The AC interface view is displayed.
Step 5
(Optional) Run:
undo portswitch
A Layer 2 interface is switched to a Layer 3 interface.
When using XGE, GE, Ethernet, and Eth-Trunk interfaces as AC interfaces, run this command
to switch Layer 2 interfaces to Layer 3 interfaces.
Step 6
Run:
mpls l2vc
{
ip-address
|
pw-template
pw-template-name
}
*
vc-id
[
group-id
group-
id
|
tunnel-policy
policy-name
| [
control-word
|
no-control-word
] | [
raw
|
tagged
] |
mtu
mtu-value
]
*
The primary PW is configured.
NOTE
Before using a PW template to create a PW, you need to configure a PW template. For details, refer to
Configuring the Attributes of a PW Template
.
Step 7
(Optional) Run:
mpls l2vc
{
ip-address
|
pw-template
pw-template-name
}
*
vc-id
[
group-id
group-
id
|
tunnel-policy
policy-name
| [
control-word
|
no-control-word
] | [
raw
|
tagged
] |
mtu
mtu-value
]
*
secondary
The backup PW is configured.
Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
6 PWE3 Configuration
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
578