huawei(config-if-vlanif4001)#
mpls ldp
huawei(config-if-vlanif4001)#
quit
Step 3
Configure routes.
VPLS has no special requirements on routing policy. You can use static route, RIP, or OSPF
policy. In the following example, OSPF is used.
Set the OSPF process ID to
100
and OSPF area ID to
1
. In addition, configure the interfaces
(VLAN interface and loopback interface) that run OSPF and configure the areas of the interfaces.
huawei(config)#
ospf 1
huawei(config-ospf-1)#
area 100
huawei(config-ospf-1-area-0.0.0.100)#
network 10.50.50.0 0.0.0.255
huawei(config-ospf-1-area-0.0.0.100)#
network 10.10.10.10 0.0.0.0
huawei(config-ospf-1-area-0.0.0.100)#
return
Step 4
Configure the remote LDP session.
Configure the remote LDP session from the MA5600T/MA5603T/MA5608T to PE3 (LSR ID:
3.3.3.3) and PE4 (LSR ID: 4.4.4.4) respectively. Name the sessions
to_pe3
and
to_pe4
respectively.
huawei(config)#
mpls ldp remote-peer to_pe3
huawei(config-mpls-ldp-remote-to_pe3)#
remote-ip 3.3.3.3
huawei(config-mpls-ldp-remote-to_pe3)#
remote-ip auto-dod-request
huawei(config-mpls-ldp-remote-to_pe3)#
quit
huawei(config)#
mpls ldp remote-peer to_pe4
huawei(config-mpls-ldp-remote-to_pe4)#
remote-ip 4.4.4.4
huawei(config-mpls-ldp-remote-to_pe4)#
remote-ip auto-dod-request
huawei(config-mpls-ldp-remote-to_pe4)#
quit
Step 5
Configure a VSI.
1.
Add a VSI.
Create a VSI named
hsi
. Set the signaling protocol to
LDP
. and VSI ID to
1
.
huawei(config)#
vsi hsi
huawei(config-vsi-hsi)#
pwsignal ldp
huawei(config-vsi-hsi)#
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-hsi)#
control-word
Step 6
Configure PWs.
Create two PWs with IDs 1 and 2. Set the service type to
vpls
, remote IP addresses to
3.3.3.3
and
4.4.4.4
respectively, and encapsulation type to
ethernet tagged
. Enable the control word,
and set the receive labels of dynamic PW to
10240
and
10250
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 3.3.3.3
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 2
huawei(config-pw-para-index-2)#
peer-address 4.4.4.4
huawei(config-pw-para-index-2)#
pw-type ethernet tagged
huawei(config-pw-para-index-2)#
control-word enable
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.
493