Professional Documents
Culture Documents
Service?
This topic describes how to configure the Internet access service for individual users
when the VPLS networking is used at the access and aggregation layers.
Application Context
As shown in the below, the MA5600T/MA5603T/MA5608T is dual homed to two
AGS devices (aggregation switches) PE3 and PE4 through VPLS, and the Internet
access service is received in PPPoE dialup mode. In the upstream direction, the traffic
stream is mapped into the VPLS domain through VLAN. The PPPOE active
discovery initiation (PADI) packets initiated by the user are broadcast in the VPLS
domain it belongs to, and then the broadcast packets are received by the two AGS
devices. The AGS devices terminate packets of some users respectively in delay
response mode to achieve load sharing. When a BRAS device is faulty, the user dials
up again. Then the VPLS MAC learning and forwarding mechanism automatically
selects a new BRAS to provide services.
Networking for the VPLS Internet access service for individual users
Prerequisite
Traffic streams have been configured on the MA5600T/MA5603T/MA5608T for the
Internet access service.
1. Configure the basic MPLS.
Configure a loopback interface.
Set the ID of the loopback interface to 0 and its IP address to 10.10.10.10/32.
huawei(config)#interface loopback 0
huawei(config-if-loopback0)#ip address 10.10.10.10 32
huawei(config-if-loopback0)#quit
Configure the MPLS LSR-ID. Use the IP address of loopback interface 0 as the
LSR ID.
huawei(config)#mpls lsr-id 10.10.10.10
Enable the LDP function globally and enable the split horizon policy.
huawei(config)#mpls ldp
huawei(config-mpls-ldp)#outbound peer all split-horizon
huawei(config-mpls-ldp)#quit
2. Configure VLAN and enable MPLS for VLAN and VLAN interfaces.
Add VLAN 4001 for forwarding MPLS packets and add upstream
port 0/19/0 and 0/19/1 to it.
huawei(config)#vlan 4001 smart
huawei(config)#port vlan 4001 0/19/0
huawei(config)#port vlan 4001 0/19/1
Set the IP address of VLAN interface 4001 to 10.50.50.50/24 and enable MPLS
LDP for the VLAN interface.
2
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
5. Configure a VSI.
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
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
huawei(config-pw-para-index-2)#dyn-receive-label 10250
huawei(config-pw-para-index-2)#quit
Result
1.
2.
3.
4
4.
5.
6.
After receiving the PADO packets from PWs, the OLT learns the MAC address
carried in the packets from PWs and forwards the packets to the user.
The user receives two PADO packets at different time and only responds to the
first received PADO packet to establish a PPPoE session.
The OLT forwards subsequent PPPOE active discovery request (PADR) and
PPPOE active discovery session-confirmation (PADS) packets based on learnt
MAC addresses
Huanetwork.com is a world leading Huawei networking products supplier, we supply original new
Huawei networking equipments, including Huawei switches, Huawei routers, Huaweisymantec
security products, Huawei IAD, Huawei SFP and other Huawei networking products. Our
customers include telecom operators, Huawei resellers, ISP and system integrators. Right now
most of our sales are contributed by regular customers.
In Huanetwork Lab, also we have Huawei OLT, MDU, DSLAM and switch for customer do
remote testing, any potential customer are welcome to login to our lab. If you need a total Huawei
FTTx solution or Huawei ADSL solution for your network, also you may feel free to contact us.