The MAC address encapsulated into packets during the PPPoA-PPPoE conversion is
the MAC address allocated to the user from the MAC address pool.
2.
Run the
pppoa enable
command to enable the PPPoA-PPPoE protocol conversion.
By default, the PPPoA-PPPoE protocol conversion is disabled.
3.
Run the
encapsulation
command to set the user packet encapsulation mode (select
pppoa
as the encapsulation mode).
NOTE
l
PPPoA encapsulation is not supported in the single-PVC for multiple service or QinQ VLAN
application.
l
To switch the encapsulation mode from IPoA to PPPoA, you must change the encapsulation
mode to llc bridge first and then perform switching.
4.
Run the
pppoa mru
command to enable PPPoA-PPPoE MRU negotiation. By default,
the PPPoA-PPPoE MRU negotiation is disabled. Enable or disable the PPPoA-PPPoE
MRU negotiation according to the packet processing conditions.
–
When the MRU negotiation is disabled, the PC initiates the PPPoE connection and
negotiates according to the 1492-byte MRU. In this case, packets need to be
segmented and reassembled.
–
When the MRU negotiation is enabled, the MA5616 identifies the PPPoA-PPPoE
converted packets, adds a tag to the packets and then sends them to the upper-layer
BRAS. Then, the BRAS negotiates with the CPE according to the 1500-byte MRU.
In this way, the MTU between the CPE and the BRAS is equal to the standard
Ethernet MTU. In this case, the packets need not be segmented or reassembled.
----End
Example
The MA5616 works in the L2 mode, the default gateway is the same as the IP address of the
upper-layer router, which is 10.1.1.1, and the IPoA service encapsulation mode is LLC. To
enable the IPoA-IPoE conversion with the start MAC address 0000-0000-0001 in the MAC
address pool that contains 200 MAC addresses, do as follows:
huawei(config)#
mac-pool xpoa 0000-0000-0001 200
huawei(config)#
ipoa enable
huawei(config)#
ipoa default gateway 10.1.1.1
huawei(config)#
encapsulation 0/2/0 vpi 0 vci 35 type ipoa llc srcIP 10.1.1.20
The PPPoA service encapsulation mode is LLC. To enable the PPPoA-PPPoE protocol
conversion with the start MAC address 0000-1010-1000 in the MAC address pool that contains
200 MAC addresses, do as follows:
huawei(config)#
mac-pool xpoa 0000-1010-1000 200
huawei(config)#
pppoa enable
huawei(config)#
encapsulation 0/2/0 vpi 0 vci 35 type pppoa llc
SmartAX MA5616 Multi-service Access Module
Configuration Guide
5 Configuring the xDSL Internet Access Service
Issue 04 (2011-10-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
175