Hello Mate,
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.
OMCI Position in GPON Protocol Stacks
Figure 1 GPON Protocol Stacks
http://localhost:7890/pages/AEJ06122/01/AEJ06122/01/resources/feature/image/fig_feature_392901.png
OMCI Message Format
OMCI messages are strictly limited in length and format. Specifically, the length is consistently 53 bytes and the length of the OMCI data unit is 48 bytes. Figure 2 shows the OMCI message format.
Figure 2 OMCI message formathttp://localhost:7890/pages/AEJ06122/01/AEJ06122/01/resources/feature/image/fig_feature_392902.png 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 ITU-T Recommendation G.984.4, message types 4 through 28 are used and other message types 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 ONT using the OMCI. The OMCI protocol allows the OLT to:
Establish and release connections with the ONT.
Manage the UNIs on the ONT.
Request configuration information and performance statistics.
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 ONT controller. The GEM connection is established during ONT initialization. The OMCI protocol is asynchronous: the OLT controller is the master and the ONT controller is the slave. A single OLT controller using multiple protocol instances over separate control channels can control multiple ONTs.
The OLT manages the ONT using OMCI in the following aspects:
Configuration management: Controls and identifies the ONT, and collects data from and provides data to the ONT.
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.
i hope it helpful!