01-02 Gpon
01-02 Gpon
2 GPON
S/R: Optical line termination interface R/S: Optical network unit interface to
to optical trunk line optical distribution network
● The optical line terminal (OLT) is an aggregation device located at the central
office (CO) for terminating the PON protocol.
● Optical network units (ONUs)/Optical network terminal (ONTs) are located
on the user side, providing various ports for connecting to user terminals. The
OLT and ONUs communicate with each other through the optical distribution
network (ODN).
● The optical distribution network (ODN) is composed of passive optical
components (POS), such as optical fibers, and one or more passive optical
splitters. The ODN provides optical channels between the OLT and ONUs. It
interconnects the OLT and ONUs and is highly reliable.
NOTE
● In the GPON network, the OLT is connected to the optical splitter through a
single optical fiber, and the optical splitter is then connected to ONUs.
Different wavelengths are adopted in the upstream and downstream
directions for transmitting data. Specifically, wavelengths range from 1290 nm
to 1330 nm in the upstream direction and from 1480 nm to 1500 nm in the
downstream direction.
● The GPON adopts WDM to transmit data of different upstream/downstream
wavelengths over the same ODN. Data is broadcast in the downstream
direction and transmitted in the TDMA mode (based on timeslots) in the
upstream direction.
Main features:
● Supports point-to-multipoint (P2MP) multicast transmission.
● Broadcasts the same data to all ONUs and differentiates ONU data by GEM
port ID.
● Allows an ONU to receive data packets intended for it and discards those not
intended for it.
Main features:
● Supports time division multiple access (TDMA).
● Transits data on an exclusive timeslot.
● Couples optical signals on an optical splitter.
● Detects and prevents collisions through ranging.
A GEM header consists of PLI, Port ID, PTI, and header error check (HEC) and is
used for differentiating data of different GEM ports. The fields are described as
follows:
● PLI: indicates the length of data payload.
● Port ID: uniquely identifies a GEM port.
● PTI: indicates the payload type. It is used for identifying the status and type of
data that is being transmitted, for example, whether the operation,
administration and maintenance (OAM) message is being transmitted and
whether data transmission is complete.
● HEC: ensures the forward error correction (FEC) function and transmission
quality.
● Fragment payload: indicates the data frame fragment.
The following section describes the GEM frame structure based on the mapping of
the Ethernet service in GPON mode, as shown in Figure 2-6.
● The GPON system parses Ethernet frames and maps data into GEM payloads
for transmission.
T-CONT
Transmission container (T-CONT) is a service carrier in the upstream direction in
the GPON system. All GEM ports are mapped to T-CONTs. Then service streams
are transmitted upstream by means of OLT's dynamic bandwidth assignment
(DBA) scheduling. T-CONT is the basis of DBA implementation. An ONU applies
for bandwidth using T-CONTs, and the OLT grants bandwidth through T-CONTs,
thereby realizing the upstream DBA in the entire GPON system.
T-CONT is the basic control unit of the upstream service stream in the GPON
system. Each T-CONT is identified by Alloc-ID. The Alloc-ID is allocated by the
GPON port of the OLT, and the T-CONTs used by ONUs connected to the same
GPON port of OLT cannot have the same Alloc-IDs.
There are five types of T-CONT. T-CONT selection varies during the scheduling of
different types of upstream service streams. Each T-CONT bandwidth type has its
own quality of service (QoS) feature. QoS is mainly represented by the bandwidth
guarantee, which can be classified into fixed, assured, non-assured, best-effort,
and hybrid modes (corresponding to type 1 to type 5 listed in Table 2-1).
NOTE
In Table 2-1, X indicates the fixed bandwidth value, Y indicates the assured bandwidth value, Z
indicates the maximum bandwidth value, and No indicates not involved.
Fixed X - - - X
Bandwidth
Assured - Y Y - Y
Bandwidth
provide
s a less
real-
time
perform
ance
compar
ed with
the
fixed
bandwi
dth.
GPON protocol stacks involve the physical medium dependent (PMD) layer and
GPON transmission convergence (GTC) layer.
PMD Layer
The GPON PMD layer corresponds to the GPON interfaces between OLTs and
ONUs. Parameter values of the GPON interfaces specify the maximum reach and
split ratio for a GPON system.
GTC Layer
The GTC layer is used to encapsulate payloads using ATM cells or GEM frames,
and GEM frames are commonly used in GPON systems. GEM frames can carry
Ethernet, POTS, E1, and T1 cells.
GTC is the core GPON layer, where media access is controlled for upstream service
flows and ONUs are registered. Ethernet frame payloads are encapsulated into
GEM frames and then packetized as GTC frames. These GTC frames are converted
to binary codes for transmission based on interface parameters configured at the
physical layer. The process is reversed on the receive end. Specifically, the receive
end decapsulates the data to obtain GTC frames, GEM frames, and then payloads
for data transmission.
The GTC layer is classified as TC adaptation sub-layer and GTC framing sub-layer
by structure.
● The TC adaptation sub-layer involves the ATM, GEM TC, and optical network
terminal management and control interface (OMCI) adapters and dynamic
bandwidth assignment (DBA) control module. ATM and GEM TC adapters
Figure 2-12 shows the structure of the PCBd shown in Figure 2-11.
PCBd contains PSync, Ident, PLOAMd, BIP, PLend, and US BW Map fields, where US
BW Map is the upstream bandwidth mapping sent by the OLT for each T-CONT.
Table 2-3 describes each field.
2.3.5 OMCI
Basic Concepts
OMCI is a type of ITU-T Recommendation G.984.4-compliant configuration and
transmission channel, which is used to transmit OMCI messages over dedicated
ATM PVCs or GEM ports established between an OLT and an ONT. The OMCI
messages are used for discovering ONTs for management and control.
● GEM Header: includes GEM payload, GEM port ID, payload type indicator
(PTI), and header error control (HEC).
● Transaction Correlation Identifier: The value of this field must be the same in
a request and the response to this request. The highest order of this field
indicates the priority of an OMCI message. Value 0 indicates a low priority
and value 1 indicates a high priority.
● Message type:
– DB: a destination bit, which is consistently 0.
– AR: an acknowledge request, indicating whether an OMCI message
requires the response from the peer end. Value 0 indicates that the
response is not required and value 1 indicates that the response is
required.
– AK: acknowledgement, indicating whether an OMCI message is a
response. Value 0 indicates not and value 1 indicates yes.
– MT: message type, which supports up to 32 message types, including
Create, Delete, Set, Get, and MIB upload. In the G.984.4 protocol, codes 4
to 28 are used, and other codes are reserved.
● Device identifier: The value of this field is consistently 0xA.
● Message Identifier: a 2-byte entity or instance ID.
● Message Contents: packet payload.
● OMCI trailer: Two bytes are consistently 0, two bytes are packet length 0x28,
and four bytes are CRCs.
OMCI Management
The OLT controls the ONU using the OMCI. The OMCI protocol allows the OLT to:
● Establish and release connections with the ONU.
● Manage the UNIs on the ONU.
● Request configuration information and performance statistics from the OSS.
● Autonomously inform the system administrator of events, such as link
failures.
The OMCI protocol runs over a GEM connection between the OLT controller and
the ONU controller. The GEM connection is established during ONU initialization.
The OMCI protocol is asynchronous: the OLT controller is the master and the ONU
controller is the slave. A single OLT controller using multiple protocol instances
over separate control channels can control multiple ONUs.
The OLT manages an ONU using OMCI in the following aspects:
● Configuration management: Controls and identifies an ONU, and collects data
from and provides data to the ONU.
● Fault management: Supports limited fault management. Most of the
operations are limited to failure indication.
● Performance management: Collects and queries performance statistics.
● Security management: Enables/Disables downstream encryption.
attribute. The establishment of the OMCC follows the process shown in Figure
2-15. During activation, the ONU receives a PLOAM message from the OLT
indicating the assignment of the ONU-ID. The ONU populates the alloc-ID
attribute of its virtual OMCI T-CONT with the ONU-ID. This makes the alloc-ID for
OMCI the same as the assigned ONU-ID. It is therefore not necessary for the OLT
to send an assign_alloc-ID message to establish the OMCC. If the OLT nevertheless
chooses to send an assign_alloc-ID PLOAM with the default alloc-ID, the ONU
should acknowledge this message without taking any specific further action. This
is true regardless of the alloc-ID type value in the assign_alloc-ID message: it
should not be possible to de-allocate the default alloc-ID with an assign_alloc-ID
type 255 message.
Upon completion of ONU activation in G.984 systems, the OLT assigns a GEM
port-ID to the ONU for OMCI messages. This is accomplished by a configure_port-
ID PLOAM message. The ONU populates the OMCI port-ID attribute of the OMCC
structure based on that message, and responds back to the OLT with an
acknowledgment.
In G.987 systems, the GEM port for OMCI use is automatically assigned, and is
equal to the ONU-ID.
Ranging Principles
Ranging process is as follows:
● The OLT starts ranging for an ONU when the ONU registers with the OLT for
the first time and obtains the round trip delay (RTD) of the ONU. Based on
the RTD, the OLT calculates the physical reach of this ONU.
● The OLT specifies a proper equalization delay (EqD) for the ONU based on
the physical reach.
NOTE
The OLT requires a quiet zone during ranging to pause the upstream transmission channel of
the ONUs connected to it. The quiet zone is implemented by emptying BWmap so that no
timeslot is allocated for data transmission.
Ranging Results
RTD and EqD synchronize data frames sent by all ONUs, preventing data conflict
on optical splitters. In this way, all ONUs locate at the same logic reach and they
send data at specified timeslots, thereby preventing upstream cell conflict.
NOTE
In the GPON system, all data is broadcast downstream to ONUs. The transmission requires
OLT optical modules to transmit optical signals continuously and ONU optical modules to
receive optical signals continuously. Therefore, in GPON downstream direction, the OLT
optical modules are not required to support the burst transmit function, the ONU optical
modules are not required to support the burst receive function.
● The distance from each ONU to the OLT varies and therefore the optical
signal attenuation varies for each ONU. As a result, the power and level of
packets received by an OLT at different timeslots various.
● If the OLT-side optical modules do not support the burst receive function, the
OLT may restore incorrect signals because only the level greater than the
threshold is considered valid and the signals with the level lower than the
threshold cannot be restored. The automatic gain control (AGC) function
dynamically adjusts the threshold of the receive optical power on the OLT
based on the strength of the received optical signals to ensure that the signals
of all ONUs can be restored.
In the GPON FEC algorithm, the most common RS code RS (255,239) is used,
where the code word is 255 bytes long, consisting of 239 data bytes followed by
16 overhead redundant bytes. However, due to the overhead caused by multi-
frame tail fragments, the bandwidth throughput of the GPON system with FEC
enabled is about 90% of that with FEC disabled. RS code RS (255,239) complies
with ITU-T Recommendation G.984.3. The FEC algorithm decreases the bit error
rate (BER) from 10-3 to 10-12 on GPON lines.
FEC characteristics are as follows:
● Does not require data retransmission, thereby improving real-time efficiency.
● Enables lines to tolerate louder noises on a basis of a higher bandwidth
overhead. (In this case, users must balance between the transmission quality
and the bandwidth usage based on site requirements.)
● Based on the preceding characteristics, FEC applies to: The services requiring
error detection and correction at the RX end without retransmission.
● Data transmission if the network is in a poor condition. For example, the
transmission distance from the OLT to an ONT is long or the transmission line
is of poor quality, which results in insufficient optical power budget or high
BERs.
● The services requiring no delays (a retransmission prolongs the delay).
● FEC status can be configured in GPON systems based on GPON ports in the
downstream direction (by running the port fec command) and based on
ONUs in the upstream direction. To configure the FEC status in the upstream
direction based on ONUs, run either of the following commands:
– In profile mode, run the fec-upstream command.
– In discrete mode, run the ont fec-upstream command.
NOTE
● Due to length limitation on PLOAM messages, the ONU sends the key to the OLT in two
pieces and sends both parts of the key three times for extra redundancy. If the OLT is
unsuccessful in receiving either part of the key all three times it is transmitted, the OLT
initiates a key exchange request to the ONU again until the OLT receives the same key for
three times.
● The OLT issues a command three times to the ONU to notify the ONU of using the frame
number of the new key. The ONU switches the verification key on data frames after
receiving the command only once.
Configuration Method
● In GPON systems, run either of the following commands to configure line
encryption status based on GEM ports (excluding multicast and broadcast
GEM ports).
– In profile mode, run the gem add command.
– In discrete mode, run the gemport add command.
● Run either of the following commands to encrypt a GEM port in ONT
management and control channels (OMCCs):
– In profile mode, run the omcc encrypt command.
– In discrete mode, run the ont omcc encrypt command.
Overview
The OLT supports the pre-configuration of the service flow creation policy on the
PON port. When the ONU that meets conditions goes online, registration and
service flow creation are automatically implemented based on the pre-configured
policy. This function simplifies the configuration process and improves the
installation and deployment efficiency.
NOTE
The ONU ID is configured during the pre-configuration of the service flow creation policy.
When the ONU starts to register with the OLT, the ONU ID and vendor identity are verified.
Only the ONU meeting conditions can implement automatic registration.
O&M for these automatically created service flows is the same as that for
commonly created service flows.
NOTE
Automatic registration and service flow creation are supported in the PON profile mode
only. They are not supported in the distributed mode.
Figure 2-23 Process of automatic service flow creation (no ONU is manually
added)
Figure 2-24 Process of automatic service flow creation (the ONU is manually
added)
When auto-confirm is set to enable, you do not need to run the ont confirm
command on the GPON port to confirm the ONU. When auto-confirm is set to
disable, you need to run the ont confirm command on the GPON port.
2. Configure the automatic service flow creation policy.
Run the auto-service-port
command to configure the automatic service flow creation policy.
For details about how to configure automatic service flow creation, see "8.3.3.4
Configuring Automatic Service Flow Creation (GPON)".
Automatic Migration
When the ONU automatic migration function is enabled, if a PON port or fiber is
faulty, the ONU connected to this faulty PON port is migrated to another PON
port. If the ONU automatic adding policy is met, the ONU is automatically
removed from the original PON port, and then added to the new PON port. In this
process, the OLT does not report the SN authentication conflict alarm. The ONU
connected to the original PON port must meet the following conditions:
● The ONU is offline.
● The ONU supports OMCI management.
● The ONU is not a member of the type C protection group.
● The ONU supports SN authentication.
NOTE
Automatic migration and aging are supported in the PON profile mode only. They are not
supported in the disperse mode.
Automatic Aging
When an offline ONU is aged and meets automatic adding policy, the OLT
automatically deletes the aged ONU to save resources. The ONU automatic aging
period can be configured. The value range is 1–365. The default value is no-aging,
which indicates no aging. For an aged ONU that meets the automatic adding
policy, it will be automatically registered after being powered on.
ONU. Upon receiving this message, the ONU sends a register request
message to the OLT.
– If the automatic discovery function is enabled on the PON port to which
the ONU is connected, the port reports an alarm to the command line
interface (CLI) or network management system (NMS), indicating that
the ONU is automatically discovered. The ONU can go online only after
being confirmed.
SN/SN+Password Authentication
In SN authentication, the OLT matches only the ONU SN. In SN+password
authentication, the OLT matches both the ONU SN and password. Figure 2-26
shows the authentication flow.
NOTE
Password Authentication
An ONU that uses password authentication is added to a PON port on an OLT in
advance, and then this ONU is connected to the PON port. In password
authentication, if finding that the SN or password of the ONU to be authenticated
conflicts with that of an online ONU, the OLT deregisters the ONU to be
authenticated. This does not affect the online ONU. Password authentication is
available in two modes: once-on and always-on.
NOTE
In once-on mode, before the ONU registration times out or before the ONU successfully
registers with the OLT for the first time, the ONU discovery status is ON. Only the ONU
whose discovery status is ON is allowed to register with the OLT and go online. After the
ONU registration times out or after the ONU successfully registers with the OLT for the first
time, the OLT sets the ONU discovery status to OFF.
● The ONU whose registration times out is not allowed to register with the OLT or go
online. The registration timeout flag of the ONU needs to be reset at the central office
(CO), and then the ONU can go online.
● An ONU that successfully registers for the first time is allowed to register and go
online again.
NOTE
In the Always-on mode, the OLT does not need to record the SN when an ONU goes online
for the first time.
● OMCI enables ONUs to support offline configuration so that the ONUs do not
need to store configuration data locally, facilitating service provisioning.
MDU Management
Figure 2-28 shows the process of configuring a management channel for an MDU.
1. The NMS issues MDU inband management parameters to the OLT through
the OLT inband management channel.
2. The OLT configures the MDU inband management parameters and Simple
Network Management Protocol (SNMP) parameters through the OMCI or
OAM channel to set up the MDU inband management channel.
3. The NMS issues service configuration data through the MDU inband
management channel. After the MDU inband management channel is set up,
the NMS configures and manages the MDU through the SNMP channel. In
such a manner, the OLT only needs to forward the MDU inband management
data.
ONT Management
GPON terminals are managed using one of these protocols: optical network
terminal management and control interface (OMCI), Extensible Markup Language
(XML), or Technical Report 069 (TR069).
● The optical network terminal management and control interface (OMCI)
protocol is defined by ITU-T G984.4, which applies to managing optical
network terminals (ONTs) in a GPON system. Huawei ONTs comply with
OMCI. OMCI messages are transmitted between an optical line terminal
(OLT) and an ONT over a dedicated permanent virtual channel (PVC) in
asynchronous transfer mode (ATM) or a GPON encapsulation mode (GEM)
port. The OMCI protocol manages and provides O&M for the ONT.
OMCI+NMS
A standard optical network terminal management and control interface (OMCI)
solution enables you to manage optical network terminals (ONTs) supplied by
different vendors in diverse types of scenarios. An optical line terminal (OLT) and
an ONT are closely coupled with each other. If a new service requirement is not
defined in the OMCI, a new OMCI entity must be defined. An OMCI solution
enables you to manage Layer 2 features and voice services. The OLT
communicates with the ONT in OMCI mode.
Figure 2-29 shows the general principles of the OMCI+NMS solution for NMS
+OLT+ONT deployment scenarios.
OMCI+NMS+XML
To overcome the limitations of the OMCI+NMS solution, Huawei provides the
OMCI+NMS+XML solution. In this solution, the NMS uses XML files transmitted
over an IP channel to communicate with the OLT, and the OLT uses XML files
transmitted over an OMCI channel to communicate with ONTs. The OMCI
protocol manages Layer 2 services and the XML protocol manages Layer 3 and
voice services.
Figure 2-30 shows the general principles of the OMCI+NMS+XML solution for
NMS+OLT+ONT deployment scenarios.
The NMS uploads the XML file to the FTP/TFTP/SFTP server. The OLT obtains the
XML file from the FTP/TFTP/SFTP server and transparently transmits the XML file
to an ONT through the OMCI channel.
NOTE
TFTP/FTP has security risks due to protocol limitations. Therefore, the SFTP mode with high
security is recommended for loading the XML file to the ONT.
1. The OSS issues service configuration parameters to the NMS using the TL1
NBI.
2. The NMS converts service information to XML files and uploads the files to
the FTP/TFTP/SFTP server.
3. The NMS issues ONT configuration update commands to download the files.
4. The OLT obtains the XML files from the FTP/TFTP/SFTP server.
5. The OLT issues the XML files to the ONT through the OMCI channel.
6. The ONT returns execution results to the OLT using the OMCI entity.
7. The OLT reports the results to the NMS using traps.
The OMCI+NMS+XML solution meets all requirements for configuring ONTs but
configuration files are transmitted in unidirectional mode. Due to this limitation,
the configuration files only implement service configurations and status
performance management, but cannot provide operation and maintenance
(O&M) functions such as query of ONT status and configuration, and test and
diagnose functions. To overcome OMCI+NMS+XML limitations, Huawei provides
TR069 over OMCI. As a supplement to OMCI+NMS+XML, TR069 over OMCI is used
for remote O&M and fault diagnosis. The NMS can use TR069 to remotely
maintain ONTs without a dedicated TR069 server.
OMCI+NMS+TR069
This solution allows an Auto-Configuration Server (ACS) to manage all the
terminals on the network, locate faults, provide services, and collect performance
statistics. Based on SNMP and TR069, this solution allows the ACS to manage
home terminals in a unified manner, reducing O&M costs. TR069 automatically
implements ONT configuration, dynamically provisions services, remotely locates
faults, and rapidly collects terminal statistics.
Figure 2-32 shows the general principles of the solution.
This solution allows the NMS to manage the OLT using SNMP, manage voice and
Layer 3 services using TR069, and manage PON link layer using OMCI.
1. The OSS issues service configuration parameters to the NMS using the TL1
NBI.
2. The NMS manages the OLT using SNMP.
3. The OLT issues PON link layer configuration to the ONT using OMCI.
4. The ONT returns execution results to the OLT. Then the IP channel is set up.
5. The ONT registers with the ACS.
6. The ACS encapsulates user information in a TR069-compliant format and
sends it to the ONT through the IP channel. The user information includes
operations, maintenance items, and queries performed by a user. The IP
channel is bidirectional.
Overview
PON networks use the P2MP(point-to-multipoint) network architecture. They use
time division multiple access (TDMA) in the upstream direction. ONUs must send
optical signals upstream at the timeslots allocated by the OLT to prevent data
conflict.
A continuous-mode ONU is also called a continuous-mode rogue ONU. It
continuously sends optical signals to the upstream direction.
A continuous-mode ONU adversely affects the system as follows:
● If this ONU has been online, some or all ONUs connected to the same PON
port go offline or frequently go offline and online.
● If this ONU has not been configured, other ONUs that have not been
configured and connected to the same PON port will not be discovered by the
OLT.
● The three stages are as follows: Checking: The OLT periodically checks
whether a continuous-mode ONU connects to a PON port. This checking
cannot locate the continuous-mode ONU.
The OLT opens an empty window in the upstream direction of the PON to
make all online ONUs stop sending upstream optical signals within a period
of time, and detects ONU upstream optical signals. If the OLT receives optical
signals, it then goes to the detection stage to locate the ONU.
● Detection: The OLT locates the continuous-mode ONU.
The OLT issues a command to ONUs to instruct the optical modules of the
ONUs to send optical signals upstream and checks whether optical signals
can be received in the upstream direction. If other ONUs go offline after an
ONU sends optical signals, this ONU is a continuous-mode ONU. In a
detection process, the OLT checks all ONUs connected to a PON port for
detecting all continuous-mode ONUs.
● Isolation: The OLT issues a command to power off the continuous-mode ONU,
preventing this ONU from adversely affecting other ONUs connected to the
same PON port.
After an ONU is powered off by the OLT, the ONU cannot send optical signals
upstream even after being reset or power recycled. This ONU can send optical
signals upstream only after the OLT cancels the isolation.
NOTE
The OLT checks continuous-mode ONUs but does not detect or isolate them by default.
You can also run the display port state command to query whether a rogue ONT
exists under a PON port.
2. Run the anti-rogueont manual-detect command to detect, locate, and
isolate a continuous-mode rogue ONT manually. Check whether the system
generates alarm 0x2e314022 The ONT is rogue ONT or 0x2e314021 There
are illegal incursionary rogue ONTs under the port.
NOTE
During rogue ONU detection, if the port of the ONU to be detected is configured with a
type B protection group, you need to run the force-switch command to forcibly switch the
protection group and then check for a rogue ONU to avoid protection switching. You can
forcibly switch services to the work side for rogue ONU detection if you are not sure which
feeder fiber functions properly. If the rogue ONU is not located on the working side,
forcibly switch to the protection side to locate the rogue ONU. Then, run the undo force-
switch command to cancel forced protection group switching.
– If the The ONT is rogue ONT or There are illegal incursionary rogue
ONTs under the port alarm is generated, a continuous-mode rogue ONT
may exist. In this case, go to 3.
– If the The ONT is rogue ONT or There are illegal incursionary rogue
ONTs under the port alarm is not generated, an irregular-mode rogue
ONT may exist. In this case, go to 4.
If the 0x2e314021 There are illegal incursionary rogue ONTs under the port alarm is
generated, a continuous-mode rogue ONU may exist and this rogue ONU does not support
Huawei-defined extended PLOAM messages, or the optical signal transmission of the ONU
optical module cannot be controlled.
4. Run the ont reset command or the ont deactivate command to reset or
deactivate ONUs under the PON port one by one. Then, check whether other
ONUs that encounter the fault (going offline or going online and offline
repeatedly) can go online.
– If yes, it indicates that the ONU is a rogue ONU. Replace the ONU. Go to
7.
– If no, the ONT optical module may be damaged so that the rogue ONT
fails to be reset or deactivated by running the command. In this case, go
to 5.
5. Locate a rogue ONU manually: Remove the upstream optical fibers of ONUs
one by one from the optical splitter, and check whether other faulty ONUs go
online normally.
– If yes, it indicates that the ONT is a rogue ONT. Replace the ONU. Then,
go to 7.
– If no, go to 6.
6. Obtain technical support from Huawei.
7. The fault is rectified.
Context
The xPON mode includes two types: distributed (discrete) mode and profile mode.
The differences between the two modes are as follows:
● In the distributing mode, ONTs cannot be added in batches. Instead, ONTs
need to be configured one by one.
● In profile mode, you can pre-configure ONT line profiles and ONT service
profiles and bind ONTs of the same configurations to the same profile to add
them in batches, which significantly improves service provisioning efficiency.
The xPON mode is determined during site provisioning and will not be changed.
You can run the display xpon mode command to query the xPON mode of the
current system.
Context
GPON ONT profiles contain the parameters required for configuring the GPON
access service, of which,
● DBA profiles specify GPON traffic parameters. The DBA profile bound to an
OLT enables the OLT to dynamically allocate bandwidths, improving upstream
bandwidth utilization.
● In profile mode, the line profile is mainly used to configure the information
related to DBA, T-CONT, and GEM port. The service profile is used to
configure the actual ONT capability and the parameters related to services.
The line profile is mandatory and the service profile is optional and
dependent of service requirements. Set related attributes in line profile mode
and service profile mode, and directly bind the ONT to the line profile and
service profile.
● The GPON ONT alarm profile provides a series of alarm threshold parameters
that are used for performance measurement and monitoring of activated
ONU lines. After a GPON alarm profile is bound to an ONU, the ONU sends
alarms to the log host and the NMS if the performance statistics of the line
exceed the threshold that is specified in the profile.
NOTE
Default Configuration
Table 2-6 lists the default settings of the DBA profiles.
Procedure
Step 1 Add a DBA profile.
Run the dba-profile add command to add a DBA profile. By default, the system
provides DBA profiles 0–9 with typical traffic parameter values. The default
profiles cannot be added or deleted.
NOTE
● By default, a T-CONT is not bound to any DBA profile. You must bind a T-CONT to a DBA
profile.
● When you add a DBA profile, the bandwidth value must be a multiple of 64. If you enter a
bandwidth value not of a multiple of 64, the system adopts the closest multiple of 64 that is
smaller than the value you enter.
----End
Example
To add a DBA profile with the type of type3, set the profile name to DBA_100M
and the required bandwidth to 100 Mbit/s, do as follows:
huawei(config)#dba-profile add profile-name DBA_100M type3 assure 102400 max 102400
huawei(config)#display dba-profile profile-name DBA_100M
Default Configuration
Table 2-7 lists the default settings of a GPON ONT line profile.
Configuration Process
Figure 2-35 shows the process of configuring a GPON ONT line profile.
Procedure
Step 1 Bind a T-CONT to a DBA profile.
1. Run the ont-lineprofile gpon command to add a GPON ONT line profile and
enter the GPON ONT line profile mode.
By default, T-CONT 0 of an ONT is used by OMCI and is bound to DBA profile 1. The
configuration suggestions for the OMCI T-CONT are as follows:
– Do not modify the DBA profile bound to T-CONT 0. If you need to modify the
profile, ensure that the fixed bandwidth of the modified profile is not lower than 1
Mbit/s.
– Do not bind a GEM port to the T-CONT. That is, ensure that the T-CONT does not
carry any service.
– If the sum of the fixed bandwidth and assured bandwidth of the bound DBA profile
is larger than the remaining bandwidth of the GPON port, the binding fails and the
system displays a message "Failure: The bandwidth is not enough". In this case,
you can run the display port info command to query the remaining bandwidth
(Left guaranteed bandwidth (kbit/s)) of the GPON port, and then decrease the
fixed bandwidth and assured bandwidth of the bound DBA profile accordingly.
Step 2 (Optional) Configure the QoS mode of the GPON ONT line profile.
Run the qos-mode command to configure the QoS mode of the GPON ONT line
profile to be the same as the QoS mode of the GEM port. By default, the QoS
mode of the ONT line profile is the PQ scheduling mode. The three QoS modes
are as follows:
● flow-car: When this mode is selected, flow-car should be selected in the gem
mapping command, and the maximum traffic depends on the traffic profile
bound to the service port. Run the traffic table ip command to create a
required traffic profile before the configuration.
● gem-car: When this mode is selected, gem-car should be selected in the gem
add command, and the maximum traffic depends on the traffic profile bound
to the GEM port.
● priority-queue: When this mode is selected, priority-queue should be selected
in the gem add command. The system has eight default queues (0-7). Queue
7 has the highest priority and the traffic of this queue must be ensured first.
The maximum traffic depends on the DBA profile bound to the corresponding
T-CONT.
Step 3 Configure the binding relationship between the GEM index and the T-CONT.
Run the gem add command to configure the binding relation between the GEM
index and the T-CONT in the GPON ONT line profile.
The ONT can carry services only after the mapping between the GEM port and the
T-CONT, and the mapping between the GEM port and the service port are
configured for the ONT. A correct attribute should be selected for service-type
based on the service type. Select eth when the Ethernet service is carried. Select
tdm when the TDM service is carried.
Step 4 Configure the mapping between the GEM port and the ONT-side service.
Run the gem mapping command to set up the mapping between the GEM port
and the ONT-side service.
Parameter Description
Parameter Description
● The mapping modes of the ETH port and the MOCA port are as follows:
– If the port is specified and then the VLAN is further specified, the
mapping mode should be configured to port-vlan in the mapping-mode
command. That is, the port+VLAN mapping mode is used.
– If the port is specified and then the priority is further specified, the
mapping mode should be configured to port-priority in the mapping-
mode command. That is, the port+priority mapping mode is used.
– If the port and the VLAN are specified and then the priority is further
specified, the mapping mode should be configured to port-vlan-priority
in the mapping-mode command. That is, the port+VLAN+priority
mapping mode is used.
● As a special port, the IPHOST or E1 port is not restricted by the ONT mapping
mode.
Run the fec-upstream command to configure the upstream FEC switch of the
GPON ONT line profile. By default, this switch is disabled.
In the FEC check, the system inserts redundancy data into normal packets. In this
way, the line has certain error tolerant function, but certain bandwidth resources
are wasted. Enabling the FEC function enhances the error tolerant capability of the
line but occupies certain bandwidth. Therefore, determine whether to enable the
FEC function based on the actual line planning.
Step 6 Configure the status of the ONT Management and Control Channel (OMCC)
encryption switch.
Run the omcc encrypt command to configure the status of the OMCC encryption
switch. When OMCC encryption is enabled, OMCC packets are encrypted;
otherwise, OMCC packets are not encrypted. By default, this switch is disabled.
Step 7 Run the commit command to make the parameters of the profile take effect. The
configuration of a line profile takes effect only after you perform this operation.
NOTE
If this profile is not bound, all the parameters that are configured take effect when the profile is
bound. If this profile is already bound, the configuration takes effect on all ONTs bound to this
profile immediately.
Step 8 Run the quit command to return to the global configuration mode.
----End
Example
Example: Add GPON ONT line profile 5. Create a channel for carrying the ETH
service. Set T-CONT to 1, bind DBA profile 12, set GEM index to 1, bind it to T-
CONT 1, and map it to ETH port 1 of the ONT. Use the QoS policy of controlling
the traffic based on GEM ports, and bind the GEM port to default traffic profile 6.
huawei(config)#ont-lineprofile gpon profile-id 5
huawei(config-gpon-lineprofile-5)#tcont 1 dba-profile-id 12
huawei(config-gpon-lineprofile-5)#qos-mode gem-car
huawei(config-gpon-lineprofile-5)#gem add 1 eth tcont 1 gem-car 6
huawei(config-gpon-lineprofile-5)#mapping-mode port
huawei(config-gpon-lineprofile-5)#gem mapping 1 0 eth 1
huawei(config-gpon-lineprofile-5)#commit
huawei(config-gpon-lineprofile-5)#quit
To modify GPON ONT line profile 5, and change the DBA profile bound to T-CONT
1 from DBA profile 12 to DBA profile 10, do as follows:
huawei(config)#ont-lineprofile gpon profile-id 5
huawei(config-gpon-lineprofile-5)#tcont 1 dba-profile-id 10
huawei(config-gpon-lineprofile-5)#commit
huawei(config-gpon-lineprofile-5)#quit
To modify GPON ONT line profile 5, bind GEM index 1 to T-CONT 2 (originally
bound to T-CONT 3), and map GEM index 1 to ETH port 2 on the ONT, do as
follows:
NOTE
● To modify the binding between a GEM index and a T-CONT, you need to delete the existing
binding entry and then bind the GEM index to the new T-CONT.
● If the GEM index is used by a service port, run the undo service-port command to delete
the service port before deleting the GEM index.
Default Configuration
Table 2-8 lists the default settings of the GPON ONT service profile.
Multicast mode of the ONT Unconcern (the OLT does not perform any
processing)
Configuration Process
Figure 2-36 shows the process of configuring a GPON ONT service profile.
Procedure
Step 1 Configure the Internet access service.
1. Run the ont-srvprofile gpon command to add a GPON ONT service profile,
and then enter the GPON ONT service profile mode. If the ONT management
mode is the SNMP mode, you do not need to configure the service profile.
After adding a GPON ONT service profile, directly enter the GPON ONT
service profile mode to configure the related items. Select the configuration
items according to the service requirements.
2. Run the ont-port eth command to configure the port capability set of the
ONT. The capability set plans the number of various ports supported by the
ONT. The port capability set of the ONT must be the same as the actual
capability set of the ONT.
If the port capability set of an ONT is set to adaptive, the system
automatically adapts to the actual capabilities of the online ONT. By default,
8 ETH ports and 1 IPHOST port are displayed.
3. Run the port vlan(gpon profile) command to configure the port VLAN of the
ONT.
VLAN Configuration Description
▪ You can run the port q-in-q command to configure the QinQ
attribute of the Ethernet port on an ONT only when the Native VLAN
is set to concern. You cannot change the Native VLAN item to
unconcern when the QinQ attribute of the Ethernet port on the ONT
is enabled. You can run the display ont-srvprofile gpon command
to query the QinQ attribute of an ONT port.
The voice service of the ONT is configured by issuing an XML file to the NMS and the OLT
performs only transparent transmission. You only need to run the service-port command to
create a service port carrying the voice service.
1. Run the ont-port pots command to configure the port capability set of the
ONT. The port capability set in the ONT service profile must be the same as
the actual ONT capability set.
NOTE
The service port for the TLS service must also be of the TLS type. Run the service-port
command to create a service port of the TLS type. Select other-all for the multi-service type.
Step 5 Configure the 1:1 (that is, packets reported by the ONT must contain two VLAN
tags) service.
1. Run the ont-port eth command to configure the port capability set of the
ONT. The port capability set in the ONT service profile must be the same as
the actual ONT capability set.
Step 6 Run the mac-learning command to configure the MAC address learning function
of the ONT. This function is enabled by default.
Step 7 Run the commit command to make the parameters of the profile take effect. The
configuration of a service profile takes effect only after you perform this
operation.
NOTE
If this profile is not bound, all the parameters that are configured take effect when the profile is
bound. If this profile is already bound, the configuration takes effect on all ONTs bound to this
profile immediately.
Step 8 Run the quit command to return to the global config mode.
----End
Example
Add GPON ONT service profile 5 for the Internet access service. The ONT supports
4 ETH ports. The VLAN ID of the ETH port is 10. Do as follows:
Add GPON ONT service profile 6 for the multicast service. The ONT supports 4
ETH ports. The VLAN ID of the ETH port is 100. The multicast mode of the ONT is
the controllable multicast mode. The STB supports only VLAN tag 841, and
multicast VLAN tag needs to be translated. Do as follows:
huawei(config)#ont-srvprofile gpon profile-id 6
huawei(config-gpon-srvprofile-6)#ont-port eth adaptive
huawei(config-gpon-srvprofile-6)#port vlan eth 1-4 100
huawei(config-gpon-srvprofile-6)#multicast mode olt-control
huawei(config-gpon-srvprofile-6)#multicast-forward tag translation 841
huawei(config-gpon-srvprofile-6)#commit
huawei(config-gpon-srvprofile-6)#quit
Context
An ONT alarm profile defines a series of alarm thresholds that are used to
monitor the performance of an activated ONT line. When the statistics result of a
parameter reaches the alarm threshold, the NE is notified and an alarm is sent to
the log server and the NMS.
The system has a default alarm threshold profile with ID 1. This profile cannot be
deleted but can be modified.
Procedure
Step 1 Run the gpon alarm-profile add command to add a GPON ONT alarm profile.
If default alarm thresholds are used in a new alarm profile, the system does not
report any alarm.
Step 2 Run the display gpon alarm-profile command to query the alarm profile.
----End
Example
To add GPON ONT alarm profile 5, set the alarm threshold for the packet loss of
the GEM port to 10, set the alarm threshold for the number of mis-transmitted
packets to 30, and use the default value 0 for all other thresholds, do as follows:
huawei(config)#gpon alarm-profile add profile-id 5
{ <cr>|profile-name<K> }:
Command:
gpon alarm-profile add profile-id 5
Press 'Q' or 'q' to quit input
> GEM port loss of packets threshold (0~100)[0]:10
Prerequisites
The GPON ONT profile is already created.
● For an ONT, 2.7.1.2 Configuring a GPON ONT Line Profile (Profile Mode),
2.7.1.3 Configuring a GPON ONT Service Profile (Profile Mode), and
2.7.1.4 Configuring a GPON ONT Alarm Profile are already completed.
● For an MDU or ONU, 2.7.1.2 Configuring a GPON ONT Line Profile (Profile
Mode) and 2.7.1.4 Configuring a GPON ONT Alarm Profile are already
completed.
Context
The OLT uses the ONT Management and Control Interface (OMCI) protocol to
manage and configure the GPON ONT, and supports the offline configuration of
the ONT.
In the profile mode, the related configuration of the GPON ONT is already
integrated in the service profile and the line profile. When adding an ONT, you
only need to bind the ONT with the corresponding service profile and line profile.
Table 2-10 lists the default settings of the GPON ONT.
Configuration Process
Figure 2-37 shows the process of configuring a GPON ONT.
Procedure
Step 1 Add a GPON ONT.
1. Run the interface gpon command to enter the GPON mode.
2. Run the port portid ont-auto-find command to enable the auto discovery
function of the ONT. After the function is enabled, you can add an ONT
according to the information reported by the system. By default, the ONT
auto discovery function of a GPON port is disabled.
NOTE
An auto discovery ONT is in the auto discovery state. The auto discovery ONT can work in
the normal state only after it is confirmed or added.
3. Run the ont add command to add an ONT offline, or run the ont confirm
command to confirm the auto discovery ONT.
When ONTs are added or confirmed, the system provides four authentication
modes: SN, password, SN+password, LOID+CHECKCODE.
– SN authentication: The OLT detects the serial number (SN) reported by
an ONT. If the SN is consistent with the OLT configuration, authentication
is passed and the ONT goes online. This mode requires recording all ONT
SNs. Hence, it is used to confirm auto discovery ONTs and is not
applicable to adding ONTs in batches.
– Password authentication: The OLT detects the password reported by an
ONT. If the password is consistent with the OLT configuration, the ONT
goes online normally. This mode requires planning ONT passwords and
does not require manually recording ONT SNs. Hence, it is applicable to
adding ONTs in batches. The password authentication provides two
discovery modes: always-on and once-on.
NOTE
– If the ONU is an independent NE and is directly managed by the NMS through the
SNMP management mode, select the SNMP management mode. For this mode, you
only need to configure the parameters for the GPON line and the parameters for the
management channel on the OLT. You only need to bind the ONU with a line profile.
– If the ONU is not an independent NE and all its configuration data is issued by the OLT
through OMCI, select the OMCI management mode. For this mode, you need to
configure all parameters (including line parameters, UNI port parameters, and service
parameters) that are required for the ONU on the OLT. Configuring management
channel parameters is not supported. You need to bind the ONT with a line profile and
a service profile.
– Generally, the ONT management mode is set to the OMCI mode. You need to bind the
ONT with a line profile and a service profile.
Step 2 (Optional) Configure the SNMP management parameters for the ONT. When the
ONT management mode is the SNMP mode, you need to configure the SNMP
management parameters for the ONT. The procedure is as follows:
1. Run the ont ipconfig command to configure the management IP address of
the ONT. The IP address should not be in the same subnet for the IP address
of the VLAN port.
2. Run the ont snmp-profile command to bind an SNMP profile to the ONT.
Before running this command, ensure that an SNMP profile has been added
by running the snmp-profile add command.
3. Run the ont snmp-route command to configure the static route of the NMS
server. That is, configure the IP address of the next hop.
Step 3 Configure the default VLAN (native VLAN) for the ONT port.
Run the ont port native-vlan command to configure the default VLAN for the
ONT port. By default, the default VLAN ID of the ONT port is 1.
● If the packets reported from a user (such a PC) to the ONT are untagged, the
packets are tagged with the default VLAN of the port on the ONT and then
reported to the OLT.
● If the packets reported from a user to the ONT are tagged, you need to
configure the port VLAN of the ONT to be the same as the VLAN in the user
tag. The packets are not tagged with the default VLAN of the port on the
ONT but are reported to the OLT with the user tag.
Step 4 Bind an alarm profile.
Run the ont alarm-profile command to bind an alarm profile. Ensure that 2.7.1.4
Configuring a GPON ONT Alarm Profile is completed before the configuration.
Step 5 Query the ONT status.
Run the display ont info command to query the ONT running status,
configuration status, and matching status.
----End
Example
To add five ONTs in offline mode with password authentication mode (ONT
passwords are 0100000001-0100000005), set the discovery mode of password
authentication to always-on, and bind line profile 10 and service profile 10, do as
follows:
huawei(config)#interface gpon 0/1
huawei(config-if-gpon-0/1)#ont add 0 password-auth 0100000001 always-on omci ont-lineprofile-id 10
ont-srvprofile-id 10
huawei(config-if-gpon-0/1)#ont add 1 password-auth 0100000002 always-on omci ont-lineprofile-id 10
ont-srvprofile-id 10
huawei(config-if-gpon-0/1)#ont add 2 password-auth 0100000003 always-on omci ont-lineprofile-id 10
ont-srvprofile-id 10
huawei(config-if-gpon-0/1)#ont add 3 password-auth 0100000004 always-on omci ont-lineprofile-id 10
ont-srvprofile-id 10
huawei(config-if-gpon-0/1)#ont add 4 password-auth 0100000005 always-on omci ont-lineprofile-id 10
ont-srvprofile-id 10
To add an ONT that is managed by the OLT through the OMCI protocol, confirm
this ONT according to the SN 3230313185885B41 automatically reported by the
system, and bind the ONT with line profile 3 and service profile 3 that match the
ONT, do as follows:
huawei(config)#interface gpon 0/1
huawei(config-if-gpon-0/1)#port 0 ont-auto-find enable
huawei(config-if-gpon-0/1)#ont confirm 0 sn-auth 3230313185885B41 omci ont-lineprofile-id 3 ont-
srvprofile-id 3
Default Configuration
Table 2-11 lists the default settings of the GPON port.
Configuration Process
Figure 2-38 shows the process of configuring a GPON Port.
Procedure
Step 1 (Optional) Configure the optical port switch.
1. Run the interface gpon command to enter GPON mode.
2. Run the undo shutdown command to enable the laser of the GPON port. By
default, the laser of the GPON port is enabled and the GPON port is available.
In this case, skip this step.
NOTICE
Run the port portid fec command to configure the FEC function of the GPON
port. By default, the function is disabled.
NOTE
● FEC is to insert redundant data into normal packets so that the line has certain error
tolerance. Some bandwidth, however, must be consumed. Enabling FEC enhances the error
correction capability of the line but at the same time occupies certain bandwidth. Determine
whether to enable FEC according to the actual line planning.
● If a large number of ONTs are online, enabling the FEC function of the optical port may
cause some ONTs to go offline. Therefore, it is recommended that you do not configure the
FEC function of the optical port when there are online ONTs.
Run the port portid ont-password-renew command to configure the interval for
renewing the ONT key. To ensure the system security, the key renewal must be
configured.
Run the port portid range command to configure the compensation distance
range of the GPON port ranging.
Step 5 (Optional) Configure the DBA calculation period on a GPON port basis.
When different GPON ports provide different access services, the bandwidth delays
on these ports are different. In this case, the DBA calculation period needs to be
configured on a GPON port basis.
NOTE
● The DBA calculation period on a GPON port can be configured only when the DBA mode is
set to manual on this GPON port.
● By default, the DBA mode on a GPON port is default, which means the global DBA mode is
used as the bandwidth assignment mode for the GPON port. In this case, if the global DBA
mode is modified by running the gpon dba bandwidth-assignment-mode command, the
bandwidth assignment mode on the GPON port is also modified. If the DBA mode on a
GPON port is not default, the bandwidth assignment mode on the GPON port is not
affected by the global DBA mode.
● If ONTs are configured on a GPON port, modifying the DBA mode is not allowed on this
GPON port.
● For the TDM service, the DBA mode must be set to min-loop-delay.
----End
Example
To enable the FEC function of GPON port 0/1/0, set the key renewal interval for
the ONT connected to this port to 10 h, the minimum ranging compensation
distance to 10 km, and the maximum ranging compensation distance to 15 km, do
as follows:
huawei(config)#interface gpon 0/1
huawei(config-if-gpon-0/1)#port 0 fec enable
huawei(config-if-gpon-0/1)#port 0 ont-password-renew 10
huawei(config-if-gpon-0/1)#port 0 range min-distance 10 max-distance 15
This command will result in the ONT's re-register in the port.
Are you sure to execute this command? (y/n)[n]: y
To set the global DBA mode to min-loop-delay, DBA mode on GPON port 0/1/0
to manual, and DBA calculation period to 4, do as follows:
huawei(config)#gpon dba bandwidth-assignment-mode min-loop-delay
huawei(config)#interface gpon 0/1
huawei(config-if-gpon-0/1)#port dba bandwidth-assignment-mode 0 manual
huawei(config-if-gpon-0/1)#quit
huawei(config)#diagnose
huawei(diagnose)%%gpon port dba calculate-period 0/1/0 4
Context
The xPON mode includes two types: distributed (discrete) mode and profile mode.
The differences between the two modes are as follows:
● In the distributing mode, ONTs cannot be added in batches. Instead, ONTs
need to be configured one by one.
● In profile mode, you can pre-configure ONT line profiles and ONT service
profiles and bind ONTs of the same configurations to the same profile to add
them in batches, which significantly improves service provisioning efficiency.
The xPON mode is determined during site provisioning and will not be changed.
You can run the display xpon mode command to query the xPON mode of the
current system.
Context
GPON ONT profiles contain the parameters required for configuring the GPON
access service, of which,
● DBA profiles specify GPON traffic parameters. The DBA profile bound to an
OLT enables the OLT to dynamically allocate bandwidths, improving upstream
bandwidth utilization.
● In distributed mode, the GPON ONT capability profile contains the physical
port type and quantity of the ONU, mapping mode from service port to GEM
port, and traffic control type.
● The GPON ONT alarm profile provides a series of alarm threshold parameters
that are used for performance measurement and monitoring of activated
ONU lines. After a GPON alarm profile is bound to an ONU, the ONU sends
alarms to the log host and the NMS if the performance statistics of the line
exceed the threshold that is specified in the profile.
NOTE
In this document, ONUs include MDUs and ONTs.
Default Configuration
Table 2-12 lists the default settings of the DBA profiles.
Procedure
Step 1 Add a DBA profile.
Run the dba-profile add command to add a DBA profile. By default, the system
provides DBA profiles 0–9 with typical traffic parameter values. The default
profiles cannot be added or deleted.
NOTE
● By default, a T-CONT is not bound to any DBA profile. You must bind a T-CONT to a DBA
profile.
● When you add a DBA profile, the bandwidth value must be a multiple of 64. If you enter a
bandwidth value not of a multiple of 64, the system adopts the closest multiple of 64 that is
smaller than the value you enter.
----End
Example
To add a DBA profile with the type of type3, set the profile name to DBA_100M
and the required bandwidth to 100 Mbit/s, do as follows:
huawei(config)#dba-profile add profile-name DBA_100M type3 assure 102400 max 102400
huawei(config)#display dba-profile profile-name DBA_100M
Context
● All GPON ONUs must be bound to the GPON ONT capability profile. Specify
the ONT capability profile when running the ont add command to add an
ONU offline or running the ont confirm command to confirm an
automatically discovered ONU.
● Currently, the system provides seven default ONT capability profiles that are
solidified in the system. The default profiles cannot be modified. The default
profile IDs range from 1-7. The reserved ONT capability profile IDs are 8-16.
● The contents of the capability profile restrict the port number that is used in
commands for GEM port mapping, T-CONT/PQ mapping, and the ONT VLAN
management.
● The ONT capability profile must be configured according to the actual
capability of the ONU. Different the capability profile parameters vary
according to different ONUs.
Procedure
Step 1 Run the ont-profile add command to configure an ONT capability profile.
● When you add an ONT capability profile, if the profile ID is not specified, the
system automatically allocates the least idle profile ID; if the profile name is
not specified, the system adopts the default name ont-profile_x, where, x is
the corresponding ONT capability profile ID.
● The system supports up to 128 ONT capability profiles.
● The system default profiles include the MDU profile and several common
ONT (such as OT925, HG850, and HG810) profiles, which can be directly used.
It is recommended to manually configure an ONT capability profile only when
the default ONT capability profile fails to meet actual requirements.
● When you add an MDU profile manually, the number of the ports must be set
to zero.
Step 2 Run the display ont-profile command to query the ONT capability profile.
----End
Example
To add an ONT capability profile for ONT HG850a with the profile index of 30, 2
POTS ports, 4 Ethernet ports, mapping mode of VLANID, and flow control type of
PQ, and query the capability profile after the configuration is complete, do as
follows:
huawei(config)#ont-profile add profile-id 30
{ <cr>|profile-name<K> }:
Command:
ont-profile add profile-id 30
Press 'Q' or 'q' to quit input
> Are you sure you want to set the number of POTS ports to auto-adaptive? (y/n)
[n]:
> Number of POTS ports<0-8> [0]:2
> Are you sure you want to set the number of ETH ports to auto-adaptive? (y/n)
[n]:
> Number of ETH ports<0-8> [0]:4
> Are you sure you want to set the number of VDSL ports to auto-adaptive? (y/n)
[n]: y
> TDM port type<1-E1,2-T1> [1]:
> TDM service type<1-TDMoGEM> [1]:
> Number of TDM ports<0-8> [0]:
> Number of MOCA ports<0-8> [0]:
> Are you sure you want to set the number of CATV UNI ports to auto-adaptive? (
y/n) [n]:
> Number of CATV UNI ports<0-8> [0]:
> Mapping mode<1-VLANID, 2-802_1pPRI, 3-VLANID_802_1pPRI, 4-PORTID,
5-PORTID_VLANID, 6-PORTID_802_1pPRI, 7-PORTID_VLANID_802_1pPRI,
9-IPTOS, 10-VLANID_IPTOS> [1]:
> The type of flow control<1-PQ, 2-GEMPORT-CAR, 3-FLOW-CAR> [1]:
Adding an ONT profile succeeded
Profile ID : 30
Profile name: ont-profile_30
huawei(config)#display ont-profile profile-id 30
---------------------------------------------------------------------------
Profile ID : 30
Profile name: ont-profile_30
---------------------------------------------------------------------------
Number of POTS ports: 2
Number of ETH ports: 4
Number of VDSL ports: 0
Context
An ONT alarm profile defines a series of alarm thresholds that are used to
monitor the performance of an activated ONT line. When the statistics result of a
parameter reaches the alarm threshold, the NE is notified and an alarm is sent to
the log server and the NMS.
The system has a default alarm threshold profile with ID 1. This profile cannot be
deleted but can be modified.
Procedure
Step 1 Run the gpon alarm-profile add command to add a GPON ONT alarm profile.
If default alarm thresholds are used in a new alarm profile, the system does not
report any alarm.
Step 2 Run the display gpon alarm-profile command to query the alarm profile.
----End
Example
To add GPON ONT alarm profile 5, set the alarm threshold for the packet loss of
the GEM port to 10, set the alarm threshold for the number of mis-transmitted
packets to 30, and use the default value 0 for all other thresholds, do as follows:
huawei(config)#gpon alarm-profile add profile-id 5
{ <cr>|profile-name<K> }:
Command:
gpon alarm-profile add profile-id 5
Press 'Q' or 'q' to quit input
> GEM port loss of packets threshold (0~100)[0]:10
> GEM port misinserted packets threshold (0~100)[0]:30
> GEM port impaired blocks threshold (0~100)0[0]:
> Ethernet FCS errors threshold (0~100)[0]:
> Ethernet excessive collision count threshold (0~100)[0]:
> Ethernet late collision count threshold (0~100)[0]:
> Too long Ethernet frames threshold (0~100)[0]:
> Ethernet buffer (Rx) overflows threshold (0~100)[0]:
> Ethernet buffer (Tx) overflows threshold (0~100)[0]:
> Ethernet single collision frame count threshold (0~100)[0]:
Prerequisites
The GPON ONT profile is already created. Configuring a GPON ONT Capability
Profile and Configuring a GPON ONT Alarm Profile are already completed.
Context
The OLT uses the ONT Management and Control Interface (OMCI) protocol to
manage and configure the GPON ONT, and supports the offline configuration of
the ONT. The ONT does not need to save the configuration information locally.
This helps to provision services.
Configuration Process
Figure 2-39 shows the process of configuring a GPON ONT.
Procedure
Step 1 Add a GPON ONT.
1. Run the interface gpon command to enter the GPON mode.
2. Run the port portid ont-auto-find command to enable the auto-find
function of the ONT. After the function is enabled, you can add an ONT
according to the information reported by the system. By default, the ONT
auto-find function of a GPON port is disabled.
NOTE
An auto-find ONT is in the auto-find state. The auto-find ONT can work in the normal
state only after it is confirmed or added.
3. Run the ont add command to add an ONT offline, or run the ont confirm
command to confirm the auto-find ONT.
When ONTs are added or confirmed, the system provides four authentication
modes: SN, password, SN+password, LOID+CHECKCODE.
– SN authentication: The OLT detects the serial number (SN) reported by
an ONT. If the SN is consistent with the OLT configuration, authentication
is passed and the ONT goes online. This mode requires recording all ONT
SNs. Hence, it is used to confirm auto discovery ONTs and is not
applicable to adding ONTs in batches.
– Password authentication: The OLT detects the password reported by an
ONT. If the password is consistent with the OLT configuration, the ONT
goes online normally. This mode requires planning ONT passwords and
does not require manually recording ONT SNs. Hence, it is applicable to
adding ONTs in batches. The password authentication provides two
discovery modes: always-on and once-on.
online, the OLT confirms the ONTs one by one. Generally, the MAC address
authentication mode is used to confirm the ONTs.
NOTE
– If the ONU is an independent NE and is directly managed by the NMS through the
SNMP management mode, select the SNMP management mode. For this mode, you
only need to configure the parameters for the GPON line and the parameters for the
management channel on the OLT.
– If the ONU is not an independent NE and all its configuration data is issued by the OLT
through OMCI, select the OMCI management mode. For this mode, you need to
configure all parameters (including line parameters, UNI port parameters, and service
parameters) that are required for the ONU on the OLT.
– Generally, the ONT management mode is set to the OMCI mode.
Step 2 (Optional) Configure the SNMP management parameters. When the ONT
management mode is the SNMP mode, you need to configure the SNMP
management parameters for the ONT. The procedure is as follows:
1. Run the ont ipconfig command to configure the management IP address of
the ONT. The IP address should not be in the same subnet for the IP address
of the VLAN port.
2. If an ONU is not managed as an independent NE, all configurations of the
ONU are managed by the OLT through the OMCI protocol, and the OMCI
management mode is selected. In this mode, you need to configure all the
parameters (including line parameters, UNI port parameters, and service
parameters) required by the ONU on the OLT.
3. Run the ont snmp-route command to configure a static route for the NMS
server, that is, configure the IP address of the next hop.
Run the ont port vlan command to configure the VLAN of the ONT port.
Step 4 (Optional) Configure the default VLAN (native VLAN) for the ONT port.
Run the ont port native-vlan command to configure the default VLAN for the
ONT port.
● If the packets reported from a user (such a PC) to the ONT are untagged, the
packets are tagged with the default VLAN of the port on the ONT and then
reported to the OLT.
● If the packets reported from a user to the ONT are tagged, you need to
configure the port VLAN of the ONT to be the same as the VLAN in the user
tag. The packets are not tagged with the default VLAN of the port on the
ONT but are reported to the OLT with the user tag.
Run the ont alarm-profile command to bind an alarm profile. Ensure that 2.7.1.4
Configuring a GPON ONT Alarm Profile is completed before the configuration.
If traffic streams are configured on a GEM port and an ONT is the working ONT in a
single-homing protection group, the GEM port cannot be bound to or unbound from the
ONT.
3. Run the ont gemport mapping command to create the mapping between
the GEM port and the ONT-side service.
Step 8 Query the ONT status.
Run the display ont info command to query the ONT running status,
configuration status, and matching status.
----End
Example
To add five ONTs in offline mode with password authentication mode (ONT
passwords are 0100000001-0100000005), set the discovery mode of password
authentication to always-on, and bind ONT capability profile 30, do as follows:
huawei(config)#interface gpon 0/1
huawei(config-if-gpon-0/1)#ont add 0 password-auth 0100000001 always-on profile-id 30 manage-
mode omci
huawei(config-if-gpon-0/1)#ont add 0 password-auth 0100000002 always-on profile-id 30 manage-
mode omci
huawei(config-if-gpon-0/1)#ont add 0 password-auth 0100000003 always-on profile-id 30 manage-
mode omci
huawei(config-if-gpon-0/1)#ont add 0 password-auth 0100000004 always-on profile-id 30 manage-
mode omci
huawei(config-if-gpon-0/1)#ont add 0 password-auth 0100000005 always-on profile-id 30 manage-
mode omci
To add an ONT that is managed by the OLT through the OMCI protocol, confirm
this ONT according to the SN 3230313185885B41 automatically reported by the
system, and bind the ONT with capability profile 3 that match the ONT, do as
follows:
huawei(config)#interface gpon 0/1
huawei(config-if-gpon-0/1)#port 0 ont-auto-find enable
huawei(config-if-gpon-0/1)#ont confirm 0 sn-auth 3230313185885B41 profile-id 3
manage-mode omci
Default Configuration
Table 2-14 lists the default settings of the GPON port.
Configuration Process
Figure 2-40 shows the process of configuring a GPON Port.
Procedure
Step 1 (Optional) Configure the optical port switch.
1. Run the interface gpon command to enter GPON mode.
2. Run the undo shutdown command to enable the laser of the GPON port. By
default, the laser of the GPON port is enabled and the GPON port is available.
In this case, skip this step.
NOTICE
Run the port portid fec command to configure the FEC function of the GPON
port. By default, the function is disabled.
NOTE
● FEC is to insert redundant data into normal packets so that the line has certain error
tolerance. Some bandwidth, however, must be consumed. Enabling FEC enhances the error
correction capability of the line but at the same time occupies certain bandwidth. Determine
whether to enable FEC according to the actual line planning.
● If a large number of ONTs are online, enabling the FEC function of the optical port may
cause some ONTs to go offline. Therefore, it is recommended that you do not configure the
FEC function of the optical port when there are online ONTs.
Run the port portid ont-password-renew command to configure the interval for
renewing the ONT key. To ensure the system security, the key renewal must be
configured.
Run the port portid range command to configure the compensation distance
range of the GPON port ranging.
Step 5 (Optional) Configure the DBA calculation period on a GPON port basis.
When different GPON ports provide different access services, the bandwidth delays
on these ports are different. In this case, the DBA calculation period needs to be
configured on a GPON port basis.
NOTE
● The DBA calculation period on a GPON port can be configured only when the DBA mode is
set to manual on this GPON port.
● By default, the DBA mode on a GPON port is default, which means the global DBA mode is
used as the bandwidth assignment mode for the GPON port. In this case, if the global DBA
mode is modified by running the gpon dba bandwidth-assignment-mode command, the
bandwidth assignment mode on the GPON port is also modified. If the DBA mode on a
GPON port is not default, the bandwidth assignment mode on the GPON port is not
affected by the global DBA mode.
● If ONTs are configured on a GPON port, modifying the DBA mode is not allowed on this
GPON port.
● For the TDM service, the DBA mode must be set to min-loop-delay.
----End
Example
To enable the FEC function of GPON port 0/1/0, set the key renewal interval for
the ONT connected to this port to 10 h, the minimum ranging compensation
distance to 10 km, and the maximum ranging compensation distance to 15 km, do
as follows:
huawei(config)#interface gpon 0/1
huawei(config-if-gpon-0/1)#port 0 fec enable
huawei(config-if-gpon-0/1)#port 0 ont-password-renew 10
huawei(config-if-gpon-0/1)#port 0 range min-distance 10 max-distance 15
This command will result in the ONT's re-register in the port.
Are you sure to execute this command? (y/n)[n]: y
To set the global DBA mode to min-loop-delay, DBA mode on GPON port 0/1/0
to manual, and DBA calculation period to 4, do as follows:
huawei(config)#gpon dba bandwidth-assignment-mode min-loop-delay
huawei(config)#interface gpon 0/1
huawei(config-if-gpon-0/1)#port dba bandwidth-assignment-mode 0 manual
huawei(config-if-gpon-0/1)#quit
huawei(config)#diagnose
huawei(diagnose)%%gpon port dba calculate-period 0/1/0 4