MA5616 in the upstream direction. For the identification purpose, the user name and
password for dial-up Internet access must be configured on the BRAS.
Procedure
Step 1
Configure a VLAN.
Configure S-VLAN 50 with the stacking attribute. The user packet goes upstream carrying two
VLAN tags. The outer VLAN tag identifies the service and the inner VLAN tag identifies the
user. The service of each user is identified by unique S-VLAN+C-VLAN, and the VLAN
forwarding mode is the S-VLAN+C-VLAN mode.
huawei(config)#
vlan 50 smart
huawei(config)#
vlan attrib 50 stacking
huawei(config)#
vlan service-profile profile-id 1
huawei(config-vlan-srvprof-1)#
forwarding vlan-connect
huawei(config-vlan-srvprof-1)#
commit
huawei(config-vlan-srvprof-1)#
quit
huawei(config)#
vlan bind service-profile 50 profile-id 1
Step 2
Configure upstream ports.
Add upstream ports 0/0/0 to VLAN 50.
huawei(config)#
port vlan 50 0/0 0
Step 3
In the ADSL access mode, follow this procedure.
1.
Configure an ADSL2+ profile. For details, see
3.7.1 Configuring the ADSL2+ Profile
.
Here, the default ADSL2+ line template (line template 1) and the default ADSL2+ alarm
template (alarm template 1) are used as an example.
2.
Activate the ADSL port, and bind the ADSL2+ templates.
NOTE
By default, an ADSL port is in the activated state. Before binding a template to the port, you must deactivate
the port.
In the ADSL access mode, bind the default ADSL2+ line template 1 and ADSL2+ alarm
template 1 to ADSL port 0/2/0.
huawei(config)#
interface adsl 0/2
huawei(config-if-adsl-0/2)#
deactivate 0
huawei(config-if-adsl-0/2)#
activate 0 template-index 1
huawei(config-if-adsl-0/2)#
alarm-config 0 1
huawei(config-if-adsl-0/2)#
quit
3.
Run the
display traffic table
command to query the existing traffic profiles in the system.
huawei(config)#
display traffic table ip from-index
0
{ <cr>|to-
index<K> }:
Command:
display traffic table ip from-index
0
----------------------------------------------------------------------------
TID CIR(kbps) CBS(bytes) PIR(kbps) PBS(bytes) Pri Copy-policy Pri-
Policy
----------------------------------------------------------------------------
0 1024 34768 2048 69536 6 - tag-
pri
1 2496 81872 4992 163744 6 - tag-
pri
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.
316