G-PON Encapsulation Method (GEM) defined as part of ITU-T G.984.3 is the method used to package and transport diverse user-plane and management traffic such as Ethernet, TDM and OMCI messages over a Gigabit-capable Passive Optical Network. The encapsulation mechanism is defined as part of the GPON transmission convergence layer and uses the GEM to map variable-length client frames into GPON payload units for transport between an optical line termination (OLT) and optical network units/terminals (ONUs).
Overview The encapsulation objective is twofold:
Provide an efficient, flexible framing that carries multiple service types across a shared downstream/upstream medium Support per-flow quality of service, fragmentation, and orderly reassembly. GEM decouples client service formats from the underlying GPON framing so that Ethernet frames, ATM cells, or generic payloads can be carried transparently while the GPON transmission convergence (GTC) layer handles multiplexing, operation, administration and maintenance (OAM), synchronization and bandwidth allocation.
Frame structure of GEM frame
Payload length indicator (PLI): 12 bits Indicates the length of the GEM payload in bytes (up to 4095 bytes). Port-ID: 12 bits Identifies the logical GEM port associated with a specific service flow or traffic stream. Payload type indicator (PTI): 3 bits Indicates the payload type "User data" or "GEM OAM", and fragmentation status of the frame. Header Error Control (HEC): 3 bits Error detection and correction field used to protect the GEM header.
Transport of user traffic over GEM Depending on Service type selected for the GEM Port-ID, both OTL and ONU know how to handle the payload, and can save bandwidth by not encapsulation Ethernet. The GEM model is placed in layer 2.
Multiprotocol Label Switching MPLS packets are carried directly in GEM payloads. ; an MPLS packet (or fragment) maps to one or more GEM frames according to the general fragmentation rules, a GEM frame shall carry no more than one MPLS packet (or MPLS fragment).
IP packets IP packets are carried directly in GEM payloads; an IP packet (or fragment) maps to one or more GEM frames according to the general fragmentation rules, a GEM frame shall carry no more than one IP packet (or IP fragment). To make Ethernet work proxy ARP is used, for upstream/downstream devices.
Ethernet Ethernet is directly mapped on GEM packet, only Ethernet layer 2 packets are used, layer 1 part (Preamble, Start frame delimiter, Interpacket gap) is not generated.
References
