huawei(config)#mpls ldp remote-peer to_spe1
huawei(config-mpls-ldp-remote-to_spe1)#remote-ip 1.1.1.1
huawei(config-mpls-ldp-remote-to_spe1)#remote-ip auto-dod-request
huawei(config-mpls-ldp-remote-to_spe1)#quit
huawei(config)#mpls ldp remote-peer to_spe2
huawei(config-mpls-ldp-remote-to_spe2)#remote-ip 2.2.2.2
huawei(config-mpls-ldp-remote-to_spe2)#remote-ip auto-dod-request
huawei(config-mpls-ldp-remote-to_spe2)#quit
Step 5 Configure a VSI.
1. Add a VSI.
Create a VSI named multicast. Set the signaling protocol to LDP and VSI ID to 1.
huawei(config)#vsi multicast
huawei(config-vsi-multicast)#pwsignal ldp
huawei(config-vsi-multicast)#vsi-id 1
2. (Optional) Disable the suppression of the unknown multicast of the VSI.
If the VSI unknown multicast suppression is enabled, you need to configure this step.
Otherwise, packet loss will occur in the multicast services.
huawei(config-vsi-multicast)#undo traffic-suppress multicast
3. (Optional) Configure attributes of VSI.
Configure basic attributes of VSI as required, including the encapsulation type, control
word, and MTU value. In the following example, the control word is enabled and default
values are used for other parameters.
huawei(config-vsi-multicast)#control-word
Step 6 Configure PWs.
Create two PWs with IDs 1 and 2. Set the service type to vpls, the remote IP addresses to
1.1.1.1 and 2.2.2.2 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 1.1.1.1
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 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
Step 7 Bind PW and VSI.
Dynamically bind PW1 and PW2 to the VSI named multicast to establish the VPLS PW service.
huawei(config)#vsi multicast
huawei(config-vsi-multicast)#vsi-pw-binding pwindex 1
huawei(config-vsi-multicast)#vsi-pw-binding pwindex 2
Step 8 Bind AC and VSI.
Bind multicast VLAN 100 to the VSI named multicast, so that the multicast service packets of
VLAN 100 can be forwarded in VSI.
l The same multicast VLAN cannot be bound to the VPLS instance and PW at the same time.
l The same restrictions are set for binding multicast VLANs and VSI as those for binding
unicast VLANs and VSI. That is, when the VPLS encapsulation type is raw, one VIS can
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.
498