Step 5
Configure VSI.
1.
Add a VSI.
Create a VSI named
enterprise_vpn
. Set the signaling protocol to
LDP
and VSI ID to
1
.
huawei(config)#
vsi enterprise_vpn
huawei(config-vsi-enterprise_vpn)#
pwsignal ldp
huawei(config-vsi-enterprise_vpn)#
vsi-id 1
2.
(Optional) Configure the attributes of VSI.
Configure basic attributes of VSI as required, including the encapsulation type, control
word, MTU value, and traffic suppression policy. In the following example, the control
word is enabled and default values are used for other parameters.
huawei(config-vsi-enterprise_vpn)#
control-word
Step 6
Configure PWs.
Create four PWs with IDs 1-4. Set the service type to
vpls
, the remote IP addresses to the IP
addresses of PE1-PE4, and encapsulation type to
ethernet tagged
. Enable the control word, and
set the receive labels of dynamic PW to
10240
,
10250
,
10260
, and
10270
respectively.
huawei(config)#
pw-para pwindex 1
huawei(config-pw-para-index-1)#
service-type vpls
huawei(config-pw-para-index-1)#
pwid 1
huawei(config-pw-para-index-1)#
peer-address 5.5.5.5
huawei(config-pw-para-index-1)#
pw-type ethernet tagged
huawei(config-pw-para-index-1)#
control-word enable
huawei(config-pw-para-index-1)#
dyn-receive-label 10240
huawei(config-pw-para-index-1)#
quit
huawei(config)#
pw-para pwindex 2
huawei(config-pw-para-index-2)#
service-type vpls
huawei(config-pw-para-index-2)#
pwid 1
huawei(config-pw-para-index-2)#
peer-address 2.2.2.2
huawei(config-pw-para-index-2)#
pw-type ethernet tagged
huawei(config-pw-para-index-2)#
control-word enable
huawei(config-pw-para-index-2)#
dyn-receive-label 10250
huawei(config-pw-para-index-2)#
quit
huawei(config)#
pw-para pwindex 3
huawei(config-pw-para-index-3)#
service-type vpls
huawei(config-pw-para-index-3)#
pwid 3
huawei(config-pw-para-index-3)#
peer-address 3.3.3.3
huawei(config-pw-para-index-3)#
pw-type ethernet tagged
huawei(config-pw-para-index-3)#
control-word enable
huawei(config-pw-para-index-3)#
dyn-receive-label 10260
huawei(config-pw-para-index-3)#
quit
huawei(config)#
pw-para pwindex 4
huawei(config-pw-para-index-4)#
service-type vpls
huawei(config-pw-para-index-4)#
pwid 4
huawei(config-pw-para-index-4)#
peer-address 4.4.4.4
huawei(config-pw-para-index-4)#
pw-type ethernet tagged
huawei(config-pw-para-index-4)#
control-word enable
huawei(config-pw-para-index-4)#
dyn-receive-label 10270
huawei(config-pw-para-index-4)#
quit
Step 7
Bind PW and VSI.
Dynamically bind PW 1 and PW 4 in spoke mode, and dynamically bind PW 2 and PW 3 to the
VSI named
enterprise_vpn
to establish the VPLS PW service. The spoke mode is used to
identify the peer is a user-side PE, and split horizon is not performed between PWs.
huawei(config)#
vsi enterprise_vpn
huawei(config-vsi-enterprise_vpn)#
vsi-pw-binding pwindex 1 spoke
huawei(config-vsi-enterprise_vpn)#
vsi-pw-binding pwindex 2
huawei(config-vsi-enterprise_vpn)#
vsi-pw-binding pwindex 3
huawei(config-vsi-enterprise_vpn)#
vsi-pw-binding pwindex 4 spoke
Step 8
Configure VPLS PW protection.
SmartAX MA5600T/MA5603T/MA5608T Multi-service
Access Module
Commissioning and Configuration Guide
6 Configuration Example of VPLS
Issue 01 (2014-04-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
504