NOTE
If an ONT supports only four queues, the values of 4–7 of the priority-queue parameter in the
gem add
command are invalid. After configuration recovers, Config state will be failed.
–
If the ONT does not match, that is,
Match state
is
mismatch
, the port types and
number of ports undermatch the actual port types and number of ports supported
by the ONT. In this case, run the
display ont capability
command to query the
actual capability of the ONT, and then select one of the following modes to modify
the ONT configuration:
–
Create a proper ONT profile according to the actual capability of the ONT, and
then run the
ont modify
command to modify the configuration data of the ONT.
–
Modify the ONT profile according to the actual capability of the ONT and save
the modification. Then, the ONT automatically recovers the configuration
successfully.
6.
Specify the native VLAN for the ONT port.
ETH port 1 on the ONT is connected to the PC and the native VLAN is VLAN 10.
huawei(config-if-gpon-0/1)#
ont port native-vlan 1 1 eth 1 vlan 10
huawei(config-if-gpon-0/1)#
ont port native-vlan 1 2 eth 1 vlan 10
7.
Configure a traffic profile.
You can run the
display traffic table ip
command to query the traffic profiles existing
in the system. If the traffic profiles existing in the system do not meet the requirements,
you need to run the
traffic table ip
command to add a traffic profile.
The profile ID is 8, the CIR is 4 Mbit/s, the priority is 1, and packets are scheduled
according to the priority carried.
huawei(config-if-gpon-0/1)#
quit
huawei(config)#
traffic table ip index 8 cir 4096 priority 1 priority-
policy tag-In-Package
8.
Create service ports.
Set the service port indexes to 1 and 2, SVLAN ID to 100, GEM port ID to 1, and
CVLAN ID to 10. Use traffic profile 8.
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.
3 Configuration
EchoLife HG8240/HG8245/HG8247 GPON Terminal
Service Manual
3-108
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Issue 04 (2011-01-12)