the S-VLAN is VLAN 50. The VPI and VCI must be the same as the management VPI and
VCI of the peer modem. Assume that the management VPI and VCI of the modem are 1
and 39. To facilitate the maintenance of the service port, also configure the service port
description.
huawei(config)#
service-port 3 vlan 50 vdsl mode atm 0/1/0 vpi 1 vci 39 inbound
traffic-table index 5 outbound
traffic-table index 5
huawei(config)#
service-port desc 3 description MA5616HW/Vlanid:50/vdsl/smart
5.
Set the maximum number of MAC addresses that can be learned by the service port is 16.
This parameter is to limit the maximum number of the MAC addresses that can be learned
by one account, namely the maximum number of the PCs that can access the Internet
through one account.
huawei(config)#
mac-address max-mac-count service-port 3 16
Step 6
Enable the IPoA-IPoE protocol conversion.
This step is to configure the IPoA MAC address pool. The start MAC address in the MAC address
pool is 0000-1111-1010, and the maximum number of the MAC addresses in the MAC address
pool is 300. The IPoA-IPoE protocol conversion is enabled, the default gateway is the same as
the IP address (192.168.1.20) of the upper-layer router, and the service encapsulation mode is
LLC-IPoA. The IP address of the modem is 192.168.1.1.
NOTE
Run the
encapsulation
command to configure the target IP address for IPoA encapsulation. If you do not
configure the target IP address, the IP address of the default gateway of the IPoA encapsulation is used.
This example uses the IP address of the default gateway of the IPoA encapsulation as the user target IP
address.
huawei(config)#
mac-pool xpoa 0000-1111-1010 300
huawei(config)#
ipoa enable
huawei(config)#
ipoa default gateway 192.168.1.20
huawei(config)#
encapsulation 0/2/0 vpi 1 vci 39 type ipoa llc srcIP 192.168.1.1
huawei(config)#
encapsulation 0/4/0 vpi 1 vci 39 type ipoa llc srcIP 192.168.1.1
huawei(config)#
encapsulation 0/1/0 vpi 1 vci 39 type ipoa llc srcIP 192.168.1.1
Step 7
Save the data.
huawei(config)#
save
----End
Verification
l
Step 1: Set the VPI/VCI of the modem to 1/39, encapsulation mode to llc-ipoa, and IP
address to 192.168.1.1.
l
Step 2: After the settings on the modem are completed, the network connection is
automatically set up and the user can access the Internet.
l
Step 3: When downloading files through FTP, you can open
Task Manager
in Windows
and click
Networking
to check the link rate. Calculate the Internet access rate by the
formula: Attainable Internet access rate = Computer NIC rate/48 x 53 x 8. The calculated
result approximates to the planned 2048 kbit/s.
Configuration File
Configuration File of the ADSL access mode:
vlan 50 smart
port vlan 50 0/0 0
adsl line-profile quickadd 3 2 snr 60 30 120 60 30 120
adsl channel-profile quickadd 3 interleaved-delay 10 10 rate 1024 2048 3096 1024
SmartAX MA5616 Multi-service Access Module
Configuration Guide
8 Configuration Example of Services on the MA5616
Through GPON Upstream Transmission
Issue 04 (2011-10-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
340