T Rec G.987.3 201401 I!!pdf e
T Rec G.987.3 201401 I!!pdf e
T Rec G.987.3 201401 I!!pdf e
ITU-T G.987.3
TELECOMMUNICATION (01/2014)
STANDARDIZATION SECTOR
OF ITU
Summary
Recommendation ITU-T G.987.3 describes the transmission convergence layer for
10-gigabit-capable passive optical network systems – a family of flexible access network systems
that operate over a point-to-multipoint optical access infrastructure at nominal data rates in the order
of 10.0 Gbit/s in at least one direction, while providing a wide range of broadband and narrow-band
services to end-users.
History
Edition Recommendation Approval Study Group Unique ID*
1.0 ITU-T G.987.3 2010-10-07 15 11.1002/1000/10890
1.1 ITU-T G.987.3 (2010) Amd. 1 2012-06-22 15 11.1002/1000/11535
2.0 ITU-T G.987.3 2014-01-13 15 11.1002/1000/12098
Keywords
Optical access network, passive optical network, 10-gigabit PON, XGEM, XGTC.
____________________
* To access the Recommendation, type the URL http://handle.itu.int/ in the address field of your web
browser, followed by the Recommendation's unique ID. For example, http://handle.itu.int/11.1002/1000/11
830-en.
NOTE
In this Recommendation, the expression "Administration" is used for conciseness to indicate both a
telecommunication administration and a recognized operating agency.
Compliance with this Recommendation is voluntary. However, the Recommendation may contain certain
mandatory provisions (to ensure, e.g., interoperability or applicability) and compliance with the
Recommendation is achieved when all of these mandatory provisions are met. The words "shall" or some
other obligatory language such as "must" and the negative equivalents are used to express requirements. The
use of such words does not suggest that compliance with the Recommendation is required of any party.
ITU 2014
All rights reserved. No part of this publication may be reproduced, by any means whatsoever, without the
prior written permission of ITU.
1 Scope
This Recommendation describes the transmission convergence layer for 10-Gigabit-capable passive
optical network (XG-PON) systems – a family of flexible access network systems that operate over
a point-to-multipoint optical access infrastructure at the nominal data rate of 10.0 Gbit/s in at least
the downstream direction, while providing a wide range of broadband and narrow-band services to
end-users.
This Recommendation specifies:
– the layered structure of the XG-PON transmission convergence (XGTC) layer;
– functionality of the service adaptation sublayer, including XG-PON encapsulation method
(XGEM), XGEM frame delineation, and service data unit (SDU) fragmentation;
– functionality of the framing sublayer with the specification of the downstream XG-PON
frame and upstream burst formats;
– functionality of the physical interface (PHY) adaptation sublayer, including forward error
correction and scrambling;
– XG-PON embedded management functionality, including upstream time-division multiple
access and dynamic bandwidth assignment mechanisms;
– the XG-PON physical layer operation, administration and management (OAM) messaging
channel;
– the optical network unit (ONU) activation method;
– timing aspects of point-to-multipoint operation and time-of-day communication;
– cryptographic mechanisms for authentication, integrity verification, channel isolation and
data protection along with and the associated key exchange protocols;
– signalling mechanisms and protocols to support ONU power saving.
This Recommendation forms an integral part of the ITU-T G.987 series of ITU-T
Recommendations [ITU-T G.987], [ITU-T G.987.1], [ITU-T G.987.2] that, together with [ITU-T
G.988], specify a single coherent set of access transmission systems.
2 References
The following ITU-T Recommendations and other references contain provisions which, through
reference in this text, constitute provisions of this Recommendation. At the time of publication, the
editions indicated were valid. All Recommendations and other references are subject to revision;
users of this Recommendation are therefore encouraged to investigate the possibility of applying the
most recent edition of the Recommendations and other references listed below. A list of the
currently valid ITU-T Recommendations is regularly published. The reference to a document within
this Recommendation does not give it, as a stand-alone document, the status of a Recommendation.
[ITU-T G.652] Recommendation ITU-T G.652 (2009), Characteristics of a single-mode
optical fibre and cable.
[ITU-T G.709] Recommendation ITU-T G.709/Y.1331 (2012), Interfaces for the Optical
Transport Network.
3 Definitions
See clause 3 of [ITU-T G.987].
5 Conventions
See clause 5 of [ITU-T G.987].
XGEM XGEM
H payload H payload
XGEM
H payload
XGEM XGEM
H payload H payload ... XGEM
H payload
FEC data P FEC data P FEC data P FEC data P FEC data P FEC data P FEC data P FEC data P
FEC FEC
codeword codeword
PSBd Scrambled PHY frame payload PSBd Scrambled PHY frame payload
XGEM
H payload
XGEM
H payload
XGEM XGEM
H payload H payload ... XGEM
H payload
Allocation Allocation
XGTC burst
XGTC burst
PHY adaptation
sublayer
Shortened FEC
FEC codeword FEC codeword codeword
PHY burst
G.987.3(10)_F6-2
* The remaining fragment of the SDU is transmitted in the subsequent allocation with the same Alloc-ID.
H XGEM frame header
AO Allocation overhead
P FEC parity
The basic functionality of the three sublayers of the XG-PON TC layer is reviewed in clause 6.2.
XGTC layer
User data OMCI (3)
XGTC functions: adapter adapter
PLOAM PM
processor Security key mgmt
ONU power mgmt
XGEM engine
Upstream (2)
bandwidth mgmt
DBA control XGTC
frame/burst
PLOAM
Embedded header fields XGEM partition
partition
XGEM port
XGEM port
XGEM port
OLT ONU
XGEM port
XGEM port
XGEM port
G.987.3(10)_F6-4
In the upstream direction, the traffic multiplexing functionality is distributed. The OLT grants
upstream transmission opportunities, or upstream bandwidth allocations, to the traffic-bearing
entities within the subtending ONUs. The ONU's traffic-bearing entities that are recipients of the
upstream bandwidth allocations are identified by their allocation IDs (Alloc-IDs). Bandwidth
allocations to different Alloc-IDs are multiplexed in time as specified by the OLT in the bandwidth
maps transmitted downstream. Within each bandwidth allocation, the ONU uses the XGEM Port-ID
as a multiplexing key to identify the XGEM frames that belong to different upstream logical
connections.
PON
XGEM port
XGEM port
ONU
XGEM port
OLT Alloc-ID
XGEM port
XGEM port
XGEM port
G.987.3(10)_F6-5
OLT BWmap
ONUX
Alloc-IDX Alloc-ID 1050
Burst of ONU X
ONUY
Alloc-ID Y
G.987.3(10)_F6-6
Burst of ONU Y
The use of BWmap parameters is discussed more precisely in clause 8.1.2. The details of the PON
timing relationships can be found in clause 13.
D = RF , R A , RM , χ AB , P , ω (7-1)
where:
RF: Fixed bandwidth [bit/s];
RA: Assured bandwidth [bit/s];
RM: Maximum bandwidth [bit/s];
χAB: Ternary eligibility indicator for additional bandwidth assignment: {none,
non-assured (NA), best-effort (BE)};
P: Priority for best-effort bandwidth assignment;
ω: Weight for best-effort bandwidth assignment.
if χ AB = BE , then RM > RF + R A ≥ 0
In addition, the overall traffic specification should satisfy the basic stability condition:
where the summation is over the set of all upstream or downstream traffic flows on the PON, and C
is the capacity of the upstream or downstream interface, respectively.
The specified general form of traffic descriptor allows support of both rate-based service disciplines
and priority-based service disciplines. By setting certain descriptor components to zero (rate
parameters) or identical values (priority and weight parameters), the system operator can effectively
specify the required service discipline. The upstream and downstream traffic flows may be specified
with different subsets of descriptor components. In particular, the fixed bandwidth parameter is
important in a distributed scheduling environment, where it serves to mitigate the communication
latency between the network elements hosting, respectively, the scheduler and the traffic queues,
and may not be applicable in the downstream direction where scheduling is centralized.
If necessary, two or more traffic flows may be considered as a single aggregate flow. The traffic
descriptor of the aggregate flow is constructed by the system from the individual traffic descriptors
of the constituent traffic flows. The rate parameters of the aggregate flow traffic descriptor (denoted
by an asterisk) are expected to satisfy:
(
RF* + R*A = RFj + R Aj )
j
(7-4)
*
max RMj ≤ RM ≤ RMj
j j
where the superscript j denotes a parameter of the jth constituent traffic descriptor. Determination of
the parameter values of the aggregate flow traffic descriptor from its constituent traffic descriptors
is beyond the scope of this Recommendation.
In the downstream direction, it is the responsibility of the OLT to provide QoS-aware traffic
management (including, as applicable, buffer management, traffic scheduling and shaping) of
XGEM Port-ID traffic flows based on the respective traffic descriptors, availability of memory and
bandwidth resources, and dynamic traffic conditions. Because this function is internal to the OLT, it
is beyond the scope of this Recommendation.
In the upstream direction, an aggregate traffic descriptor is constructed for each transmission
container (T-CONT) based on the service specifications of the XGEM Port-ID flows multiplexed
onto that T-CONT. It is the responsibility of the OLT to provide QoS-aware traffic management of
ONU N
...
Alloc-ID X
...
Alloc-ID Z
G.987.3(10)_F7-1
For each Alloc-ID logical buffer, the DBA functional module of the OLT infers its occupancy either
by collecting inband status reports, or by observing the upstream idle pattern, or both. The DBA
function then provides input to the OLT upstream scheduler, which is responsible for generating the
bandwidth maps (BWmaps). The BWmap specifies the size and timing of upstream transmission
opportunities for each Alloc-ID, and is communicated to the ONUs inband with the downstream
traffic.
7.2.2 DBA functional requirements
Dynamic bandwidth assignment in XG-PON encompasses the following functions. These functions
apply on the level of individual Alloc-IDs and their provisioned bandwidth component parameters:
1) Inference of the logical upstream transmit buffer occupancy status.
2) Update of the instantaneously assigned bandwidth according to the inferred buffer
occupancy status within the provisioned bandwidth component parameters.
3) Issue of allocations according to the updated instantaneous bandwidth.
4) Management of the DBA operations.
The XG-PON OLT is required to support DBA.
7.2.3 DBA methods
Depending on the ONU buffer occupancy inference mechanism, two DBA methods can be
distinguished:
– status reporting (SR) DBA is based on explicit buffer occupancy reports that are solicited
by the OLT and submitted by the ONUs in response;
– traffic monitoring (TM) DBA is based on the OLT's observation of the idle XGEM frame
pattern and its comparison with the corresponding bandwidth maps.
The XG-PON OLT shall support a combination of both TM and SR DBA methods and be capable
of performing the DBA functions of clause 7.2.2 in an efficient and fair manner. The specific
efficiency and fairness criteria can be based on overall PON utilization, the individual ONU's
performance, tested against the corresponding objectives, and comparative performance tested for
multiple ONUs.
Additional
Assigned bandwidth, R(t)
Saturation level
RA+RF
Assured
Guaranteed
RF
Fixed
RF RA+RF RM
G.987.3(10)_F7-2
Offered load, RL (t)
S NA (t ) = C − RGi (t ) (7-9)
i
i
where R G (t) is specified by Equation (7-8).
The surplus bandwidth SNA (t) is shared among the eligible (χAB = NA) Alloc-IDs so that:
1) the bandwidth conservation condition (7-7) holds, and either
2.1) for each Alloc-ID i, the assigned bandwidth satisfies the saturation criterion:
{
R i ( t ) = min RM
i
{
; max RLi ( t ); RFi }} (7-10)
or
2.2) SNA (t) is exhausted and at most one Alloc-ID remains unsaturated, or
2.3) SNA (t) is exhausted and for any two eligible unsaturated Alloc-IDs i and j, the assigned non-
assured bandwidths satisfy the fairness condition:
i j
RNA (t ) RNA (t )
= (7-11)
RF + R A RF + R Aj
i i j
Best-effort bandwidth is a form of additional bandwidth that the OLT may dynamically assign to
an eligible Alloc-ID in proportion to the non-guaranteed portion of that Alloc-ID's provisioned
maximum bandwidth.
Here RiG (t) is specified by Equation (7-8), and Ri (t) by the saturation criterion (7-10).
The surplus bandwidth SBE (t) is shared among the eligible (χAB = BE) Alloc-IDs so that:
1) the bandwidth conservation condition of Equation (7-7) holds, and either
2.1) for each Alloc-ID i, the assigned bandwidth satisfies the saturation criterion of Equation (7-
10), or:
2.2) SBE (t) is exhausted and at most one Alloc-ID remains unsaturated, or
2.3) SBE (t) is exhausted and for any two eligible unsaturated Alloc-IDs i and j, the assigned
best-effort bandwidths satisfy the fairness condition:
i j
RBE (t ) RBE (t )
=
i
RM (
− RFi + RiA ) (
RMj − RFj + R Aj ) (7-13)
S BE (t ) = C − RGi (t ) (7-14)
i
i
where R G (t) is specified by Equation (7-8).
The surplus bandwidth SBE (t) is shared among the eligible (χAB = BE) Alloc-IDs so that:
1) the bandwidth conservation condition of Equation (7-7) holds, and either
2.1) for each Alloc-ID i, the assigned bandwidth satisfies the saturation criterion of Equation (7-
10), or
2.2) SBE (t) is exhausted and the following two statements hold:
– as long as at least one eligible Alloc-ID i with provisioned priority level Pi remains
unsaturated, the assigned best-effort bandwidth share of any Alloc-ID with a logically
lower provisioned priority level is zero;
– as long as two eligible Alloc-IDs i and j with identical provisioned priority levels Pi = Pj
remain unsaturated, their assigned best-effort bandwidth shares satisfy the fairness
condition:
DBRu PLOAMu
1 bit 1 bit G.987.3(10)_F8-2
XGTC XGTC
Allocation A Allocation B
header trailer
XGTC burst
Framing sublayer
PHY adaptation
sublayer
StartTime
Note that the start of upstream PHY frame is just a reference point that is not associated with any
externally observable event (unlike the start of the downstream PHY frame which is bound to
transmission or receipt of the first bit of the PSync sequence). Note further that the OLT and each
ONU associate the start of upstream PHY frame with generally different moments in time. See
clause 13 for the details of the PON timing relationships.
8.1.2.4 GrantSize field
The GrantSize field contains the 16-bit number that indicates the combined length of the XGTC
payload data with DBRu overhead transmitted within the given allocation. (Notably, GrantSize does
not include XGTC header, XGTC trailer, or FEC overhead.) GrantSize has the granularity of
1 word (4 bytes). The value of GrantSize is equal to zero for the PLOAM-only grants, including
serial number grants and ranging grants used in the process of ONU activation. The minimum
possible non-zero value of GrantSize is 1, which corresponds to as single word (4 byte) allocation
for a DBRu-only transmission. The minimum allocation for XGTC payload proper (DBRu flag not
set) is 4 words (16 bytes), in which case GrantSize = 4.
8.1.2.5 Forced wake-up indication (FWI) bit
When addressing an ONU that supports the protocol-based power management, the OLT sets the
FWI bit to expedite waking up an ONU that has been in a low power mode. See clause 16 for the
details of the ONU power management. When required by the OLT power management state
machine, the FWI bit is set in the first allocation structure of each burst allocation series to a given
ONU. The value of the FWI bit in the subsequent allocations structures of a burst allocation series is
not controlled and is ignored by the ONU.
8.1.2.6 BurstProfile field
The BurstProfile field is a 2-bit field that contains the index of the burst profile to be used by the
PHY adaptation sublayer of the ONU to form the PHY burst. This index refers to the set of valid
burst profiles that is communicated to the ONUs by the broadcast or unicast transmissions over the
PLOAM messaging channel. For each specified profile, the index is explicitly defined in the profile
PLOAM message (see clause 11.3.3.1).
8.1.2.7 HEC field
The error detection and correction field for the allocation structure is a combination of a BCH(63,
12, 2) code operating on the 63 initial bits of the allocation structure and a single parity bit. The
details of the HEC construction and verification are specified in Annex A.
PLOAMd
P * 48 bytes
XGTC XGTC
DBRu XGTC payload DBRu XGTC payload
header trailer
BufOcc CRC
3 bytes 1 byte
The reported value should represent the best available estimate that corresponds to the moment of
time when the report is transmitted, that is, to the start of the upstream allocation interval. The
reported value should be inclusive of any traffic that may have been scheduled for upstream
transmission within this allocation interval.
While the length L of an individual SDU is a natural number, the BufOcc field needs to encode two
special values: 0x000000 denotes an empty buffer, and 0xFFFFFF represents an invalid
measurement.
8.2.2.2 CRC field
The DBRu structure is protected using a CRC-8, using the same polynomial as in [ITU-T I.432.1]
(g(x) = x8 + x2 + x + 1). Unlike [ITU-T I.432.1], however, the CRC is not exclusive OR'ed with
0x55. The receiver of the DBRu field implements the error detecting and correcting functions of the
CRC-8. If the CRC-8 indicates that an uncorrectable error has occurred, then the information in the
DBRu is discarded.
8.2.3 Upstream XGTC burst trailer
The upstream XGTC burst trailer contains a 4-byte wide bit-interleaved even parity (BIP) field
computed over the entire XGTC burst. The OLT receiver verifies the BIP to estimate the BER on
the upstream optical link. Note that the BIP-based BER estimate is applicable only when the FEC is
turned off. Whenever upstream FEC is turned on in the PHY adaptation sublayer, the raw BER
estimate should instead be obtained based on the FEC correction results.
Each XGEM frame contains a fixed size XGEM header and a variable size XGEM payload field.
9.1.2 XGEM frame header
The size of the XGEM header is 8 bytes. The format of the XGEM header is shown in Figure 9-2.
XGEM frame
XGEM
XGEM payload
header
SDU
SDU SDU
fragment A fragment B
The downstream and upstream fragmentation is subject to the following respective rules.
In the downstream direction, if the available XGTC payload in the current XGTC frame is at least
16 bytes, and the length of the SDU available for transmission, including the 8-byte XGEM header,
exceeds that available payload, the SDU should be partitioned in two fragments, so that the first
SDU fragment completely occupies the available payload of the current XGTC frame, while the
second SDU fragment is transmitted in the XGTC payload of the next XGTC frame. If the size of
second SDU fragment is less than 8 bytes, then it should be padded to 8 bytes to meet the 16 byte
minimum XGEM frame size requirement. Once SDU fragmentation has commenced, the second
fragment of the SDU shall be transmitted prior to any other SDU; that is, downstream SDU
pre-emption is not supported.
In the upstream direction, if the available XGTC payload in the current allocation is at least
16 bytes, and the length of the SDU or SDU fragment scheduled for transmission, including the
8-byte XGEM header, exceeds that available payload, the SDU should be partitioned in two
fragments, so that the first SDU fragment completely occupies the available XGTC payload in the
current allocation, while the remainder of the SDU is transmitted in the XGTC payload of the next
upstream allocation associated with the same Alloc-ID, being the subject to the same fragmentation
rules. Once SDU fragmentation has commenced, all fragments of the SDU shall be transmitted prior
to any other SDU associated with the same Alloc-ID; that is, upstream SDU pre-emption within a
given Alloc-ID is not supported.
The following additional rules apply to both the downstream and upstream directions:
– If as a result of fragmentation, the second SDU fragment is less than 8 bytes, it should be
padded to the minimum of 8 bytes to meet the minimum XGEM frame size of 16 bytes.
XGEM payload N + 18
N MAC client data
4 FCS
Padding 0− 3
XGEM payload N+ L
N MPLS payload
Padding 0-3
PSBd
PSync and/or
SFC fails
Re-sync
M-1 consecutive PSync state PSync and/or
and/or SFC failures SFC fails
PSync and/or
SFC fails
Exact PSync match Both PSync and
and SFC usable SFC verified
Pre-sync
state
G.987.3(10)_F10-3
Once the ONU locates a boundary of a downstream PHY frame and leaves the Hunt state, it
performs PSync and SFC verification on each subsequent PHY frame boundary (i.e., once every
155520 bytes) and executes a corresponding transition of the downstream synchronization state
machine. Prior to PSync and SFC verification, the ONU increments the local SFC value by one.
The first incoming 64-bit sequence at the boundary of a downstream PHY frame is considered a
PSync field, whereas the subsequent 64-bit sequence is considered an SFC structure. The PSync
verification is successful if at least 62 bits of the incoming 64-bit sequence match the fixed PSync
pattern; otherwise, the PSync verification fails. The SFC verification is successful if the incoming
64-bit sequence forms a valid (error-free or correctable) HEC-protected field, and the incoming
SFC value is equal to the locally stored (and just incremented) SFC value; otherwise, the SFC
verification fails.
Once in the Pre-Sync state, the ONU transitions to the Sync state if both PSync verification and
SFC verification are successful, and returns to the Hunt state if either PSync verification or SFC
verification fails.
Once in the Sync state, the ONU remains in that state as long both PSync verification and SFC
verification are successful, and transitions into the Re-Sync state, if either PSync verification or
SFC verification fails.
Once in the Re-Sync state, the ONU transitions back to Sync state if both PSync and SFC are
successfully verified once. However, if for M – 1 consecutive PHY frames either PSync verification
ONU j PSBu
PSBu
Preamble Delimiter
G.987.3(10)_F10-5
See Appendix III for the discussion of preamble and delimiter patterns and recommended burst
profiles.
10.2.2 Upstream PHY burst payload
The payload of an upstream PHY burst is obtained from the corresponding upstream XGTC burst
(see clause 8.2) by optionally applying FEC, at the OLT discretion as controlled by the burst
profile, (clause10.3.2), and scrambling the result (clause 10.4.2).
10.2.3 Guard time
To prevent upstream transmissions from colliding and jamming each other, the OLT builds the
BWmap allowing suitable guard time between upstream bursts from different ONUs. Guard time
accommodates the Tx enable and Tx disable times, and includes the margin for the individual ONU
transmission drift. The recommended minimum guard time is 64 bits.
PSBd
Data bytes of Parity Data bytes of Parity ... Data bytes of Parity
codeword #1 codeword #2 codeword #627
PSBd Data bytes Parity Data bytes Parity ... Data bytes Parity
PSBu
Data bytes of Parity ... Data bytes of Parity Data bytes of Parity
codeword #1 codeword # K last codeword
232 16 232 16 L 16
Codeword #1 Codeword # K Last (short) codeword
Upstream PHY burst
G.987.3(10)_F10-8
PSBu
Data bytes of Parity ... Data bytes of Parity Data bytes of Parity
codeword #1 codeword # K last codeword
10.4 Scrambling
10.4.1 Scrambling of the downstream PHY frame
The downstream PHY frame is scrambled using a frame-synchronous scrambling polynomial. The
polynomial used is x58 + x39 + 1. This pattern is added modulo two to the downstream data. The
shift register used to calculate this polynomial is reset by a preload pattern at the first bit following
the PSBd block, and is allowed to run until the last bit of the downstream PHY frame.
The preload pattern, which is 58 bits long, changes for every downstream PHY frame. The most
significant 51 bits of the preload (P1…P51) are represented by the 51-bit superframe counter
transmitted in the PSBd block, so that P51, which is the MSB of the preload, equals the MSB of the
superframe counter. The seven least significant bits of the preload are set to 1.
A diagram of the downstream and upstream PHY frame scrambling is shown in Figure 10-10. An
example of a scrambler sequence is shown in Annex A.
0 1 39 57 58
X X X X X
D Q D Q D Q
... ...
S S S
clk Scrambled
data out
set
11.1 Overview
The physical layer OAM (PLOAM) messaging channel in an XG-PON system is an operations and
management facility between OLT and ONUs that is based on a fixed set of messages transported
within a designated field of the XGTC frame header (downstream) and the XGTC burst header
(upstream). The OLT and ONU PLOAM processing engines appear as clients of the respective
XGTC framing sublayers. The PLOAM channel provides more flexible functionality than the
embedded management channel and is generally faster than the OMCI channel.
11.1.1 PLOAM channel functionality
The PLOAM channel supports XG-PON TC layer management functions. It is based upon
exchange of 48-byte messages that are transported in the PLOAM partition of the downstream
XGTC frame header and in the upstream XGTC burst header.
The PLOAM channel supports the following functions:
– Burst profile communication;
– ONU activation;
– ONU registration;
– Encryption key update exchange;
– Protection switching signalling;
– Power management.
11.2.1 ONU-ID
The ONU-ID field includes six reserved bits, plus an actual 10-bit ONU identifier that specifies the
message recipient in the downstream direction or the message sender in the upstream direction.
During ONU activation, the ONU is assigned an ONU-ID in the range from 0 to 1022. The reserved
ONU-ID value 1023 (0x3FF) indicates a broadcast message in the downstream direction or an ONU
that has not been assigned an ONU-ID in the upstream direction.
11.2.2 Message type ID
Message type ID is an 8-bit field that indicates the type of the message and defines the semantics of
the message payload. Message type ID code points are defined in clause 11.3 below. Message type
ID code points that are not explicitly defined in this Recommendation are reserved. Reserved
Message type ID code points should not be allocated by any vendor for any purpose and should not
be transmitted in a PLOAM message. Upon receipt of an upstream PLOAM message with an
unsupported message type ID, an OLT should ignore the message, including the sequence number
field. Upon receipt of a downstream PLOAM message with a reserved or unsupported message type
ID, an ONU should ignore the message, if it was sent with the broadcast ONU-ID, or negatively
acknowledge the message as an unknown message type, if it was sent to that specific ONU-ID.
11.2.3 SeqNo
SeqNo is an 8-bit field containing a sequence number counter that is used to ensure robustness of
the PLOAM messaging channel.
In the downstream direction, the SeqNo field is populated with the value of a corresponding OLT
sequence number counter. The OLT maintains a separate sequence number counter for each ONU
unicast and for the broadcast PLOAM message flow. The counter for the broadcast PLOAM
message flow is initialized to 1 upon OLT reboot. For each ONU, the OLT initializes the sequence
number counter to 1 upon ONU-ID assignment. Upon transmission of a broadcast or unicast
PLOAM message, the appropriate sequence number counter is incremented. Each sequence number
counter rolls over from 255 to 1; the value 0 is not used downstream.
In the upstream direction, whenever an upstream PLOAM message is a response to a downstream
PLOAM message, the content of the SeqNo field is equal to the content of the SeqNo field of the
downstream message. The same SeqNo may appear on more than one upstream PLOAM message;
for example, for the conveyance of a multi-fragment encryption key. If a PLOAM message is
originated autonomously by the ONU, for example, Serial_Number_ONU sent in response to a
12 ONU activation
12.1 Overview
12.1.1 Definitions
The term "activation process" refers to the set of distributed procedures allowing an inactive ONU
to join or resume operations on the PON.
The time interval at the OLT between transmission of a downstream PHY frame and the earliest
possible reception of a corresponding PHY upstream burst from the given ONU is referred to as the
ONU's round-trip delay (RTD). The RTD is composed of the round-trip propagation delay, which is
proportional to the ONU's fibre distance, and the ONU response time. The RTDs vary from one
ONU to another. In order to ensure that the bursts from different ONUs are aligned at the
boundaries of the same upstream PHY frame, each given ONU has to delay the transmission of an
upstream burst beyond its regular response time. This extra time is referred to as the ONU's
equalization delay (EqD). The EqD for each given ONU is computed by the OLT based on
measurement of the corresponding RTD.
To avoid collisions with the regular upstream bursts during serial number acquisition and ranging of
newly joining ONUs, the OLT must temporarily suppress upstream transmission by the in-service
Downstream synchronization
attained
Broadcast Deactivate
ONU-ID request Loss of downstream
Serial_Number state (O2-3) synchronization
Disable SN request ONU responds to SN grants
and collects burst profile info
Assign_ONU-ID PLOAM
Loss of downstream
TO1 timer expires synchronization
Ranging state (O4)
ONU responds Deactivate ONU-ID
Disable SN request to ranging grants request
Ranging_Time PLOAM
Equalization delay assigned
Deactivate ONU-ID
request
Disable SN request Operation state (O5)
ONU receives and transmits
data
Loss of downstream
synchronization Downstream
synchronization
restored
Intermittent LODS state (O6)
ONU attempts to re-establish
downstream synchronization TO2 timer expires
____________________
1 In [b-ITU-T G.984.3], this parameter is referred to as a zero-distance equalization delay.
PSBd
Downstream PHY frame content Upstream PHY burst
OLT PSync
ONU
PSBu PHY burst content
Propagation ONU response Requisite Propagation
delay time delay StartTime delay
The range of ONU response time is a system-wide parameter that is chosen to give the ONU
sufficient time to receive the downstream frame, including the upstream bandwidth map, perform
downstream and upstream FEC as needed, and prepare an upstream response. All ONUs are
required to have an ONU response time of 35 ± 1 μs. Further, the ONU is required to know its
response time.
The general term "requisite delay" refers to the total extra delay that an ONU may be required to
apply to the upstream transmission beyond its regular response time. The purpose of the requisite
delay is to compensate for variation of propagation and processing delays of individual ONUs, and
to avoid or reduce the probability of collisions between upstream transmissions. The value of
requisite delay changes with the state of the ONU is described below.
13.1.2 Timing relationships and quiet window during serial number acquisition
The timing relationships and quiet window during serial number acquisition are illustrated in
Figure 13-2.
Start of the DS PHY frame Earliest expected Latest expected
in OLT's view Serial_Number PLOAM Serial_Number PLOAM
PSBd PHY frame content PSBd PHY frame content PSBd PHY frame content
OLT
SN Grant:
Alloc-ID = 1023
StartTime = S
GrantSize = 0
ONU
PSBu PLOAM
T1577, i RspTimei Randi StartTime T1270, i
An ONU enters the Serial_Number state (O2-3) upon attaining synchronization to the downstream
PHY frames in the course of activation. When an ONU in this state receives a serial number grant,
it transmits a serial number response in the form of a Serial_Number_ONU PLOAM message.
Here c is the speed of light in km/μs, and Rnom is the nominal upstream line rate in words/μs.
The size of the quiet window during serial number acquisition is determined by the maximum
variation of the unknown round-trip delay components and the duration of the serial number
response burst. The unknown round-trip delay components include round-trip propagation delay,
ONU response time, and ONU random delay. The serial number response burst includes preamble,
delimiter, XGTC header with a Serial_Number_ONU PLOAM message, and XGTC trailer.
Dmax(n1577 + n1270) BurstSize
WΔSN = RspTimevar + + Randmax + (13-3)
c Rnom
The duration of the serial number response burst (typically, less than 0.3 μs) is negligible compared
with the other components.
For an ODN with a differential fibre distance of 20 km, the values are:
– 200 µs for the variation of round-trip propagation delay;
– 2 µs for the variation of ONU response time;
– 48 µs for the ONU's maximum random delay.
The suggested duration of the quiet window during serial number acquisition is 250 μs.
For an ODN with a differential fibre distance of 40 km, the values are:
– 400 µs for the variation of round-trip propagation delay;
– 2 µs for the variation of ONU response time;
– 48 µs for the ONU's maximum random delay.
The suggested duration of the quiet window during serial number acquisition is 450 μs.
13.1.3 Timing relationships and quiet window during ranging
The timing relationships and quiet window during ranging are illustrated in Figure 13-3.
PSBd PHY frame content PSBd PHY frame content PSBd PHY frame content
OLT
Ranging Grant:
Alloc-ID = ONU-ID
StartTime = S
GrantSize = 0
ONU
PSBu PLOAM
T1577, i RspTimei StartTime T1270, i
Start of
DS PHY frame Start of the US PHY frame
in ONU's view in ONU's view (StartTime = 0) G.987.3(10)_F13-3
An ONU enters the Ranging state (O4) upon assignment of ONU-ID. While in the Ranging state,
the ONU interprets any directed bandwidth allocation with the PLOAMu flag set as a ranging grant
and responds to it with a Registration PLOAM message.
To avoid collisions between the ranging grant response and the regular upstream bursts from the
ONUs in the Operation state, the OLT opens a quiet window to temporarily suppress upstream
transmission by the in-service ONUs. During ranging, the requisite delay is equal to zero.
The offset of the quiet window during ranging is determined by the minimum round-trip
propagation delay and minimum ONU processing time, as well as the dynamically generated
StartTime value of the ranging grant:
Lmin (n1577 + n1270 ) StartTime
W0RNG = RspTimemin + + (13-4)
c Rnom
The size of the quiet window during ranging is determined by the maximum variation of the
unknown round-trip delay components and the duration of the registration burst. If the OLT has not
already obtained a measure or estimate of the round-trip delay during serial number acquisition, the
unknown round-trip delay components include round-trip propagation delay and ONU response
time. The ranging response burst includes preamble, delimiter, XGTC header with a Registration
PLOAM message, and XGTC trailer.
Dmax(n1577 + n1270) BurstSize
WΔRNG = RspTimevar + + (13-5)
c Rnom
The duration of the ranging response burst (typically, less than 0.3 μs) is negligible compared with
the other components.
For an ODN with a differential fibre distance of 20 km, the values are:
– 200 µs for the variation of round-trip propagation delay;
– 2 µs for the variation of ONU response time.
The maximum suggested duration of the quiet window during ranging is 202 µs.
For an ODN with a differential fibre distance of 40 km, the values are:
– 400 µs for the variation of the round-trip propagation delay;
– 2 µs for the variation of the ONU response time.
Teqd StartTime
EqDi
RTDi StartTime
RNG
Δi
PSBd PHY frame content PSBd PHY frame content PSBd PHY frame content
OLT
Ranging Grant:
Alloc-ID = ONU-ID
StartTime = S
GrantSize = 0
ONU
PSBu PLOAM
T1577, i RspTimei StartTime T1270, i
Start of
DS PHY frame Start of the US PHY frame
in ONU's view in ONU's view (StartTime = 0) G.987.3(10)_F13-4
PSBd PHY frame content PSBd PHY frame content PSBd PHY frame content
OLT
BW Grant:
StartTime = S
ONU
PSBu PHY burst content
T1577, i RspTimei EqDi StartTime T1270, i
Start of
DS PHY frame Start of the US PHY frame
in ONU's view in ONU's view (StartTime = 0)
PSBd PHY frame N PSBd PHY frame N + 1 PSBd PHY frame N + 2 PSBd PHY frame N + 3
OLT
Empty BWMap SN Request:
StartTime =
Possible SN response
5989 (77 μs)
transmission
111 μs
Farthest
ONU Rsp Rsp
T1577, i Time max Time i StartTime Randmax T1270, i
Since each such quiet window affects at least two and possibly three consecutive bandwidth maps,
the OLT must ensure that the impact of the quiet windows on the bandwidth and jitter-sensitive
traffic flows is minimized. This may be achieved, for example, by re-arranging the BWmaps and
providing extra allocations to the affected Alloc-IDs immediately before and/or immediately after
the quiet window.
If some information about ONU locations is available to the OLT, it may be able to create a smaller,
better targeted and less intrusive quiet window, whose offset with respect to the start of the
downstream PHY frame depends on the fibre distance of the closest ONU, and whose size depends
on the maximum differential fibre distance.
13.1.8 Fibre distance measurement
The OLT can estimate the fibre distance based on the round-trip measurement using RspTimei, the
actual response time of ONU i, which can be obtained via the OMCC. The estimate of the fibre
distance between the OLT and the given ONU i (in meters) may be obtained according to the
following formula:
ONU R
Farthest response time
ONU R
ONU*
TsendN Trecv N, i Tstamp N ToD
OLT
where:
n1577
Δ i = (EqDi + RspTimei )
n1270 + n1577
The exact value of response time for ONU i must be used. Note that the TstampN and
TrecvN values are all referenced to the ONU's optical interface to ensure that they are
14.2 Defects
This clause captures the required actions that are performed in the TC layer, as opposed to those left
to the discretion of an implementer. In particular, the effects of repeated defects of the same type
are an implementation matter.
14.2.1 Items detected at OLT
Description
Type Cancellation
Detection conditions Actions Actions
conditions
LOBi Loss of burst Failure to delineate, for At the discretion of the A scheduled burst
for ONU i any reason, the specified OLT; may include from ONU i
number, Clobi, of waiting extra soak successfully
consecutive scheduled time; changing the received.
bursts from ONU i when allocation schedule;
not exempt by power deactivating or
management state disabling the offending
machine. ONU, or executing a
(Replaces conditions rogue ONU diagnostic
previously known as LOSi procedure.
and LOFi.) Reporting of the LOBi
The Clobi threshold is condition should be
configurable. Under qualified by any DG
normal conditions, it received.
defaults to 4 missing
consecutive bursts;
however, under certain
circumstances (such as
power saving purposes),
this threshold should be
kept as a specific counter
and set by the OLT to the
ONU as according to
actual number of tolerated
missing bursts.
LOS Loss of signal The OLT did not receive At the discretion of the When the OLT –
any expected OLT; may require receives at least
transmissions in the additional diagnostic to one upstream
upstream (complete PON determine whether transmission.
failure) for four PON has been lost, and
consecutive frames. ultimately lead to
protection switching
event.
15 XG-PON security
This clause discusses threat models characteristic for the XG-PON operating environment, and
specifies authentication, data integrity, and privacy protection aspects of the system.
15.2 Authentication
The XG-PON system supports several mechanisms for authentication. The first mechanism is based
on the registration ID. It is executed in the course of ONU activation and may be repeated
throughout the duration of the activation cycle, i.e., until the ONU's next entry into the Initial
state (O1). The registration-based authentication mechanism provides a basic level of authentication
of the ONU to the OLT. It does not provide authentication of the OLT to the ONU. Support of the
registration-based authentication mechanism is mandatory in all XG-PON devices. The two other
authentication mechanisms provide secure mutual authentication to both OLT and ONU. One of
them is based on an ONU management and control interface (OMCI) message exchange (see
Annex C). The other is based on an IEEE 802.1X message exchange and provides a wide range of
extensible features (see Annex D). Support for OMCI-based and IEEE 802.1X-based authentication
XGEM
IFC = N + 1 XGEM payload
header
XGEM
IFC = N + 1 XGEM payload
header
Figure 15-1 – Obtaining the intra-frame counter value for an XGEM frame
In the downstream direction, the XGTC frame of the framing sublayer (see Figure 8-1) is
partitioned into 16-byte blocks, and these blocks are sequentially numbered from 0 to 8464, the last
block being half-size. The size of the sequence number is 14 bits.
In the upstream direction, the XGTC burst of the framing sublayer (see Figure 8-5) is partitioned
into 16-byte blocks, and these blocks are sequentially numbered from (StartTime/4) to
(StartTime/4 + X ), where X is the number of complete and incomplete 16-byte blocks in the
XGTC burst, less 1. The size of the sequence number is 14 bits. As a reference, at 2.5G upstream,
the largest StartTime is 9719. Hence, the largest number for the first block of a burst is 2429. The
maximum XGTC burst size is 9720 words or 2430 blocks. Hence, the largest possible 16-byte block
number in an upstream XGTC burst is 4858.
An XGEM frame appearing within the payload of a downstream XGTC frame or upstream XGTC
burst can occur in one of four phase positions with respect to the 16-byte block boundary. The IFC
of an XGEM frame is the sequence number of the 16-byte block to which the first 4 bytes of the
XGEM header belong.
The 128-bit initial counter block for a particular downstream XGEM frame is a concatenation of
SFC and IFC for the given frame obtained, as described above, concatenated with itself. The 128-bit
initial counter block for a particular upstream XGEM frame is a concatenation of SFC and IFC for
the given frame obtained, as described above, concatenated with the bit-complement of itself.
AES-CTR
engine XOR
16 bytes
Valid key Invalid key Tx_ key Key for transmit Rx_ key Key for receive
41..48 MIC
PLOAM_IK
PLOAM_IK
Set [OLT challenge status = true]
OMCI_IK
OMCI_IK
AVC [ONU random challenge table complete]
KEY
KEY
AVC [ONU authentication result table complete]
Tx Rx Get [ONU selected crypto capabilities, ONU random challenge table, Tx Rx
ONU authentication result table]
Get_response []
Set* [OLT authentication result table]
Set [OLT result status = true]
AVC [ONU authentication status]
Get [Master session key name]
Get_response []
PLOAM: Request_Registration
PLOAM: Registration
G.987.3(10)-Amd.1(12)_F15-8
Old key New key
NOTE – Set* indicates multiple set operations as needed to fill the table
Upon receipt of the ONU's response to optical line terminal (OLT) random challenge along with the
ONU random challenge table, the OLT unilaterally verifies the ONU's authentication status. If the
unidirectional ONU-to-OLT authentication fails, further execution of the authentication procedure
is aborted. If the unidirectional ONU-to-OLT authentication succeeds, the OLT calculates the MSK
and the derivative shared keys, storing them for future use. Once the key calculation is completed,
the OLT proceeds with execution of the authentication procedure by writing the OLT authentication
result table and OLT result status to the ONU.
Upon receipt of the OLT's response, the ONU verifies the OLT's authentication status and fills in
the ONU authentication state attribute. The ONU uses the next available default Alloc-ID grant
opportunity to transmit an attribute value change (AVC) on the ONU authentication state attribute.
If the unidirectional OLT-to-ONU authentication has failed, a message integrity check (MIC) on the
AVC message is generated using the previously active OMCI_IK. If the unidirectional
OLT-to-ONU authentication has succeeded (and thus the mutual authentication has succeeded as
well), the MIC field on the AVC message is generated with the new OMCI_IK. The new OMCI_IK
is committed active at the ONU.
When the OLT receives the AVC on the ONU authentication state from the ONU, it checks whether
the MIC field has been generated using the old OMCI_IK or the new OMCI_IK. If the old
OMCI_IK was used by the ONU, the OLT discards the previously calculated key material. If the
new OMCI_IK was used by the ONU, the OLT commits the new OMCI_IK as active. The OLT
then initiates a PLOAM handshake by generating a downstream Request_Registration PLOAM
message to the ONU. The purpose of the handshake is to delineate the activation of the secure
shared keys in case of authentication success, or to obtain the registration-based MSK and derived
shared keys in case of authentication failure. The Request_Registration PLOAM message is
protected, by definition, using the default PLOAM_IK. Upon transmission of the
Request_Registration message, the OLT commits the new PLOAM_IK as active on transmit.
128 bits
G.987.3(10)-Amd.1(12)_F15-9
Figure 15-9 – Format of a data encryption key with reduced effective length
In an XG-PON system with reduced data encryption strength, a network element responsible for the
generation of a data encryption key should be able to report the effective key length to the element
management system.
LSI → (3) * *
/SR(Sleep)
LDI → (5) * *
/SR(Doze)
LPI → (5) * *
/SR(WSleep)
Tlowpower → (3) → (5)
expiration
Taware → (4) → (6)
expiration
Thold → (2)
expiration If SA(ON)
has been
received
(Note)
* Indicates a self-transition.
A shaded cell means that the input is not applicable in the given state.
NOTE – An ONU remains in the ActiveHeld state for at least Ihold upon entry into that state regardless of the SA
message parameter value indicated by the OLT. The minimum sojourn in the ActiveHeld state is controlled by timer
Thold that is initiated to Ihold upon ONU's entry into the ActiveHeld state. When Thold expires, the ONU executes a
transition into to the ActiveFree state if the latched value of SA message parameter is ON or as soon as SA (ON)
message is received.
SR (Awake)
(2)
SR (Sleep/WSleep) Awake SR (Doze)
Free
SR (Awake) SR (Awake)
(3) Low (5) Low
Miss, Power Miss,
SR (Sleep/WSleep ) Power SR (Doze)
Sleep/ OLT-LWI, Doze
Watch !OLT-LWI Miss
/SA(ON)
/SA(OFF)
(4) SR (Awake)
(6) FWI
Alerted FWI Alerted
Sleep/ Doze
Miss, Watch
SR (Sleep/WSleep ) Miss,
SR (Doze)
G.987.3(14)_F16-2
(3) LowPower
Sleep/Watch/
Sleep/Watch
(4) Alerted
Inputs
FWI
FWI
SR (Awake) * * → (2) → (1) → (2) → (1)
SR (Sleep/WSleep) * → (3) * * → (1) → (1)
/SA(OFF) /SA(OFF) /SA(OFF)
(Note 1) (Note 2) (Note 2)
SR (Doze) * → (5) → (1) → (1) * *
/SA(OFF) /SA(OFF) /SA(OFF)
(Note 1) (Note 2) (Note 2)
Allocation miss * → (1) * * * *
/SA(OFF)
OLT-LWI ON * → (1) → (4) * → (6) *
/SA(OFF) /SA(OFF) /SA(OFF)
OLT-LWI OFF → (2) * * * * *
/SA(ON) (Note 3) (Note 3)
Talerted expiration → (1) → (1)
Teri expiration → (1) → (1)
/SA(OFF) /SA(OFF)
* Indicates a self-transition.
A shaded cell means that the input is not applicable in the given state.
NOTE 1 – An exception from the subgraph rule; an output may help to stabilize the state machine in case
the condition is caused by a lost SA(OFF) message. The output is not shown on the FSM diagram.
NOTE 2 – Direct transitions between Doze mode and Cyclic Sleep mode are disallowed. When the OLT
receives a request to execute such a transition, it attempts to regain state machine synchronization by
waking up the ONU. The transitions are not shown on the diagram for the sake of compactness.
NOTE 3 – This is a situation when the OLT initiates a wake-up, but the OLT-LWI is cleared before the
ONU is awoken. In this case, the OLT, instead of cancelling the wake-up process and attempting to
immediately revert to a power saving, insists on waking the ONU up with the intent to re-enter a power
saving state via states AwakeForced and AwakeFree.
63 ... 13 12 ... 1 0
BCH(63, 12, 2) Even
Protected field
redundant bits parity
(51 bits)
(12 bits) (1 bit)
31 ... 13 12 ... 1 0
BCH(63, 12, 2) Even
Protected field
redundant bits parity
(19 bits) (1 bit)
(12 bits)
G.987.3(10)_FA.1
The HEC is a double error correcting, triple error detecting code. It is composed of two parts. The
first part is a BCH(63, 12, 2) code. The generator polynomial for this code is
x12 + x10 + x8 + x5 + x4 + x3 + 1. This code is applied to the protected field (which is 51 bits), so that
the 63-bit result is divisible by the generator polynomial. The properties of this code are such that
every single error and every double error has a unique 12-bit syndrome. Thus, all such errors can be
corrected. Also, triple errors can produce syndromes that match double error syndromes or illegal
codes, but there is no triple error syndrome that matches a single error syndrome. It is this last
property that permits the use of a single parity bit to detect and exclude triple errors.
The table of error syndromes for this code is given in Table A.1. Note that bit position 63 is the first
bit of the protected 51 bit field, and bit position 1 is the next to last bit of the HEC. Position 0 (the
last bit) is reserved for the even parity bit. For the short structure case, the first bit of the protected
19-bit field is in bit position 31.
Because there are 63 unique single error syndromes, there are 1953 unique double error syndromes.
As there are 4095 possible syndromes in the 12-bit space, this leaves 2079 codes that are not used.
These unused codes are considered illegal, in that they can only result from three or more errors.
The second part of the HEC is a simple parity bit. This parity bit is set so that the total number of
ones in the protected field+HEC is an even number. This parity then indicates if an odd number of
errors have occurred in the header. Note that the BCH code does not include the parity bit in its
calculations, but the parity bit does include the BCH code in its calculation.
A few examples of valid 64-bit HEC protected structures are given in Table A.2. These can be used
to test implementations of the encoding and decoding processes.
The FEC codeword consists of 232 information bytes and 16 parity bytes and is represented by the
polynomial over z with coefficients from GF(28):
C ( z ) = I ( z ) ⋅ z16 + R( z )
1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8
d7j d6j d5j d4j d3j d2j d1j d0j r7j r6j r5j r4j r3j r2j r1j r0j
G.987.3(10)-Amd.1(12)_FB.1
The FEC codeword consists of 216 information bytes and 32 parity bytes and is represented by the
polynomial over z with coefficients from GF(28):
C ( z ) = I ( z ) ⋅ z 32 + R( z )
The information bytes are represented by:
I ( z ) = D215 . z 215 + D214 . z 214 + ... + D0 . z 0
where Dj (j = 0 to 215) is the information byte represented as:
D j = d7 j ⋅ α7 + d6 j ⋅ α6 + ... + d1 j ⋅ α + d0 j
The polynomial representation of the parity symbols:
R ( z ) = R31 ⋅ z 31 + R30 ⋅ z 30 + ... + R1 ⋅ z1 + R0
is calculated as:
R ( z ) = I ( z ) ⋅ z 32 mod G ( z )
where "mod" is the modulo calculation over the code generator polynomial G(z) with elements out
of the GF(28).
1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8
d7j d6j d5j d4j d3j d2j d1j d0j r7j r6j r5j r4j r3j r2j r1j r0j
G.987.3(10)-Amd.1(12)_FB.2
This method employs the enhanced security control managed entity (ME) defined in clause 9.13.11
of [ITU-T G.988] to perform a three-step hash-based authentication. After ONU registration, the
OLT can initiate the mutual authentication process by writing an OLT random challenge. The
details of the related ME and authentication state diagram are specified in clause 9.13.11 of
[ITU-T G.988].
Following successful mutual authentication (or re-authentication) via OMCI, the OLT and the ONU
share a master session key (MSK) defined as:
MasterSessionKey = SelectedHashFunction (PSK, OLT random_challenge | ONU
random_challenge),
where SelectedHashFunction () is the hash function selected by the ONU from the list supplied by
the OLT, PSK is the pre-shared secret in OMCI-based authentication, and "|" denotes byte
concatenation.
Leaving this mutual authentication, the MSK is ready to be used in the key derivation specified in
clause 15.3.
D.1 Introduction
IEEE 802.1X is a protocol for link layer authentication, port access control, and key establishment.
The particular credentials used for authentication (e.g., passwords, public keys, etc.) are not part of
the [IEEE 802.1X] standard. Instead, the IEEE 802.1X frames encapsulate packets of the IETF
extensible authentication protocol (EAP) which supports a variety of credential types (e.g.,
passwords, RSA-based public keys, smart cards etc.) as well as mechanisms for negotiating
authentication capabilities and policies. IEEE 802.1X and EAP are specified in [IEEE 802.1X],
[IETF RFC 3748], and [IETF RFC 5247].
Note that the IEEE 802.1X features supported in clauses 9.3.14 to 9.3.17 of [ITU-T G.988] are
intended to permit a trusted ONU to authenticate untrusted CPEs. They are not related to the
IEEE 802.1X authentication as described in this annex.
D.1.1 Network model for authentication in [IEEE 802.1X]
Figure D.1 shows the general architecture of [IEEE 802.1X] authentication for XG-PON.
ODN
Secured network
ONU
OLT
ONU
In this model:
– ONUs maintain physically insecure TC-layer connectivity to the OLT across the ODN.
– The OLT maintains physically-secure or logically-secure connectivity to an authentication
server. Communication between the OLT and the authentication server is typically (but not
necessarily) conducted using a policy protocol such as RADIUS. The authentication server
might be physically co-located with the OLT.
The IEEE 802.1X protocol is used to perform mutual authentication between the OLT (which acts
in the role of the IEEE 802.1X "authenticator" and ONU (the IEEE 802.1X "supplicant").
Following successful authentication, the OLT provides full network connectivity to the
authenticated ONU. The successful authentication process results in the creation of a master session
key (MSK) which is then used to secure the subsequent key derivation between the OLT and the
ONU.
D.1.2 Credentials for XG-PON authentication with [IEEE 802.1X]
A variety of authentication credentials are supported by the EAP mechanism of [IEEE 802.1X].
Each supported credential type is associated with an EAP method name and EAP type. An
up-to-date list of credentials and associated EAP types is maintained at
http://www.iana.org/assignments/eap-numbers.
IEEE 802.1X
OMCI
PLOAM (ITU-T G.988) XGEM client
XG-PON TC
XGTC service adaptation sublayer
OMCI
Adapter
Before authentication, [IEEE 802.1X] blocks user Ethernet packets and does not pass them to the
MAC clients. After the ONU and OLT have successfully authenticated, frames are passed between
the MAC clients and the TC layer.
Frames are freely exchanged at the PLOAM and OMCI layers even when the ONU is
unauthenticated – as these reside lower in the stack than the IEEE 802.1X entity.
Destination Type
Ethernet frame Source Data FCS
(0180C2-000003) (88-8E)
Once the IEEE 802.1X based mutual authentication succeeds, the OLT and the authenticated ONU
share a common secret value that is at least 64 octets in length, depending on the EAP-type. The
16 most significant octets of the shared secret are used as an MSK for the key derivation procedure
specified in clause 15.3.
PON-ID maintenance
(This annex forms an integral part of this Recommendation.)
The implementation of this annex is optional. The ITU-T G.987 XG-PON systems, OLTs, or ONUs
that are required to support the provision of the present annex are herein referred to as compliant.
An ONU's compliance with this annex can be discovered via OMCI (see clause 9.1.1 of
[ITU-T G.988]).
E.1 Introduction
This annex contains provisions enabling field personnel to retrieve a PON port identifier and an
indication of the launched power on the network, adapted from the optical layer supervision concept
defined in [b-ITU-T G.984.2A2], and applied to the optical module capabilities of XG-PON. The
specified method defines the format of the PON-ID structure. Comparison of the locally measured
optical power and the image of the source launched power coded in the PON-ID field should give
operators a means to differentiate fibre plant loss from variations in launched power. Coding
commonality with existing power measurements in [ITU-T G.988] is intended, as well as alignment
with [b-SFF SFF8472] which defines the information available at the received signal strength
indicator (RSSI) interface of opto-electrical converters of interest in OLT implementations.
PON-ID structure
8 bytes
The PON-ID structure (see Figure E.1) contains the following fields:
PIT, or PON-ID Type (8 bits, static, provisioned by the operator): an indication of the ODN
architecture, the source of the reported launch power and the ODN class. The PON-ID type (PIT)
field is further partitioned as follows:
RE flag (1 bit): indicates whether the transmit optical level (TOL) field contains the launch power
of the OLT or of a reach extender;
ODN Class (3 bits): Identifies the nominal optical parameters of the transceiver according to ODN
class as defined in [ITU-T G.987.2] with the following coding.
Reserved (4 bits): bits reserved for future use; set to 0000 unless otherwise specified.
PON-ID (32 bits, static, provisioned by the operator): any value of interest to the operator, which
may, for example, reflect the established logical address plan;
TOL (11 bits, dynamic, maintained by the system): transmit optical level, an indication of the
current transceiver launch power of the appropriate network element. Its value is an integer referred
to 1 µW (i.e., the value zero represents –30 dBm), with 0.1 dB granularity. The 0x7FF default value
indicates that TOL is not supported on the given PON interface. The coding is adapted to support
the entire suite of specified XG-PON ODN classes (N1, N2a, N2b, E1, E2a, E2b) and reach
extender options, covering the transceiver launch power range from +2 dBm to +16.5 dBm.
HEC (13 bits, dynamic inserted by the transmitter): a combination of a BCH(63,12,2) code
operating on the 63 initial bits of the SFC structure and a single parity bit. The details of HEC
construction and verification are specified in Annex A of this Recommendation.
The implementation of this annex is mandatory for all new implementations. The ITU-T G.987
XG-PON systems, OLTs, or ONUs that support the provision of the present annex are herein
referred to as compliant.
F.1 Introduction
The present annex contains provisions that allow an XG-PON system to mitigate the condition
when an ONU exhibits rogue behaviour at the discovery stage of the activation process, before its
serial number is discovered and before it is assigned an ONU-ID. The provisions of this annex
allow the OLT, upon detecting rogue interference on the PON, to selectively disable the ONUs at
the discovery stage of the activation process.
Message
Message name Function Trigger Effect of receipt
Type ID
0x06 Disable_Serial Broadcast message At the OLT's Disable options: Moves the
_Number to disable/enable a discretion. specified ONU, the ONU in
specified ONU set. the discovery stage, or all
ONUs to the Emergency
Stop state. The disabled
ONU is prohibited from
transmitting.
Enable options: Moves the
specified ONU or all ONUs
in the Emergency Stop state
to the Initial state. The
enabled ONU discards the
TC layer configuration and
restarts the activation
process, as specified in
clause 12.
No Acknowledgement.
F.3 Extra transition of the ONU activation cycle state transition diagram
F.3.1 State transition diagram
A compliant system supports the standard ONU activation state transition diagram as reproduced in
Figure F.1, where the Disable SN request event has state-specific definition.
Downstream synchronization
attained
Broadcast Deactivate
ONU-ID request Loss of downstream
Serial_Number state (O2-3) synchronization
Disable SN request ONU responds to SN grants
and collects burst profile info
Assign_ONU-ID PLOAM
Loss of downstream
TO1 timer expires synchronization
Ranging state (O4)
ONU responds Deactivate ONU-ID
Disable SN request to ranging grants request
Ranging_Time PLOAM
Equalization delay assigned
Deactivate ONU-ID
request
Disable SN request Operation state (O5)
ONU receives and transmits
data
Loss of downstream
synchronization Downstream
synchronization
restored
Intermittent LODS state (O6)
ONU attempts to re-establish
downstream synchronization TO2 timer expires
This appendix describes a few reasons for and methods to control the transmitted line pattern. The
methods are backward compatible and optional. The first reason is to control the spectrum of the
modulated signal to avoid certain optical interference phenomena. One method of partial control is
presented. The second reason is to avoid the intentional disruption of the transmission link by a
malicious user. Two methods of control are presented that achieve this.
1.00
Spectral power density
0.80
0.60
0.40
0.20
-
0 0.2 0.4 0.6 0.8 1
Frequency / Bit rate G.987.3(10)_FI.1
0.8
2.5
0.6
2
0.4
1.5
0.2
0.0 1
0 1.57 3.14 4.71 6.28
− 0.2
0.5
− 0.4
0
− 0.6
− 0.5
− 0.8
− 1.0 −1
G.987.3(10)_FI.2
This appendix provides the mathematical details for the time of day transfer model derivation and
error analysis. It is based on the notation of clause 13.2.1. In addition,
T1270 is the upstream propagation delay at the 1270 nm wavelength, and
T1577 is the downstream propagation delay at the 1577 nm wavelength.
By construction (see Figures 13-4 and 13-7 with accompanying text), the upstream PHY frame
offset can be represented using the parameters of ONU i as:
Teqd = T1577,i + RspTimei + EqDi + T1270,i
n1270 + n1577 (II-1)
= T1577,i + RspTimei + EqDi
n1577
Then by expressing T1577,i from Equation (II-1) as:
n1577
T1577,i = (Teqd − RspTimei − EqDi ) (II-2)
n1270 + n1577
and substituting this expression into the formula for the receive instance of XGTC frame N,
Trecv N ,i = Tsend N ,i + T1577 ,i (II-3)
and regrouping appropriately, we can obtain the representation of the actual ToD instance when
XGTC frame N is delivered to ONU i:
n1577 n1577
Trecv N ,i = Tsend N + Teqd − (EqDi + RspTimei ) (II-4)
n1270 + n1577 OLT n1270 + n1577 ONU
where the positive additive term can be computed by the OLT and communicated downstream,
while the negative additive term can be computed by the ONU.
Note that for the model to hold, the measurements of Teqd, TsendN,i, and TrecvN,i should be
consistently referenced to the fibre interface at the OLT and ONU, respectively.
Note further that, in addition to the ONU response time shown here, there are also internal delays
that need to be compensated in both the OLT and ONU. These internal delay compensations
directly affect the delivered time accuracy, so the resultant error is quite easy to understand. These
errors are not considered further in this treatment.
It should be noted that the refractive index factors are used in calculations on both sides of the PON,
and their values could differ depending on the implementation. To eliminate the error caused by
inconsistent values, it is recommended that both sides use the common value estimated below.
The resulting timing error caused by variations in the index factor is then given by:
n1577 n1577
TerrorN ,i = Teqdδ − (EqDi + RspTimei )δ (II-5)
n1270 + n1577 OLT n1270 + n1577 ONU
Here δ is an error of the refractive index estimate evaluated at the particular network element.
This equation indicates that the error due to the OLT's refractive index factor variation is fixed
(over all ONUs), and it is indeed at the maximum value of Teqd, which is typically 250
λS0 λ40
D(λ ) = 1 − (II-8)
4 λ4
where S0 is the dispersion slope (maximum 0.092 ps/nm2/km), and λ0 is the zero dispersion
wavelength (ranging from 1300 to 1324 nm).
dn
The index of refraction and D are related by = cD(λ ) , and the fundamental theorem of calculus
dλ
shows us that:
λ
n = n0 + c D (λ )dλ (II-9)
λ0
0.8
0.6
0.4
0.2
0
1200 1250 1300 1350 1400 1450 1500 1550 1600
In practical systems, operating wavelengths are not monitored, nor is the exact fibre dispersion
known. Hence, the index difference is truly an unknown quantity. Qualitatively, the variation of the
1260 transmitter has little effect, because it is close to the minimum of the curve. Interestingly,
variation of the fibre dispersion zero wavelength and variation of the 1577 nm transmitter
wavelength have nearly equal effect in modifying the index difference.
Index factor variability
Using Equation (II-6) and substituting the value n = 1.47, which is a valid approximation for the
group refractive indices of the commonly deployed fibres (precision is not important here), it is
found that the index factor can range from 0.500115 to 0.500153. The most plausible refractive
index factor value is 0.500134, but this may be incorrect by an amount of up to ± 0.000019. The
most accurate solution is achieved when both the OLT and ONU use these common values:
n1577
≈ 0.500134
n1270 + n1577
n1577
δ ≤ 0.000019
n1270 + n1577
eliminating the error due to differing values on either side of the PON. The inaccuracy of the time
then amounts to ±0.000019 times the round trip time of the fibre. For an ONU at 20 km, the round
trip time is approximately 200 microseconds and, therefore, the inaccuracy is ±3.8 ns and is
negligible.
Burst profiles
(This appendix does not form an integral part of this Recommendation.)
This appendix describes burst profiles to be used by the PHY adaptation sublayer of the ONU to
form the PHY burst. Suggested values of burst preamble and delimiter are presented.
In the XG-PON system, upstream transmission from ONUs to the OLT is conducted by delivering a
number of PHY bursts. After a 64-bit guard time for burst overlap prevention, the PHY burst starts
with the upstream physical synchronization block (PSBu) section. The PSBu contains preamble and
delimiter. Preamble and delimiter are employed by the OLT burst mode receiver to determine the
presence of a PHY burst and delineate the PHY burst. They are also used to determine the signal
clock in order to correctly recover the transmitted signal.
The length and pattern of preamble and delimiter are formed as dictated by the OLT in the
BurstProfile field in the BWmap. The index in the BurstProfile field refers to the set of valid burst
profiles that is communicated to the ONUs over the PLOAM messaging channel. For each specified
profile, the index is explicitly defined in the Profile PLOAM message.
The Profile PLOAM message can be broadcast or unicast. It is up to the OLT to manage the burst
profiles, and to anticipate which ONUs will have which profiles. The ONU is purely a slave in this
situation, and will follow the instructions that the OLT gives to it. In the simplest case, the OLT can
send only broadcast profile messages. The profiles then obtain global scope, and are equal on all
ONUs. In a more complex case, the OLT can send unicast profiles to each ONU. These unicasted
profiles could then be different for each ONU (again, it is incumbent on the OLT to keep track of
what it has configured in each ONU). Regarding temporal behaviour, the OLT should always send
the profile message several times before it attempts to use them in a BWmap. In this way, the
probability of the ONU using an old profile will be greatly reduced.
The recommended size of preamble is 160 bits [ITU-T G.987.2]. Preambles with varying sizes can
be achieved by setting the burst profile to the desired parameters.
A traditional preamble pattern is 0x AAAA AAAA. While it provides maximum transition density
and averaged power, some implementations may have different preamble requirements. For
example, if the burst mode receiver has bandwidth limited front ends, the aforementioned preamble
pattern is not able to support highly efficient burst presence detection. Another example is burst
mode receivers with peak detectors. If the peak detectors have limited slew rates in the sample and
hold circuit, the aforementioned preamble cannot fulfil highly efficient burst presence detection.
Therefore, data-like preamble patterns are added into the possible preamble patterns. The selected
data-like preamble patterns are expected to have features of DC-balance, flat power spectrum,
transition density similar to that of random data, and long run length. The suggested values of
XG-PON preamble patterns are shown in Table III.1.
The recommended size of delimiter is 32 bits. When a longer delimiter time is required in the case
of high BER, 64-bits delimiters can be used to provide more robust burst delineation. The expected
features of the selected delimiters include balanced 1's and 0's, large distance from all shifted
patterns of itself, and large distance from all shifted patterns of the preamble.
In other cases, it is desirable to indicate if the burst has FEC active or not using a pair of distinct
delimiters. The suggested values of such pairs of delimiters are shown in Table III.1.
Golden vectors
(This appendix does not form an integral part of this Recommendation.)
Plaintext
0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07 0x08 0x09 0x0a 0x0b 0x0c 0x0d 0x0e 0x0f
0x10 0x11 0x12 0x13 0x14 0x15 0x16 0x17 0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x1e 0x1f
0x20 0x21 0x22 0x23 0x24 0x25 0x26 0x27 0x28 0x29 0x2a 0x2b 0x2c 0x2d 0x2e 0x2f
0x30 0x31 0x32 0x33 0x34 0x35 0x36 0x37 0x38 0x39 0x3a 0x3b 0x3c 0x3d 0x3e 0x3f
Counter blocks
0x00040a0e160d007800040a0e160d0078
0x00040a0e160d007800040a0e160d0079
0x00040a0e160d007800040a0e160d007a
0x00040a0e160d007800040a0e160d007b
Ciphertext
0xff 0xd1 0xae 0x0c 0x4b 0x46 0xc9 0xc1 0x29 0x2f 0xde 0x06 0x1b 0x18 0xef 0x9c
0x87 0xb5 0x65 0x61 0x76 0xff 0x1c 0x6e 0xb2 0xf0 0xda 0xcd 0x53 0x8d 0x4a 0xd0
Plaintext
0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07 0x08 0x09 0x0a 0x0b 0x0c 0x0d 0x0e 0x0f
0x10 0x11 0x12 0x13 0x14 0x15 0x16 0x17 0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x1e 0x1f
0x20 0x21 0x22 0x23 0x24 0x25 0x26 0x27 0x28 0x29 0x2a 0x2b 0x2c 0x2d 0x2e 0x2f
0x30 0x31 0x32 0x33 0x34 0x35 0x36 0x37 0x38 0x39 0x3a 0x3b 0x3c 0x3d 0x3e 0x3f
Counter blocks
0x00040a0e160d097cfffbf5f1e9f2f683
0x00040a0e160d097cfffbf5f1e9f2f684
0x00040a0e160d097cfffbf5f1e9f2f685
0x00040a0e160d097cfffbf5f1e9f2f686
CipherText
0x0d 0x5a 0x46 0x57 0xfd 0x68 0x6f 0xa4 0xb3 0x8f 0x77 0x3a 0x88 0x7a 0x2b 0x33
0x86 0xd7 0xfe 0x53 0x3c 0x52 0x24 0xab 0x39 0x61 0xae 0x20 0xe6 0x15 0x12 0x0e
0xbb 0x2f 0xec 0xe4 0x16 0x50 0x5a 0x02 0x73 0x68 0x39 0x59 0x73 0x8b 0xd6 0x7d
0x75 0x96 0x85 0xcd 0x62 0x14 0x69 0xc1 0x14 0x66 0x59 0xf1 0xc3 0xa7 0xe4 0xd8
SK = 0x795fcf6cb215224087430600dd170f07
OMCI_IK = 0x184b8ad4d1ac4af4dd4b339ecc0d3370
PLOAM_IK = 0xe256ce76785c78717c7b3044ab28e2cd
KEK = 0x6f9c99b8361768937e453b165f609710
0x3cc507bb1731c569ed7b79f8bdc376be
Series E Overall network operation, telephone service, service operation and human factors
Series J Cable networks and transmission of television, sound programme and other multimedia signals
Series L Construction, installation and protection of cables and other elements of outside plant
Series Y Global information infrastructure, Internet protocol aspects and next-generation networks
Printed in Switzerland
Geneva, 2014