The configuration procedure is not mentioned.
Step 4
Create a VC connection.
Enable MPLS L2VPN on U-PE1, U-PE2, and S-PE.
Create a dynamic VC connection U-PE1 and a static VC connection on U-PE2. Configure a
mixed switching PW on the S-PE.
# Configure U-PE1.
[U-PE1]
mpls l2vpn
[U-PE1]
interface vlanif 10
[U-PE1-Vlanif10]
mpls l2vc 3.3.3.9 100
[U-PE1-Vlanif10]
quit
NOTE
When configuring mixed switching PW, note that
ip-address vc-id
on the left of
between
specifies the
dynamic PW, and
ip-address vc-id
on the right of
between
specifies the static PW. They cannot be
interchanged.
# Configure S-PE.
[S-PE]
mpls l2vpn
[S-PE-l2vpn]
quit
[S-PE]
mpls switch-l2vc 1.1.1.9 100 between 5.5.5.9 200 trans 200 recv 100
encapsulation vlan
# Configure U-PE2.
[U-PE2]
mpls l2vpn
[U-PE2-l2vpn]
quit
[U-PE2]
pw-template pwt
[U-PE2-pw-template-pwt]
peer-address 3.3.3.9
[U-PE2-pw-template-pwt]
quit
[U-PE2]
interface vlanif 60
[U-PE2-Vlanif60]
mpls static-l2vc pw-template pwt 200 transmit-vpn-label 100
receive-vpn-label 200
[U-PE2-Vlanif60]
quit
Step 5
Verify the configuration.
Display information about the L2VPN connection on PE. You can see that an L2VC is set up
and the VC status is Up.
Take the display on U-PE1 and S-PE for example.
<U-PE1>
display mpls l2vc interface vlanif 10
*client interface : Vlanif10 is up
Administrator PW : no
session state : up
AC state : up
VC state :
up
VC ID : 100
VC type : VLAN
destination : 3.3.3.9
local group ID : 0 remote group ID : 0
local VC label : 23552 remote VC label : 23552
local AC OAM State : up
local PSN State : up
local forwarding state : forwarding
local status code : 0x0
remote AC OAM state : up
remote PSN state : up
remote forwarding state: forwarding
remote status code : 0x0
BFD for PW : unavailable
manual fault : not set
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.
615