Step 4 Configure the MPLS L2VC connection.
Configure the L2VC connection on the U-PE and ASBR-PE and connect the U-PE to the CE.
# Configure PE1.
[PE1] mpls l2vpn
[PE1-l2vpn] quit
[PE1] interface vlanif 10
[PE1-Vlanif10] mpls l2vc 2.2.2.9 100
[PE1-Vlanif10] quit
# Configure ASBR-PE1.
[ASBR-PE1] mpls l2vpn
[ASBR-PE1-l2vpn] quit
[ASBR-PE1] interface vlanif 30
[ASBR-PE1-Vlanif30] mpls l2vc 1.1.1.9 100
[ASBR-PE1-Vlanif30] quit
# Configure ASBR-PE2.
[ASBR-PE2] mpls l2vpn
[ASBR-PE2-l2vpn] quit
[ASBR-PE2] interface vlanif 30
[ASBR-PE2-Vlanif30] mpls l2vc 4.4.4.9 100
[ASBR-PE2-Vlanif30] quit
# Configure PE2.
[PE2] mpls l2vpn
[PE2-l2vpn] quit
[PE2] interface vlanif 50
[PE2-Vlanif50] mpls l2vc 3.3.3.9 100
[PE2-Vlanif50] quit
# Configure CE1.
[CE1] interface vlanif 10
[CE1-Vlanif10] ip address 100.1.1.1 255.255.255.0
[CE1-Vlanif10] quit
# Configure CE2.
[CE2] interface vlanif 50
[CE2-Vlanif50] ip address 100.1.1.2 255.255.255.0
[CE2-Vlanif50] 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 PE1 for example.
<PE1> display mpls l2vc interface vlanif 10
*client interface : Vlanif10 is up
session state : up
AC state : up
VC state : up
VC ID : 100
VC type : VLAN
destination : 2.2.2.9
local group ID : 0 remote group ID : 0
local VC label : 21505 remote VC label : 21505
local AC OAM State : up
local PSN State : up
local forwarding state : forwarding
remote AC OAM state : up
Quidway S9300 Terabit Routing Switch
Configuration Guide - VPN 5 PWE3 Configuration
Issue 03 (2009-08-20) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
5-95