huawei(config)#
vlan 100,150,200,300,320 smart
huawei(config)#
vlan attrib 100,150,300 q-in-q
huawei(config)#
port vlan 100,150,200,300,320 0/19 0
Step 2
Configure the traffic profile.
Run the
display traffic table ip
command to query the existing traffic profiles in the system. If
the traffic profiles existing in the system do not meet the requirements, run the
traffic table ip
command to add a traffic profile.
Set the priorities of the traffic profiles for Internet access/Wi-Fi/TR-069 server management
channel and voice service to 1 and 6 respectively. The larger the value, the higher the priority.
huawei(config)#
traffic table ip index 8 cir 4096 priority 1 priority-policy tag-In-
Packag
huawei(config)#
traffic table ip index 9 cir off priority 6 priority-policy tag-In-
Packag
Step 3
Configure the DBA profile.
Set the DBA profile ID to 12, profile type to type2 (assured bandwidth), and assured bandwidth
of access users to 10240 kbit/s.
NOTE
l
The bandwidth type and the attribute of the DBA profile must be compatible with the service to be
carried.
l
The system supports five DBA profile types, namely, type1 (fixed bandwidth), type2 (assured
bandwidth), type3 (assured bandwidth+maximum bandwidth), type4 (maximum bandwidth), and type5
(fixed bandwidth+assured bandwidth+maximum bandwidth).
l
By default, the systems provides DBA profiles 1-9, each of which provides typical values for traffic
parameters. By default, T-CONT 0 is bound to DBA profile 1.
l
You can run the
display dba-profile
command to query the information about the DBA profile.
huawei(config)#
dba-profile add profile-id 12 type2 assure 10240
Step 4
Configure the ONT line profile.
Create ONT line profile 12 and bind T-CONT 1 to DBA profile 12. In this way, the T-CONT
can provide flexible DBA solutions based on the configurations of the DBA profile.
huawei(config)#
ont-lineprofile gpon profile-id 12
huawei(config-gpon-lineprofile-12)#
tcont 1 dba-profile-id 12
Add GEM ports 0-4 and bind them to T-CONT 1. Set the QoS mode to priority-queue, the
priority-queue of Internet access/Wi-Fi/TR-069 server management channel to 1, and the
priority-queue of the voice service to 3.
NOTE
l
To change the default QoS mode, run the
qos-mode
command to set the QoS mode to gem-car or flow-
car, and then run the
gem add
command to set the index of the traffic profile bound to the GEM port.
l
When the QoS mode is priority-queue, the default queue priority is 0; when the QoS mode is flow-car
or gem-car, traffic profile 6 is bound to the GEM port by default (no rate limitation).
l
To enable the FEC function, run the
fec-upstream enable
command to improve the reliability of data
transmission between the OLT and the ONT.
huawei(config-gpon-lineprofile-12)#
gem add 0 eth tcont 1 priority-queue 1
huawei(config-gpon-lineprofile-12)#
gem add 1 eth tcont 1 priority-queue 1
huawei(config-gpon-lineprofile-12)#
gem add 2 eth tcont 1 priority-queue 3
huawei(config-gpon-lineprofile-12)#
gem add 3 eth tcont 1 priority-queue 1
huawei(config-gpon-lineprofile-12)#
gem add 4 eth tcont 1 priority-queue 1
Configure the mapping between the GEM port and the ONT-side service to the VLAN mapping
mode (default) and map the service ports of CVLANs 100, 150, 200, 300, 320 to GEM ports
0-4, which are used for configuring the L2 Internet access service, L3 Internet access service,
voice service, Wi-Fi service, and TR-069 server management channel respectively.
4 Service Configuration Examples
EchoLife HG8240/HG8245/HG8247 GPON Terminal
Service Manual
4-6
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Issue 02 (2011-01-26)