# 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
Administrator PW : no
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
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
active state : active
forwarding entry : exist
link state : up
local VC MTU : 1500 remote VC MTU : 1500
local VCCV : Disable
remote VCCV : Disable
local control word : disable remote control word : disable
tunnel policy : --
traffic behavior : --
PW template name : --
primary or secondary : primary
VC tunnel/token info : 1 tunnels/tokens
NO.0 TNL type : lsp , TNL ID : 0x20021
create time : 0 days, 0 hours, 8 minutes, 8 seconds
up time : 0 days, 0 hours, 7 minutes, 26 seconds
last change time : 0 days, 0 hours, 7 minutes, 26 seconds
VC last up time : 2008-07-24 12:31:31
VC total up time : 0 days, 2 hours, 12 minutes, 51 seconds
CKey : 11
NKey : 10
PW redundancy mode : --
AdminPw interface : --
AdminPw link state : --
<ASBR-PE2> display mpls l2vc interface vlanif 30
*client interface : Vlanif30 is up
Administrator PW : no
session state : up
AC state : up
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.
662