huawei(config)#
service-port 1 vlan 100 gpon 0/1/1 ont 1 gemport 1 multi-
service user-vlan 10 rx-cttr 8 tx-cttr 8
huawei(config)#
service-port 2 vlan 100 gpon 0/1/1 ont 2 gemport 1 multi-
service user-vlan 10 rx-cttr 8 tx-cttr 8
9.
Configure the queue scheduling mode.
Use the 3PQ+5WRR queue scheduling. Queues 0-4 adopt the WRR mode, with the
weights of 10, 10, 20, 20, and 40 respectively; queues 5-7 adopt the PQ mode.
NOTE
Queue scheduling is a global configuration. You need to configure queue scheduling only once on
the OLT, and then the configuration takes effect globally. In the subsequent phases, you do not need
to configure queue scheduling repeatedly when configuring other services.
huawei(config)#
queue-scheduler wrr 10 10 20 20 40 0 0 0
Configure the mapping between queues and 802.1p priorities. Priorities 0-7 map
queues 0-7 respectively.
huawei(config)#
cos-queue-map cos0 0 cos1 1 cos2 2 cos3 3 cos4 4 cos5 5 cos6
6 cos7 7
For the service board that supports only four queues, the mapping between 802.1p
priorities and queue IDs is as follows: priorities 0 and 1 map queue 1; priorities 2 and
3 map queue 2; priorities 4 and 5 map queue 3; priorities 6 and 7 map queue 4.
10.
Save the data.
huawei(config)#
save
l
Configure the ONT.
The ONT is connected to the upper-layer device in Layer 2 mode. Users perform PPPoE
dialup on their PCs and no configuration is required on the ONT.
----End
Result
After physical port LAN1 on the ONT is connected to a PC, perform PPPoE dialup using
software on the PC. After successful PPPoE dialup, the user can access the Internet following
entering correct network addresses.
Configuration File
vlan 100 smart
vlan attrib 100 stacking
port vlan 100 0/19 0
dba-profile add profile-id 10 type4 max 102400
ont-lineprofile gpon profile-id 10
tcont 4 dba-profile-id 10
gem add 1 eth tcont 4
mapping-mode vlan
gem mapping 1 0 vlan 10
commit
quit
ont-srvprofile gpon profile-id 10
ont-port eth 4 pots 2 catv 1
port vlan eth 1 10
commit
quit
interface gpon 0/1
port 1 ont-auto-find enable
display ont autofind 1
ont confirm 1 ontid 1 sn-auth 6877687714852900 omci ont-lineprofile-id 10 ont-
srvprofile-id 10 descont confirm 1 ontid 2 sn-auth 6877687714852901 omci ont-
EchoLife HG8010/HG8110/HG8240/HG8245/HG8247/
HG8447 GPON Terminal
Service Manual
3 Configuration
Issue 02 (2011-12-08)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
138