mpls l2vpn
MPLS L2VPN is enabled.
Before configuring an MPLS L2VC connection, enable MPLS L2VPN.
----End
6.4.3 Creating a Static PW
Before configuring a static PW, you must specify the VC label.
Context
Do as follows on the PEs on the two ends of a PW:
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
interface
interface-type
interface-number
[
subinterface-number
]
The view of the interface attached to an AC is displayed.
Step 3
(Optional) Run:
undo portswitch
The Layer 2 interface is switched to a Layer 3 interface.
When using XGE, GE, Ethernet, and Eth-Trunk interfaces as AC interfaces, you need to run the
undo portswitch
command to switch Layer 2 interfaces to Layer 3 interfaces.
Step 4
Run:
mpls static-l2vc
{
destination
ip-address
|
pw-template
pw-template-name
vc-id
}
*
transmit-vpn-label
transmit-label-value
receive-vpn-label
receive-label-value
[
tunnel-policy
tnl-policy-name
| [
control-word
|
no-control-word
] | [
raw
|
tagged
] ]
*
A static PW is configured.
NOTE
The parameters
raw
and
tagged
are specified in the command only when the link type is Ethernet.
----End
6.4.4 Checking the Configuration
After a static PW is configured, you can view information about the static PW.
Prerequisite
The configurations of the static PW function are complete.
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.
556