[UPE1] mpls l2vpn
[UPE1] mpls l2vpn default martini
[UPE1-l2vpn] quit
[UPE1] interface vlanif 50
[UPE1-Vlanif50] mpls l2vc 1.1.1.9 100
[UPE1-Vlanif50] quit
# Configure UPE2.
[UPE2] mpls l2vpn
[UPE2-l2vpn] quit
[UPE2] interface vlanif 60
[UPE2-Vlanif60] mpls l2vc 3.3.3.9 100
[UPE2-Vlanif60] quit
Step 7 Enable the MPLS L2VPN function and configure VSIs on SPEs.
# Configure SPE1.
[SPE1] mpls l2vpn
[SPE1-l2vpn] quit
[SPE1] vsi v100 static
[SPE1-vsi-v100] pwsignal ldp
[SPE1-vsi-v100-ldp] vsi-id 100
[SPE1-vsi-v100-ldp] peer 3.3.3.9
[SPE1-vsi-v100-ldp] peer 4.4.4.9 upe
[SPE1-vsi-v100-ldp] quit
# Configure SPE2.
[SPE2] mpls l2vpn
[SPE2-l2vpn] quit
[SPE2] vsi v100 static
[SPE2-vsi-v100] pwsignal ldp
[SPE2-vsi-v100-ldp] vsi-id 100
[SPE2-vsi-v100-ldp] peer 1.1.1.9
[SPE2-vsi-v100-ldp] peer 5.5.5.9 upe
[SPE2-vsi-v100-ldp] quit
Step 8 Verify the configuration.
After the configuration, run the display mpls l2vc command on the UPEs. You can find that the
dynamic VLLs are established and the VC status is Up. Take the display on UPE1 as an example.
[UPE1] display mpls l2vc
total LDP VC : 1 1 up 0 down
*client interface : Vlanif50
session state : up
AC status : up
VC state : up
VC ID : 100
VC type : VLAN
destination : 1.1.1.9
local VC label : 23552 remote VC label : 23552
control word : disable
forwarding entry : exist
local group ID : 0
manual fault : not set
active state : active
link state : up
local VC MTU : 1500 remote VC MTU : 1500
tunnel policy name : --
traffic behavior name: --
PW template name : --
primary or secondary : primary
create time : 0 days, 0 hours, 7 minutes, 55 seconds
up time : 0 days, 0 hours, 4 minutes, 58 seconds
last change time : 0 days, 0 hours, 4 minutes, 58 seconds
Quidway S7700 Smart Routing Switch
Configuration Guide - VPN 7 VPLS Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
776