[PE2]
pw-template 2to1
[PE2-pw-template-2to1]
peer 1.1.1.1
[PE2-pw-template-2to1]
control-word
[PE2-pw-template-2to1]
quit
[PE2]
interface vlanif 50
[PE2-Vlanif50]
mpls l2vc pw-template 2to1 100
[PE2-Vlanif50]
quit
# Configure PE3.
[PE3]
mpls l2vpn
[PE3-l2vpn]
quit
[PE3]
pw-template 3to1
[PE3-pw-template-3to1]
peer 1.1.1.1
[PE3-pw-template-3to1]
control-word
[PE3-pw-template-3to1]
quit
[PE3]
interface vlanif 70
[PE3-Vlanif70]
mpls l2vc pw-template 3to1 200
[PE3-Vlanif70]
quit
After the configuration, run the
display mpls l2vc interface
command on PEs. You can see that
PWs are set up and are in the Active state. In addition, you can find that the BFD for PW function
is disabled on the PWs.
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 :
4.4.4.4
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
active state :
active
forwarding entry : exist
link state : up
local VC MTU : 1500 remote VC MTU : 1500
local VCCV : cw alert lsp-ping bfd
remote VCCV : cw alert lsp-ping bfd
local control word : enable remote control word : enable
tunnel policy : --
traffic behavior : --
PW template name : 1to2
primary or secondary :
primary
VC tunnel/token info : 1 tunnels/tokens
NO.0 TNL type : lsp , TNL ID : 0x48002004
create time : 0 days, 1 hours, 22 minutes, 22 seconds
up time : 0 days, 1 hours, 21 minutes, 14 seconds
last change time : 0 days, 1 hours, 21 minutes, 14 seconds
VC last up time : 2010-11-24 12:31:31
VC total up time : 0 days, 2 hours, 12 minutes, 51 seconds
CKey : 16
NKey : 15
PW redundancy mode : --
AdminPw interface : --
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.
625