[SPE1]
vsi V100 static
[SPE1-vsi-V100]
pwsignal ldp
[SPE1-vsi-V100-ldp]
vsi-id 100
[SPE1-vsi-V100-ldp]
mac-withdraw enable
[SPE1-vsi-V100-ldp]
peer 3.3.3.9
[SPE1-vsi-V100-ldp]
peer 4.4.4.9 static-upe trans 100 recv 100
[SPE1-vsi-V100-ldp]
quit
# Configure SPE2.
<SPE2>
system-view
[SPE2]
mpls l2vpn
[SPE2]
vsi V100 static
[SPE2-vsi-V100]
pwsignal ldp
[SPE2-vsi-V100-ldp]
vsi-id 100
[SPE2-vsi-V100-ldp]
mac-withdraw enable
[SPE2-vsi-V100-ldp]
peer 1.1.1.9
[SPE2-vsi-V100-ldp]
peer 5.5.5.9 static-upe trans 100 recv 100
[SPE2-vsi-V100-ldp]
quit
8.
Verify the configuration.
After the configuration, run the
display mpls static-l2vc
on UPEs. You can find that static
VLLs are established and the VC status is Up. Take the display on UPE1 as an example.
<UPE1>
display mpls static-l2vc interface vlanif 10
*Client Interface : Vlanif10 is up
AC Status : up
VC State :
up
VC ID : 0
VC Type : VLAN
Destination : 1.1.1.9
Transmit VC Label : 100
Receive VC Label : 100
Control Word : Disable
VCCV Capabilty : Disable
Tunnel Policy : --
PW Template Name : --
Traffic Behavior : --
Main or Secondary : Main
VC tunnel/token info : 1 tunnels/tokens
NO.0 TNL Type : lsp , TNL ID : 0x10020
Create time : 0 days, 0 hours, 10 minutes, 45 seconds
UP time : 0 days, 0 hours, 10 minutes, 45 seconds
Last change time : 0 days, 0 hours, 10 minutes, 45 seconds
VC last up time : 2010/02/02 12:31:31
VC total up time : 0 days, 0 hours, 10 minutes, 45 seconds
Run the
display vsi name V100
command on SPEs, and you can find that the VSI named
V100 is Up and the corresponding PW is also Up. Take the display on SPE1 as an example.
<SPE1>
display vsi name V100 verbose
***VSI Name : V100
Administrator VSI : no
Isolate Spoken : disable
VSI Index : 0
PW Signaling : ldp
Member Discovery Style : static
PW MAC Learn Style : unqualify
Encapsulation Type : vlan
MTU : 1500
Diffserv Mode : uniform
Mpls Exp : --
DomainId : 0
Domain Name :
Ignore AcState : disable
Create Time : 0 days, 3 hours, 30 minutes, 31 seconds
VSI State :
up
VSI ID : 100
*Peer Router ID : 3.3.3.9
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.
766