huawei(config-gpon-lineprofile-10)#
gem add 0 eth tcont 4
huawei(config-gpon-lineprofile-10)#
gem add 1 eth tcont 4
NOTE
a. To change the QoS mode, run the
qos-mode
command to configure the QoS mode to gem-
car or flow-car, and run the
gem add
command to configure the ID of the traffic profile
bound to the GEM port.
b. For the ONU V800R308, the QoS mode cannot be set to
gem-car
or
flow-car
. To
implement QoS in the upstream and downstream directions, other modes are adopted. For
example, bind a T-CONT to a DBA profile or bind a traffic profile when creating traffic
streams.
c. When the QoS mode is PQ, the default queue priority is 0; when the QoS is
gem-car
or
flow-car
, traffic profile 6 is bound to the port by default (no rate limitation).
d. Before running the
multi-service-port
command to create service ports in batches, ensure
that the number of GEM ports is the same as the number of CVLANs. Therefore, you must
create GEM ports according to the number of CVLANs. If there are 24 CVLANs,, 24
GEM ports need to be created.
e. If you run the
service-port
command to create service ports one by one, note that one
GEM port can be bound to up to eight service ports. Create sufficient GEM ports according
to the number of service ports. If there are 24 CVLANs, at least three GEM ports need to
be created. This example adopts this mode and only one GEM port is created. For different
service ports within the same GEM port, you only need to replace the
mapping-index
and
replace the mapped VLAN with the CVLAN.
Configure the mapping between the GEM port and the ONU-side service to the
VLAN mapping mode (default), map the service port of management service
port ( the CVLAN ID is 8) to GEM port 0, and map the Internet service port (the
CVLAN ID is 1001) to GEM port 1.
huawei(config-gpon-lineprofile-10)#
mapping-mode vlan
huawei(config-gpon-lineprofile-10)#
gem mapping 0 0 vlan 8
huawei(config-gpon-lineprofile-10)#
gem mapping 1 1 vlan 1001
After the configuration is complete, run the
commit
command to make the
configured parameters take effect.
huawei(config-gpon-lineprofile-10)#
commit
huawei(config-gpon-lineprofile-10)#
quit
c.
(Optional) Configure an alarm profile.
–
The ID of the default GPON alarm profile is 1. The thresholds of all the alarm
parameters in the default alarm profile are 0, which indicates that no alarm is
generated.
–
In this example, the default alarm profile is used, and therefore the
configuration of the alarm profile is not required.
–
Run the
gpon alarm-profile add
command to configure an alarm profile,
which is used for monitoring the performance of an activated ONU line.
4.
Add an ONU on the OLT.
a.
Add an ONU.
ONU 1 and ONU 2 are connected to GPON port 0/2/1 through an optical splitter.
The IDs of ONU 1 and ONU 2 are 1 and 2 respectively. The SN of ONU 1 is
32303131B39FD641 and that of ONU 2 is 32303131B39FD642. The
management mode is SNMP and the line profile 10 is bound.
There are two ways to add an ONU. Select either of the two ways according to
actual conditions.
–
Add an ONU offline: If the password or SN of an ONU is obtained, you can
run the
ont add
command to add the ONU offline.
SmartAX MA5616 Multi-service Access Module
Configuration Guide
10 Configuration Examples of the FTTx
Issue 04 (2011-10-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
495