Professional Documents
Culture Documents
1
2 G.984.4 Implementer’s Guide
3 Second Revision
4
5Summary
6This document is an informative section for the 984.4 standard, aimed to clarify GPON
7provisioning and management related aspects and enable easier interoperability. The document
8includes suggested best practices for implementing the ONT management and control interface.
9Source
10Keywords
11G-PON, Implementers’ Guide, OMCI
12
13Introduction
14This Implementers’ Guide describes best practices for interoperability between the GPON OLT and
15ONUONT in the management plane. As such, it attempts to provide a foundation that promotes
16interoperability between equipment from all GPON vendors.
17I Scope
18The purpose of this document is to clarify descriptions on ITU-T Recommendation G.984.4. The
19Implementers’ guide does not request any modifications for the recommendation, but provides
20comments and clarifications on the recommendation to enhance readability for implementers.
21
22In the course of describing the establishment of the ONT Management and Control Channel
23(OMCC), this document touches on some aspects of PLOAM usage described in G.984.3. However,
24the remainder of the document confines itself to aspects of G.984.4.
25II References
26III Definitions
27
28GPON Access Node – A full GPON implementation of the TR-156 Access Node including the
29ONT/ONU, OLT and ODN.
33V Conventions
65VII.2
66VII.3 OMCC
67This section contains a description of the best practices associated with the ONT Management and
68Control Channel (OMCC).
69
70
71
72
83indicating the assignment of the ONU-ID. The ONUONT should then populate the Alloc-ID
84attribute of its OMCC structure with the ONU-ID. This makes the Alloc-ID for OMCI used by the
85ONUONT the same as the assigned ONU-ID. Upon completion of ONUONT ranging, the OLT
86should assign to the ONUONT the GEM Port ID for carrying the OMCI messages. This is
87accomplished by a Configure_Port-ID PLOAM message. The ONUONT populates the OMCI Port-
88ID attribute of the OMCC structure based on that message, and responds back to the OLT with an
89acknowledgment. At this point, the OMCI path has been successfully established.
90
OLT ONU
..
.
Assign_ONU_ID PLOAM message
91
92 Figure 77.17.2 OMCC Best Practices
93
94Since the Assign_ONU-ID PLOAM message also assigns a numerically identical Alloc-ID by
95default, it is not necessary for the OLT to use an Assign_Alloc-ID message in order to assign the
96default Alloc-ID to the ONUONT (i.e., the Alloc-ID equal to the ONU-ID). If the OLT nevertheless
97chooses to send an Assign_Alloc-ID PLOAM with the default Alloc-ID, the ONUONT
98acknowledges this message without taking any specific further action. The latter is true regardless
99of the Alloc-ID Type value in the Assign_Alloc-ID message: it should not be possible to de-allocate
100the default Alloc-ID with an Assign_Alloc-ID Type 255 message.
101
102While it is possible for the default allocation to carry subscriber traffic, it is not commonly
103implemented. Therefore, it is recommended that the default allocation not be used to carry
104subscriber traffic.
4 -4-
105VII.3.2 Encryption
106After the OMCC has been established, it is possible for the OLT to enable encryption on the OMCC
107GEM port. This is accomplished by the OLT sending the ONUONT an Encrypted Port ID PLOAM
108identifying the GEM port for OMCC that was previously provisioned in the ONUONT by the OLT.
MIB Reset
Clear MIB, re-initialize to
default
MIB Reset response
An attribute value has changed
autonomously, updates the MIB
MIB Attribute Value
Synchro- Change Notification
nization Notification reaches,
OLT updates its MIB
MIB upload
...
Save retrieved
ONT data
MIB upload next response
Command (Set/Create/Delete)
Execute command, update
MIB and MIB data sync
MIB Command response
Download
Increment MIB
data sync ... An attribute value has changed
autonomously, updates the MIB
Attribute Value
Change Notification
Notification reaches,
OLT updates its MIB
Set[ONT_Data]
Set Response[ONT_Data]
Bring-up END
144
145
146 Figure 88.38.4 New ONT Bring-up
147
6 -6-
Get[ONT_Data]
Get response[ONT_Data]
OLT and ONT MIB
data sync matched
An attribute value has changed
MIB
autonomously, updates the MIB
Synchro-
Attribute Value
nization
Change Notification
Notification reaches,
OLT updates its MIB
Bring-up END
180
181
182 Figure 88.58.6 Old ONT Bring-up case 1 – ONT MIB data sync matched
183
184
185
186
187
188
8 -8-
Get[ONT_Data]
Get response[ONT_Data]
OLT and ONT MIB data
sync mismatched
The MIB reset
message is an option
MIB Reset
Clear MIB, re-initialize to
default
MIB Reset response
MIB upload
.. .
MIB
Synchro- MIB upload next response
nization
and Download OLT MIB, If
MIB there is a discrepancy
Download
Command (Set/Create/Delete)
Execute command, update
MIB and MIB data sync
Command response
Increment MIB
data sync ... An attribute value has changed
autonomously, updates the MIB
Attribute Value
Change Notification
Notification reaches,
OLT updates its MIB
Set[ONT_Data]
Increment MIB data sync
Set Response[ONT_Data]
Increment MIB data sync
Bring-up END
189
190 Figure 88.78.8 Old ONT Bring-up case 3 – ONT MIB data sync mismatched
191
9 -9-
212
213 Figure 88.98.10 Increment of MIB data sync at ONT and OLT under OLT command
214
10 - 10 -
215In contrast, the MIB data sync counter is not incremented for autonomous creation and deletion of
216managed entity instances by the ONT itself. Neither is the MIB data sync counter incremented for
217autonomous changes to attributes of managed entities within the ONT (Figure 88 .11 8 .12 No
218increment of MIB data sync at ONT and OLT).
219
220
221 Figure 88.118.12 No increment of MIB data sync at ONT and OLT
222
223For the off-lined ONT case, the OpS sends a command (create/delete/set) to ONT, the OLT saves
224these MIBs only on the OLT side and increments the MIB data sync, but does not send the
225command to ONT. In other words, the OLT should only locally update the MIB and increment the
226MIB data sync so that it guarantees that when the ONT comes on-line, the MIBs audit will fail.
227
228The order in which the OLT and the ONT update their MIBs and increment the MIB data sync
229attribute is not imposed by G.984.4. Regardless of the order chosen, both the OLT and the ONT
230must locally update the MIB and increment the MIB data sync as one atomic action. However, it is
231considered good practice for the OLT to not increment its data sync counter until it has received a
232positive acknowledgement to the command that it sent to the ONT.
233
234When incremented, the sequence number that follows 255 is 1. Zero is reserved for the following
235cases:
236
237 1. Default MIB with which the ONT left the factory.
238 2. An ONT which after (re-) initialization cannot restore its MIB.
239
240In other words, a sequence number of 0 indicates that the ONT’s MIB is not well defined, and
241therefore requires audit / reconfiguration.
242
243Note that no mechanisms exist to detect that an autonomous attribute value change notification has
244been lost. Therefore, the OLT must regularly read the values of the attributes that can change their
245values autonomously.
246
11 - 11 -
251
252 Figure 88.138.14 The mismatch of MIBs at ONT and OLT under OLT command
253A failure in sending an AVC from the ONT to OLT will lead to a MIB mismatch. In this case, the
254discrepancy between OLT and ONUONT MIBs may not be detected by the MIB audit mentioned
255below. Under these circumstances, the MIB data syncs are still the same for both sides but the MIB
256content is no longer identical between the OLT and ONUONT. (Figure 88 .15 8 .16 The mismatch
257of MIBs due to lost AVC) .
OLT ONU
258
12 - 12 -
270
271 Figure 88.178.18 MIB Audit
272
273VIII.2.1.4 MIB resynchronization
274Figure 88 .19 8 .20 MIB resynchronization shows the scenario diagram of the MIB
275resynchronization process. In this case, the MIB resynchronization is the result of a MIB audit
276failure. Since the MIB data sync attribute does not reflect the status of the entire MIB, it is
277considered good practice for the OLT to periodically perform a MIB resynchronization regardless
278of the out come of a MIB audit.
13 - 13 -
279
OLT ONU
MIBupload_cmd[ONT_Data]( inst = 0 )
281The OLT must issue as many MIBUploadNext requests as the number of commands given in the
282MIBUpload response. The maximum time between two MIBUploadNext requests is 1 minute. If
283the OLT does not send a MIBUploadNext request within this time after the previous
284MIBUploadNext request or after the MIBUpload start request, the ONT assumes the MIB upload to
14 - 14 -
285be terminated. The ONT can drop the copy of the MIB, and consider any MIBUploadNext requests
286to be out of range, as described in G.984.4.
287
288It should be noted, that certain MEs are excluded from the MIB upload. In particular, instances of
289some general purpose MEs, such as the Managed Entity ME and the Attribute ME, are not included
290in the MIB upload. All table attributes are not included in the MIB upload. If the OLT requires this
291information, it obtains it on a per table basis through the use of the Get/GetNext mechanism.
292VIII.2.2 Alarm synchronization
293VIII.2.2.1 Alarm sequence number increase
294The ONT informs the OLT of alarm status changes by sending alarm status change notifications.
295Note that these notifications are sent in unacknowledged messages that carry an eight-bit alarm
296sequence number for the benefit of the OLT to detect loss of alarm notifications (Figure 88 .21 8 .
29722 Increment of alarm sequence number at ONT and OLT thru Figure 88 .25 8 .26 No increment of
298alarm sequence number at ONT and OLT under ARC).
299
300After a restart of the ONT, the alarm sequence number is reset so that the first alarm notification
301sent by the ONT has an alarm sequence number equal to 1. The alarm message sequence number is
302incremented for each alarm notification and wraps around from 255 to 1. Consequently, an alarm
303notification with sequence number 0x00 is never sent.
304
305In the case of alarms under ARC, an alarm message is not sent. Therefore, the alarm sequence
306number is not incremented.
307
308 Figure 88.218.22 Increment of alarm sequence number at ONT and OLT
15 - 15 -
309
310 Figure 88.238.24 Alarm Sequence Number Fails to Stay in Sync
311
312 Figure 88.258.26 No increment of alarm sequence number at ONT and OLT under ARC
325
326 OLT ONU
327
The OLT detects a missing alarm
328 notification.
329 GetAllAlarms_cmd[ONT-Data](inst=0)
335
GetAllAlarms_rsp[ONT-Data](inst=0, number of commands(N))
336
337
The OLT makes a blank alarm status table,
thus the OLT will have an active alarm table
(AOLT) and a blank version (COLT). The OLT
338
requests the alarm status using the number of
commands indicated in the response.
339
342
345
347
GetAllAlarmsNxt_rsp [ONT-Data](inst=0,Me class, inst, alarms.)
348
349
The OLT copies the (COLT) populated from the
GetAllAlarm sequence
350
351
352
The OLT processes the
353 buffered alarms and updates
354 its alarm table.
355
356 Figure 88.278.28 Alarm Resynchronization
357
17 - 17 -
358The OLT must issues as many GetAllAlarmsNext requests as the number of instances given in the
359GetAllAlarms response. The maximum time between two GetAllAlarmsNext requests is 1 minute.
360If the OLT does not send a GetAllAlarmsNext request within this time after the previous
361GetAllAlarmsNext request or after the GetAllAlarms request, the ONT assumes the alarm upload to
362be terminated. The ONT can drop the copy of the alarm table, and consider any GetAllAlarmsNext
363requests to be out of range, as described in G.984.4. If there’s any new alarm issued during the
364process of alarm upload, it is queued at the OLT side. Then after the reconciliation, OLT processes
365this new alarm immediately and updates its alarm table accordingly. If the OLT sets the alarm
366retrieval mode indicator in the GetAllAlarms command to 1, then the ONT only returns the alarms
367which are currently not under ARC. Otherwise, the ONT returns all alarms regardless of the ARC
368status.
369VIII.3 Discovery
370
371VIII.3.1 Discovery of ONT physical capabilities – MIB UPLOAD
372When an ONUONT initializes, it populates its MIB with information about its equipment
373configuration. This should occur prior to ranging of the ONT so that the MIB provided in response
374to a MIB upload request reflects the current hardware configuration of the ONT. This permits the
375OLT to discover the hardware configuration of the ONT by analysis of the uploaded MIB.
376
377VIII.3.2 Discovery of ONT software capabilities -- OMCI Capability Report
378The GPON system should support ONUONT software capability reporting through the discovery of
379the managed entity types and message types supported by the ONUONT. This is accomplished
380through the reading of two table attributes contained within the OMCI ME and the contents of the
381Managed Entity ME instances.
382
383The OLT obtains the managed entity types supported by the ONUONT through the managed entity
384type table attribute of the OMCI ME. This operation follows the procedure in Figure 88 .29 8 .30
385ONT ME types report.
18 - 18 -
OLT ONT
..
.
386
387 Figure 88.298.30 ONT ME types report
388
389The OLT obtains the message types supported by the ONUONT through the “message type
390attribute” of the OMCI ME. This operation follows the procedure in Figure 88 .31 8 .32 ONT
391message types report.
19 - 19 -
OLT ONT
..
.
392
393 Figure 88.318.32 ONT message types report
394
395The OLT obtains further details about the ONT’s support for a given OMCI ME by reading the
396Managed Entity ME for that ME. This includes the following:
397
398 Name: ME Type name for the represented ME.
399 Attributes table: A table containing pointers to the attribute MEs that describe each of this
400 ME’s attributes. Note: the managed entity ID attribute is not included in the
401 list.
402 Access: Represents who creates this ME. The following code points are defined:
403 1 Created by the ONT
404 2 Created by the OLT
405 3 Created by both ONT and OLT
406 Alarms table: Lists the alarm codes that are supported for the represented ME.
407 AVCs table: Lists the AVCs that are supported for the represented ME.
408 Actions: Lists the action codes supported on this object, formatted as a bit map. The
409 action codes are the message types from table 11-1/G.984.4. The least
410 significant bit represents action 0, and so on.
411 Instances table: A list of pointers to all instances of this ME that have been created.
20 - 20 -
412 Support: Represents support capability of this ME in the ONT’s implementation. This
413 attribute does not declare if the OMCI implementation complies with the
414 recommendations, but if it complies with the OMCI declaration itself. The
415 following code points are defined:
416 1 Supported (supported as defined in this object)
417 2 Unsupported (OMCI returns error code if accessed)
418 3 Partially supported (some aspects of ME supported)
419 4 Ignored (OMCI supported, but underlying function is not)
420
421
509
510
511
512
513
514 Figure 88.338.34 - Relationship between Image, Windows, and Sections
515
516
23 - 23 -
OLT ONT
Start software download (instance, window size-1, image size[, parallel download info])
Download section (instance, section N-1, 31 bytes of image data) [AR = ack rqst]
Download section (instance, section F-1, 31 bytes of image data padded with nulls) [AR]
End software download (instance, CRC-32, image size[, parallel download info])
517
518
519 Figure 88.358.36 - Software Download
24 - 24 -
520
521
522 Figure 88.378.38 – Busy Response Handling
25 - 25 -
523
524
525 Figure 88.398.40 - Software Activate and Software Commit
526
549 arbitrary combinations. The port mapping package has the merit that it is universally
550 applicable to integrated and chassis-based ONTs equipped with any type of real or virtual
551 circuit pack, but for historical reasons, it is commonly used only when it is the only choice:
552 a chassis-based ONU that contains circuit packs with mixed port types.
553
554
555 3. The port mapping package may be contained by the ONT directly, rather than by a virtual
556 cardholder. This approach has the merit that it avoids a virtual cardholder that serves no real
557 purpose, and the disadvantage that it applies only to integrated ONTs. It is unlikely to
558 appear in actual practice.
559
560In the original model, real or virtual slot numbering was segregated by PON-side (128 up) vs
561subscriber-side (127 down). Although this constraint is no longer specified – it was unsatisfactory
562for real chassis with real slots, as well as mixed-function circuit packs – many existing virtual-slot
563implementations continue to follow this convention for historic reasons.
564
565In addition, the two most significant bits of the slot address are available to designate xDSL bearer
566channels when desired. While this violates orthogonality, it poses fewer problems in practice than in
567theory, since a space of 64 slots more than suffices for real or virtual cardholders. Best practice
568would indicate that slot numbers be unique within their 6 LSBs, particularly if there is any
569possibility that xDSL bearer channels may need to be modeled.
570
571As to port addressing, the original model specified ports numbered in increasing order, left to right,
572bottom to top, but this was inappropriate both for three-dimensional ONT packages with mixed
573ports of all types on several surfaces or edges and for chassis-based ONUs with service connections
574through the backplane rather than on circuit pack faceplates. Today, port addresses are expected
575only to start with 1 and to be unique. Small numbers in a contiguous sequence are preferred.
576
577Finally, it is worth mentioning that nothing actually prohibits mixing port types on any card type,
578without benefit of the port mapping package. The combined video UNI and PON type (code point
57944) even explicitly allows for differing port types. No convention exists for the numbering of such
580ports, configuration discovery is likely to be a problem, and best practice would avoid this option.
581VIII.5.2 The chassis-based ONU
582The original slot-port model was, and is, arguably adequate for integrated ONTs, where it is easy to
583create as many virtual cardholders as may be desirable. For chassis-based ONUs, however, a
584number of difficulties arise:
585
586 The model does not readily accommodate the richness of possible service interfaces.
587 G.984.4 defines circuit pack types, with an eye to listing all possibilities, but it doesn’t scale
588 well. As an example, the long list of VF specials is not presently represented. See the next
589 two bullet points as well.
590
591 The model does not adequately represent common equipment, circuit packs with no external
592 ports at all, for example power supply packs. G.984.4 includes a single code point for
593 common equipment; it does not distinguish different types of common equipment.
594
595
596 It has no way to flexibly model equipment with a combination of interfaces, for example, a
597 single circuit pack with a PON interface, a craft port and an RF video port (code point 44
27 - 27 -
598 includes PON and RF video, but not craft). Code point 45 is defined for multi-function
599 packs; it does not distinguish different types of multi-function packs. As mentioned above,
600 port numbering conventions are undefined, except by way of the port mapping package.
601
602 There were ambiguities in G.984.4, specifically between the possible mixes of 10/100/1000
603 Mb/s Ethernet and its physical media. The ambiguity has been resolved with a compromise,
604 but existing implementations must be regarded with caution.
605
606
607 The original model could not distinguish between two Ethernet packs, for example, with
608 four ports on one and eight on the other. Port count attributes were added as a patch, but
609 they do not address the reality that both operators and vendors are likely to manage real
610 equipment inventory by a code (CLEI, for example, or vendor product name/number), rather
611 than simply by generic type.
612
613The integrated ONT was first to be developed, so the issues mentioned above were not immediately
614apparent. Various extensions have been added to the equipment model to address these concerns, as
615discussed below.
616
617While the generic circuit pack types of G.984.4 arguably suffice for the integrated ONT, it is
618recommended that the chassis based ONU use the equipment ID attributes as its primary means to
619identify equipment options. Equipment ID is also the preferred way to identify an integrated ONT
620for inventory purposes.
621
622In G.984.4, a small range of equipment types was reserved for vendor-specific assignment. Vendor-
623specific code points would seem to introduce interoperability issues, but they are in principle no
624worse than equipment ID as an identifier: the OLT and EMS must have a priori knowledge of the
625meaning and characteristics of whatever identifiers are used, presumably through business
626agreements and information exchange between the vendors concerned.
627VIII.5.3 Dynamic behaviour
628VIII.5.3.1 ONU initialization
629VIII.5.3.2 The ONU’s view
630When an ONU initializes, it populates its MIB with information about its equipment configuration.
631The recommendations are written as if it discovers this information for itself when it comes to life.
632This may be the case, but it is also possible that an ONU, especially an integrated ONT, may be
633equipped with a basic MIB at the factory, in which case initialization may comprise merely copying
634the MIB into working store and discovering only options that may have changed after the last
635shutdown and prior to the current initialization.
636
637If it exists, the non-volatile MIB image used as the initialization reference for a chassis-based ONU
638may be populated with circuit pack types or equipment IDs, either by factory predetermination or
639from prior operation of the ONU. This equipment may or may not be present during the current
640initialization. Whether there is a non-volatile MIB or not, the ONU must actually perform some
641level of self-discovery to determine what, if anything, exists in its cardholders.
642
643The ONU is specified to issue AVCs or alarms when it discovers circuit packs, or when it discovers
644that a circuit pack that was recorded in its non-volatile MIB (if there is one) is no longer present or
645no longer has the same type or equipment ID. However, ONU initialization typically occurs while
28 - 28 -
646the ONU is not ranged on the PON, so successful transmission of AVCs and alarms is not
647necessarily possible. Queuing of notifications for future delivery is not specified, so the OLT must
648audit the connected equipment when the ONU re-ranges.
649
650It is recommended that an initializing ONU complete MIB update through whatever process of self-
651discovery is appropriate before it responds to ranging grants from the OLT. This allows the OLT to
652begin a MIB audit immediately without concern for races with the ONU’s continuing initialization
653process.
654
655No initialization issues arise if there are no mismatches between an ONU’s actual equipage and its
656(possible) non-volatile MIB. If there are mismatches, however, the ONU should declare alarms as
657appropriate and should not attempt to bring the mismatched circuit packs into service.
658VIII.5.3.2.1ONU initialization: the OLT view
659When the OLT ranges an ONU, the OLT either has a MIB that corresponds to that ONU or it does
660not.
661
662If the OLT does not have a MIB for that particular ONU already, it uploads the ONU’s MIB as a
663starting point. Subsequent operation and provisioning is recorded both in the ONU’s MIB and in the
664OLT’s functional duplicate. AVCs from the ONU alert the OLT to changes that could occur from
665external causes such as craft removal or installation of circuit packs. An AVC triggers the OLT to
666update its view of the ONU. The details of such an update are beyond the scope of this document.
667
668When it ranges the ONU, the OLT may already have a MIB (or database functional equivalent) for
669a particular ONU, either because the ONU has been pre-provisioned or because the ONU has
670previously been active on the PON. The initialization requirements are the same in either case.
671
672Assuming that the OLT has a MIB for this particular ONU, an audit is necessary once ranging is
673complete as part of service (re-)activation. The ONU is responsible to know its current equipment
674configuration, which must be reconciled by the OLT. The OLT, on the other hand, is responsible to
675know all provisioned information, and to ensure that, once initialization is complete, the ONU is
676provisioned accordingly. The OLT should declare alarms or events toward an EMS if the
677configuration has changed unexpectedly or provisioning reconciliation fails.
678VIII.5.3.3 Circuit pack provisioning
679The previous section discusses ONU initialization. This section discusses the dynamics of circuit
680pack provisioning, installation and removal for an ONU that is ranged on the PON. It assumes a
681chassis-based ONU: changes to (virtual) circuit packs should not occur on integrated ONTs. An
682integrated ONT should deny attempts to provision cardholder and circuit pack attributes that are in
683fact immutable, even if their OMCI definitions indicate that they have write or set-by-create
684semantics.
685
686The ONU is sensitive to four events in this context, each of which has a number of use cases. Each
687event is discussed in its own section below.
688
689 1. A circuit pack is provisioned into a cardholder.
690 2. A cardholder is de-provisioned.
691 3. A circuit pack is physically inserted into a cardholder.
692 4. A circuit pack is physically extracted from a cardholder.
29 - 29 -
742be restored to a mismatch after ONU initialization because the ONU would have no independent
743record of the prior configuration.)
744
745If the cardholder was in mismatch before the provisioning action, the mismatch is resolved if all of
746the following are true:
747
748 The expected plug-in unit type is provisioned to the actual plug-in unit type. If the ONU
749 supports plug and play, codepoint 255 also resolves a mismatch.
750 The expected port count is provisioned either to 0 or to the actual port count.
751 The expected equipment ID is provisioned either to the actual equipment ID or to a string of
752 all spaces.
753
754The ONU should clear any alarms that may have been declared as a consequence of the mismatch
755state. It should also initialize (or complete the initialization of) the physical circuit pack, up to and
756including bringing up any services that may be provisioned onto it.
757VIII.5.3.3.2A cardholder is de-provisioned
758This event occurs when the cardholder’s expected type is set to 0. If it was already 0, this is a no-op.
759The ONU should delete all associated managed entities (see list and examples above), and clear any
760alarms associated with the equipment. It is an error for the OLT to de-provision equipment without
761first de-provisioning all services that depend on the equipment, and while ONU robustness is
762encouraged, the ONU’s behavior is undefined, up to and including the possibility that orphan or
763conflicting MEs may be left behind in the MIB, and nothing less than a MIB reset can recover.
764
765If the cardholder is populated with a circuit pack at the time of de-provisioning, the ONU
766should place it in an inactive holding pattern, awaiting extraction or re-provisioning. The holding
767pattern state implies no user services; provisioning and test commands should be denied, alarms
768should be cleared and no new ones generated, and ports and preferably the entire circuit pack
769should be powered down. ONU initialization from this state should initiate the sequence that occurs
770when a circuit pack is inserted into an unprovisioned slot.
771VIII.5.3.3.3A circuit pack is physically inserted into a cardholder
772The two cases to consider in this event are distinguished by whether the circuit pack managed entity
773already exists or not. The common cases are the installation of new packs and the replacement of
774defective packs. In the normal course of events, a circuit pack ME exists before either of these
775events.
776
777If the cardholder is provisioned with an expected plug-in unit type, then a circuit pack ME
778exists, either of the specified type or of type 255, signifying unknown. When the actual circuit pack
779appears, the ONU updates the circuit pack ME with actual values from the equipment. (Note:
780OMCI does not presently define AVCs for changes to normally immutable attributes that may in
781fact change during this process, such as the circuit pack type.) If the appearance of the circuit pack
782resolves ambiguous provisioning, For example, as a plug-and-play circuit pack, this is the point at
783which the ONU creates the subordinate MEs mentioned above: PPTPs, software images, etc.
784
785The appearance of a circuit pack either triggers a mismatch, in accordance with the mismatch
786discussion above, or it does not. If there is no mismatch, the ONU continues initialization and
787bring-up of the circuit pack and services. If there is a mismatch, the ONU declares a mismatch
788alarm through the cardholder ME. No alarm is defined for mismatch of port count; if this is deemed
789significant, a port count mismatch alarm should be proposed as an extension to the cardholder ME.
790
31 - 31 -
791Most, if not all, physical path termination points (ports) include an optional operational state ME.
792Among other circumstances, this attribute should have the value disabled when the pack is not
793present. Operational state should change to enabled, and be reported via AVC, when the port
794successfully enters service. Within the scope of current OMCI, the failure to receive an AVC on the
795port is the only notification the OLT has of port mismatch.
796
797If the circuit pack ME does not already exist, the ONU should instantiate it upon pack insertion.
798The ONU should populate the attributes of the circuit pack from the equipment itself, and report
799them to the OLT via AVCs from the cardholder.
800
801The ONU should instantiate the complete set of PPTP/ANI MEs, port mapping packages, etc, as
802described above. If the pack and ports pass self-test, each should report an AVC when its
803operational state becomes enabled.
804
805The absence of the circuit pack ME a priori guarantees that no additional pre-provisioned
806information exists in the MIB, except possibly in the de-provisioned corner case discussed above in
807which the ONU’s behavior is undefined.
808VIII.5.3.3.4A circuit pack is physically extracted from a cardholder
809The most common cause of this event is the replacement of a defective circuit pack. When the old
810circuit pack is extracted, the event may trigger additional alarms – the circuit pack and some or all
811of the services are likely already in alarm – such as cardholder improper removal. No managed
812entities are deleted as the consequence of this event; only de-provisioning destroys MEs.
813
814Replacing the defective pack with a like pack follows the normal sequence of events: the pack is
815initialized, no MIB changes are necessary, and services are restored. Replacing the pack with an
816incompatible pack triggers mismatch behavior as described in the previous section. Replacing the
817pack with a functionally similar pack (eg different CLEI, same capabilities) may or may not be
818accepted by the ONU, depending on its built-in knowledge of equipment compatibilities.
819
820Less common is the removal of a circuit pack, either to leave the slot unpopulated or to re-use it for
821other purposes. It is recommended that services first be de-provisioned and then the cardholder be
822de-provisioned before the circuit pack is extracted, but if the pack is extracted first, it is treated
823exactly as if it were simply being replaced with another pack of the same type.
824VIII.5.3.4 MIB sanity
825Regardless of the flows described above, it is always allowed and encouraged for an ONU to deny
826provisioning actions that create MIB inconsistencies.
827VIII.5.4 Protection
828Two kinds of protection can be supported within the OMCI model, ANI (PON) protection and
829equipment protection. Vendor-interoperable protection has not been widely deployed as yet; in the
830absence of real-world experience, some aspects of its operation doubtless remain for further study.
831
832The model for PON protection assumes two ANI MEs, which would presumably reside on separate
833circuit packs. The protection data ME coordinates the two ANIs and specifies various attributes of
834the protection group. PON protection handshaking is based on SDH K bytes. If more than LOS-
835based single-ended protection were to be supported, further work would likely be needed to
836rationalize the details of K byte protection with GPON.
837
838The model for equipment protection is exemplified by a chassis-based ONU with DS1 circuit packs,
839in which one or two circuit packs protect up to eight working packs. Protection of this nature is
32 - 32 -
840likely to be built into the backplane or cabling of the ONU; protection packs may or may not be the
841same as the working packs. This function is supported by the equipment protection profile ME.
842Equipment protection can be manually invoked through an attribute of the working cardholder ME.
843
844Subscriber facility protection, for example on 1+1 OC3 drops, is not supported by the current
845OMCI model.
846VIII.5.5 Environmental inputs and outputs
847OMCI provides an equipment extension package that may be associated either with an ONU or a
848cardholder to provide external sense or control points. The conceptual model is of equipment able to
849detect external contact closures, and report either a closed or an open contact as an off-normal
850event. Rectifier plant alarms may be reported with this mechanism, for example. The semantics of
851these alarms are undefined to OMCI and the ONU, and must be interpreted at the OLT or EMS
852level.
853
854Where the ONU structure is hard-wired for particular alarms that are already defined in OMCI, the
855hard-wired alarms should be reported in preference to the general-purpose capabilities of the
856equipment extension package. For example, a physical intrusion alarm can be declared by the ONT-
857G, and is preferred, as long as no ONU provisioning is needed to associate the alarm with a specific
858input point. Likewise, existing battery alarms, declared by the ONT-G ME, are preferred where they
859convey the correct semantics and require no provisioning.
860
861The equipment extension package managed entity also allows for external control points to be
862activated or released.
863VIII.5.6 Managed entity analysis
864This section discusses managed entities and attributes of interest. It is not a complete list of all
865concerned MEs or their characteristics; it represents those for which commentary is appropriate.
866VIII.5.6.1 ONT-G, ONT2-G
867These MEs define attributes, actions and notifications that conceptually pertain to the ONU as a
868whole equipment unit. When the ONU is implemented as integrated equipment, no issues arise.
869This section describes the common attributes, actions and notifications for the chassis-based ONU.
870
871Attributes
872Vendor id, version, serial number, vendor product code (RO) –
873 These attributes are not expected to exist for the chassis, per se. Their values
874 should be taken from the controller pack (primary controller pack if there are two).
875 Replacement of the controller pack may require reprovisioning of the ONU’s serial
876 number at the OLT.
877Traffic management option (RO) – Report the value from the pack that implements traffic
878 management. In most cases, this would be the controller pack.
879Battery backup (RW) – The integrated ONU should proxy this value on behalf of the pack that
880 implements battery monitoring unless explicit provisioning is required, in which
881 case the external sense points of the equipment extension ME should be used
882 instead. If the ONT/ONU has no capability to monitor battery-related states, it
883 should deny an attempt to enable battery monitoring.
884Admin state (RW) – Administrative lock at the ONT level should disable all subscriber services on
885 all ports of all circuit packs.
886Operational state (RO) – Operational state indicates whether the ONT in its entirety is capable of
887 performing some (vs none) of its functions. In accordance with the state model of
888 X.731, the ONT should report its operational state as disabled only if all of its ports
33 - 33 -
889 are out of service for autonomous reasons (eg failure or circuit pack extraction). At
890 the ONT level, this information is not very useful; because operational state is an
891 optional attribute, it may be omitted.
892Equipment id (RO) – The equipment ID string is 20 characters, typically long enough for two
893 informative fields. It is recommended that the primary information field be left
894 justified in the equipment ID attribute, for example CLEI code in markets that use
895 this identifier. If a second identifier (for example, vendor product designator) is
896 desired, it is recommended that it be right-justified in the equipment ID attribute,
897 with spaces padding the gap in the center. Although this information may be
898 provided by the controller pack rather than the backplane, it is quite likely to differ
899 from the corresponding equipment id attribute of the controller circuit pack, since
900 it represents the ONU, rather than the circuit pack.
901OMCC version (RO) – This attribute indicates the OMCI version supported by the ONU as an
902 entirety, and should be reported as the most primitive version, considering all
903 software residing on all circuit packs. Note: for historic reasons, an implementation
904 may report 0x80, even though it actually supports a more recent version of OMCI.
905Total priority queue number, total traffic scheduler number (RO) –
906 These attributes are defined to be the count of queues (schedulers) not associated
907 with a specific circuit pack. The chassis-based ONU should report these on behalf
908 of the controller (or traffic management) circuit pack, if a single (or duplicated) pack
909 provides these functions. It is also acceptable to report these values as 0, and to
910 report values for individual packs instead.
911Total GEM port-ID number (RO) – This attribute should be reported for the ONU as an entirety on
912 behalf of the ANI or traffic management circuit pack, typically the (primary)
913 controller.
914Actions
915Reboot – This action should cause the ONU as an entirety to re-boot. It would be expected that
916 the controller pack (or both controller packs) would re-boot, and any other circuit
917 packs would be re-booted or reinitialized as applicable. Re-boot is not expected to
918 be hitless to subscriber services. POTS calls are allowed to be dropped, and layer 2,
919 3 and 4 data associations are allowed to be lost.
920Test – The test action on a chassis-based ONU may not be meaningful. In the case that the test
921 action is not meaningful, it is the vendor’s choice whether to reject an ONU-
922 directed test action, or whether to proxy the action to the (primary) controller pack.
923Synchronize time – This action should resynchronize all circuit packs that maintain PM-related
924 interval timers and counters.
925Notifications – AVCs
926Vendor ID, version, serial number –
927 These AVCs are of little use. These attributes should never change on an integrated
928 ONT, and when the controller pack is replaced on a chassis-based ONU, it is
929 questionable whether the new pack is in a position to declare the AVCs. The OLT
930 should query this information from the ONU when the ONU re-boots.
931Op state – As noted above, the operational state attribute is optional, and conveys little
932 information at best. When the ONU is really incapable of performing any of its
933 functions, it is likely also incapable of conveying a state indication over the PON.
934Notifications – alarms
935Equipment alarm, ONT self test fail – This alarm would be expected to be declared against an
936 individual circuit pack, rather than against a chassis-based ONU as an entirety. If
937 one of these alarms is declared by a chassis-based ONU, the alarm should really
938 indicate a chassis problem, not a circuit pack problem.
34 - 34 -
939Powering alarm, battery missing, battery failure, battery low, physical intrusion, voltage yellow,
940 voltage red – These alarms are meaningfully declared by the ONU an an entity in its
941 own right.
942Dying gasp – The purpose of this alarm is to help the OLT distinguish, when possible, between
943 fiber cuts and equipment faults. Dying gasp should therefore be declared by the
944 ONU on behalf of the circuit pack that supports the ANI. That is, other parts of the
945 ONU may remain up and running; the alarm indicates only the state of the PON
946 optics. If the ONU has two PON interface circuit packs, dying gasp should not be
947 declared on one to indicate imminent shutdown of the other. In that sense, the
948 alarm is really declared by the PON circuit pack, but using the ONT-G as a
949 reporting entity. Dying gasp is not an irrevocable commitment to drop off the PON:
950 the OLT should accept the possibility that the ONU remains active on the PON and
951 clears the alarm after a last-second recovery.
952Temperature yellow, temperature red – While it is possible that a chassis could contain global
953 temperature sensors, it is expected that, in the case of a chassis-based ONU,
954 temperature alarms would be declared by individual circuit packs instead. In any
955 event, the alarms should be declared by the ME that best represents the scope of
956 the problem.
957VIII.5.6.2 Cardholder
958The cardholder ME is needed even by integrated ONTs, because it contains information pertinent to
959the virtual slot model.
960
961Attributes
962Actual plug-in unit type (RO) – This attribute takes a value from table 9.1.5-1. Choices from the
963 table are expected to suffice for the integrated ONT, and the equipment ID
964 attributes are not expected to be used.
965Expected plug-in unit type (RW) – This attribute permits some level of pre-provisioning. Although
966 the equipment ID is preferred to indicate a precise circuit pack type, this attribute
967 should be selected from table 9.1.5-1 to be as meaningful as possible. Although
968 this attribute is marked read-write, the integrated ONT should deny attempts to
969 change its value.
970Expected port count (RW) – This attribute permits pre-provisioning of generic circuit pack types
971 when the equipment ID is not specified. Since equipment ID is preferred, this
972 attribute should not be used. If it is used, it must be set to a value that does not
973 conflict with other attributes, such as equipment ID, that may exist already or that
974 may be part of the same set operation. As with the expected plug-in type, which is
975 also read-write, an integrated ONT should deny an attempt to change the value of
976 this attribute.
977Expected equipment id (RW) – The OMCI definition states that this attribute pertains only to real
978 (not virtual) cardholders. An integrated ONU should deny an attempt to write its
979 value. As noted earlier, vendors may choose to encode two informative fields into
980 this attribute, for example a CLEI and a vendor product code name. No substring
981 matching behaviour is expected: the provisioned value of this attribute must match
982 exactly the value found in the equipment itself.
983Actual equipment id (RO) – The OMCI definition states that this attribute pertains only to real (not
984 virtual) cardholders.
985Notifications – AVCs
986Actual type, actual equipment id – These AVCs are not meaningful for integrated ONUs.
987Notifications – alarms
988Plug in LIM missing, plug in type mismatch, improper card removal, plug in eqpt id mismatch,
989 protection switch – These alarms are not meaningful for integrated ONUs.
35 - 35 -
1040ASCII formatted reports back to the ONT, the raw data format offers the ability to collect
1041information in a coupled environment (same vendors OLT and ONT) for advanced debugging
1042purposes. Note it is not the purpose of this object to offer any other management abilities which
1043should done using conventional OMCI or other vendor specific managed entities, and it was for this
1044reason the command attribute was limited to 25 bytes.
1045
1046The managed entity id of this object is always zero. Since the object is created by the ONT, no
1047other managed entity ids should be possible. Ability of the remote debug capability of an ONT can
1048be detected by using the OMCI object to see if the remote debug managed entity is supported, or by
1049an error response from the ONT indicating that the object does not exists.
1050
1051This object contains three attributes for the purpose of exchanging information with an ONT. These
1052are:
1053
1054 Command format – defines if the information is to be ASCII coded (value zero) or in free
1055 format (value one). This value is read only by the OLT and will indicate which form of
1056 command is expected, and is fetched from the ONT using the GET message.
1057 Command – if the command format is ASCII (value zero), then the command attribute is 25
1058 ASCII characters (string) of information. This information is expected to be NULL (0x0)
1059 terminated if the string is less than 25 bytes long to indicate the end of the string. This
1060 attribute is write only and is sent to the ONT using the SET message.
1061 Reply table – This attribute is used to fetch the information from the ONT. This is typically
1062 done after a command has been sent to the ONT but may also be done outside of the scope
1063 of a previous set command. On the GET message, the reply table attribute iswill be 4 bytes
1064 long and returns the byte size of information to be returned by using the GET-NEXT
1065 operation. If the size of the reply is unknown, then the value of 0xFFFFFFFF is used to
1066 indicate that a GETNEXT operation should not occur. If no information is to be replied,
1067 then the value zero will indicate this. The OLT may then use the GETNEXT message to
1068 serially obtain the information one GETNEXT message at a time (which will return 29 bytes
1069 of the reply per GETNEXT message). If the ONT receives a GETNEXT message and has
1070 no more information to be sent back, then a parameter error message should be returned to
1071 indicate the overrun condition. Once the total number of bytes has been collected from the
1072 ONT using the GETNEXT operation that was indicated by the ONT on the GET operation,
1073 then the information can be used by the OLT as defined by the Command format parameter
1074 (ASCII or raw format).
1075
1076Command syntax (in either mode) is vendor specific, as is the reply information. However, some
1077general guidelines for the ASCII mode are suggested as a best practice. The ASCII command of
1078“help” should be supported by the ONT, such that the ONT would then reply back with the
1079available commands that may be supported by the remote debug process. In addition, if a command
1080is not recognized or can not be parsed by the ONT, a reply to that nature should be returned in the
1081command format specified. The use of OMCI error codes to indicate an error in the ASCII
1082command (not the OMCI command) is not advised.
1083VIII.6.1 Message flow
1084VIII.6.1.1 Success Example
1085Figure 88 .41 8 .42 - success example, shows a potential remote debug exchange.
37 - 37 -
1086
OLT ONT
Remote debug – get reply – reply table – value 0x00000023 (dec 35)
1088
1089In this example, the OLT sends an ASCII text string command of “dump status” to the ONT, and
1090the ONT replies with the ASCII text “Status is ok. Everything is fine.”
1091
1092VIII.6.1.2 Failure Examples
1093The following figures depict potential failure scenarios with the remote debug object. Figure 88 .
109443 8 .44 - Failure - ONT does not support remote debug object, shows a remote debug request to an
1095ONT which does not support the remote debug object.
1096
1097
OLT ONT
1098
1099 Figure 88.438.44 - Failure - ONT does not support remote debug object
1100
1101Figure 88 .45 8 .46 - Failure - GET on reply table performed with no command SET data
1102available.done, for a GET request in which no SET was performed. When the OLT performs a get
38 - 38 -
1103on the reply table with no data available and receives zero the 0xFFFFFFFF, no further GETNEXT
1104operations should be performed.
1105
1106
1107
OLT ONT
1108 Figure 88.458.46 - Failure - GET on reply table performed with no command SET data available.done
1109
39 - 39 -
1110
1111If an OLT performsance a GETNEXT request for a sequence that is beyond the size that was
1112available to collect, then a parameter error message will be sent in the reply, as is seen in Figure
111388 .47 8 .48 - Failure - OLT performs an overrun in the GETNEXT sequence.
1114
1115
OLT ONT
Remote debug – get reply – reply table – value 0x00000023 (dec 35)
1116
1117 Figure 88.478.48 - Failure - OLT performs an overrun in the GETNEXT sequence
1118
1128Provisioning of ONT Power Shedding is accomplished through the use of two OMCI MEs. These
1129are the ONT Power Shedding ME and the Circuit Pack ME. The ONT Power Shedding ME
1130contains most of the attributes associated with power shedding. The Circuit Pack ME contains a
1131single attribute, Power Shed Override, that allows for the override of power shedding on a per port
1132basis.
1133
1134The Power Shedding ME is auto-created by an ONT if that ONT supports power shedding. It
1135contains the following attributes:
1136
1137 Restore power timer reset interval – The time delay, in seconds, before resetting shedding
1138 timers after power restoration. Upon instantiation, this attribute is set to 0. The OLT uses a
1139 Set command to provision this attribute to the desired value.
1140 Shedding Timer Attributes – For each class of service, defined in G.984.4 an interval
1141 attribute is defined below. The value 0 disables power shedding, while the value 1 enables
1142 immediate power shed, that is, as soon as AC power fails. Other values specify the time, in
1143 seconds, to keep the service active after AC failure. The OLT uses a Set command to
1144 provision these attributes to the desired value. Upon ME instantiation, the ONT sets each of
1145 the interval attributes to 0.
1146 o Data class shedding interval
1147 o Voice class shedding interval: Note that this attribute only pertains to voice services
1148 that terminate on the ONT, not to voice services that may reside in the customer
1149 premises served by a data type port.
1150 o Video overlay class shedding interval
1151 o Video return class shedding interval
1152 o DSL class shedding interval
1153 o ATM class shedding interval
1154 o CES class shedding interval
1155 o Frame class shedding interval
1156 o Sonet class shedding interval
1157 Shedding Status – Boolean indication of power shedding status for each shedding class. A
1158 change in this attribute results in an AVC being sent by the ONT. This is an optional
1159 attribute but it is recommended that ONTs implement this attribute.
1160
1161The Power Shed Override attribute within the Circuit Packs ME is a bitmap that can be used on a
1162per port basis to override the settings contained within the Power Shedding ME. This attribute is
1163defined as a 4 byte bitmap with port 1 being the MSB of the bitmap. When a bit within this attribute
1164is set to 1, the corresponding port within that circuit pack is exempt from the provisioning contained
1165within the Power Shedding ME.
1166
1167If the hardware associated with that circuit pack does not support individually powering off the
1168ports, then the entire attribute is taken as a single Boolean value. In this case, any bit in the bitmap
1169being set to 1 will result in all ports on that circuit pack being exempt from the provisioning
1170contained in the Power Shedding ME.
1171VIII.7.1 State Diagram
1172Of particular interest in the management of ONT power shedding is the expected behavior of the
1173ONT during various power shedding scenarios. This is especially true for the relationship between
1174the two timers represented by the attributes Restore power reset interval (Tr) and Shedding
1175interval (Ts). This behavior is depicted in Figure 88 .49 8 .50 – Power Shedding State Diagram.
1176The following terms are used in the diagram:
41 - 41 -
1177 1. Start Timer – The specified timer is started from the existing value. A Start Timer does not
1178 imply a reset of the timer.
1179 2. Stop Timer – The specified timer is stopped and not reset.
1180 3. Reset Timer – Stops and resets a timer. The timer is not started.
1181
1182
Reset Timer Ts
AC ON
AC Off
Reset Timer Tr
Shed Power
AC On
Power Shed
1183
1184
1185 Figure 88.498.50 – Power Shedding State Diagram
1186
1193
Managed
Entity A Entity created by the ONT
Managed
Entity B Entity created by the OLT
Managed Managed
Entity A Entity B
Entity A has explicit pointer to Entity B
Managed Managed
Entity A Entity B Entity A has implicit ID relationship to Entity B
(M.E. IDs are equal, or use structured numbering)
1194
1195 Figure 99.519.52 Relationship Diagram Symbols
1220choose to provision a subset of the models described in this text or a subset of the functionality
1221defined in TR-156 and the ONT should act as commanded by the OLT. Only if the OLT requests
1222ONT actions that are beyond the capabilities represented here, is the OLT considered to be
1223performing outside of the scope of this text.
ONT-G ANI-G
Priority
MAC bridge Traffic Traffic
Queue A1
port filter Descriptor PQ A1 Descriptor
(Downstream
table data (Downstream) (upstream)
)
Ext VLAN VLAN GEM GEM Port
tag oper. Tagging Interworkin Network T-CONT
config. data Filter g TP CTP PQ 1
Priority MAC bridge 802.1p
Traffic Traffic
Queue A2 port filter Mapper
Descriptor Descriptor
(Downstream preassign Service
(Downstream) PQ A2 (upstream)
) table Profile
MAC MAC GEM GEM Port Priority
PPTP
Bridge Port Bridge Port Interworkin Network Queue 1
Ethernet UNI PQ 2
Config Data Config Data g TP CTP (upstream)
Priority MAC
MAC bridge Traffic Traffic
Queue A3 Bridge
(Downstream Service
port filter Descriptor PQ A1 Descriptor
table data (Downstream) (upstream)
) Profile
MAC GEM GEM Port
UNI-G Bridge Port Interworkin Network PQ 1 T-CONT
Config Data g TP CTP
Priority
VLAN Traffic Traffic
Queue A4
Tagging Descriptor PQ A2 Descriptor
(Downstream
Filter (Downstream) (upstream)
)
MAC bridge
GEM GEM Port Priority
port filter
Interworkin Network Queue 2
preassign
g TP CTP
PQ 2 (upstream)
table
802.1p
Traffic Traffic
Mapper
Service
Descriptor PQ A3 Descriptor
(Downstream) (upstream)
Profile
GEM GEM Port
Interworkin Network PQ 3 T-CONT
g TP CTP
Traffic Traffic
Descriptor PQ A4 Descriptor
(Downstream) (upstream)
T-CONT
Priority
Queue 4
(upstream)
1239
44 - 44 -
1241
1242The diagram in Figure 99 .53 9 .54 depicts the provisioning that would be used to provide the
1243upstream mapping of two VIDs and the 802.1p priorities within those VIDs. One VID is
1244provisioned for the mapping of 802.1p priorities to two GEM ports each going to a single Priority
1245Queue. The other VID is provisioned for the mapping of 802.1p priorities to four GEM Ports each
1246going to a single Priority Queue.
1247
1248Note that all GEM ports send frames through one of four Priority Queues because this diagram only
1249depicts support for 4 classes of traffic which is the minimum requirement of TR-156. It can easily
1250be extended to the 6 classes of traffic that is a goal requirement of TR-156. This is accomplished by
1251adding GEM Port Network CPT MEs, GEM Interworking TP MEs, Priority Queue MEs and T-
1252CONTs.
1253
1254The diagram assumes an Ethernet UNI but the same provisioning model could be used for other
1255UNI types.
1256
1257The diagram in Figure 99 .53 9 .54 includes equipment management MEs to illustrate the position
1258within the OMCI MIB of the L2-OCM.
1259
1260The diagram in Figure 99 .55 9 .56 depicts another possible provisioning using the L2-OCM. This
1261provisioning has no overlap in priorities but treats VLANs has having an implied priority that is
1262outside the scope of the 802.1p priority bits. In this case, there are two VLANs and identical p-bits
1263between those two VLANs. One VLAN has priority over the other VLAN and the p-bits are
1264mapped within the scope of these VLAN priorities. For example, VLAN 1 (VID 1) with p-bits 2
1265and 3 are mapped to one bridge port and 802.1p mapper and VLAN 2 (VID 2) with p-bits 2 and 3
1266are mapped to another bridge port and 802.1p mapper. Each 802.1p mapper maps p-bits 2 and 3 to
1267separate priority queues, resulting in 4 distinct priority flows.
1268
1269
1270
45 - 45 -
1271
Circuit Software Software Circuit
Cardholder Cardholder
Pack Image Image Pack
ONT-G ANI-G
Multicast
Operations ONT2-G ONT Data
Profile
Priority
Traffic Traffic
Queue A1
Descriptor PQ A1 Descriptor
(Downstream
(Downstream) (upstream)
)
Ext VLAN Multicast VLAN GEM GEM Port
tag oper. Subscriber Tagging Interworkin Network T-CONT
config. data Config info Filter g TP CTP PQ 1
Priority 802.1p
Traffic Traffic
Queue A2 Mapper
Descriptor Descriptor
(Downstream Service
(Downstream) PQ A2 (upstream)
) Profile
MAC MAC GEM GEM Port Priority
PPTP
Bridge Port Bridge Port Interworkin Network Queue 1
Ethernet UNI PQ 2
Config Data Config Data g TP CTP (upstream)
Priority MAC
Traffic Traffic
Queue A3 Bridge
(Downstream Service
Descriptor PQ A3 Descriptor
(Downstream) (upstream)
) Profile
MAC GEM GEM Port
UNI-G Bridge Port Interworkin Network PQ 3 T-CONT
Config Data g TP CTP
Priority 802.1p
Traffic Traffic
Queue A4 Mapper
Descriptor PQ A4 Descriptor
(Downstream Service
(Downstream) (upstream)
) Profile
VLAN GEM GEM Port Priority
Tagging Interworkin Network Queue 2
Filter g TP CTP
PQ 4 (upstream)
T-CONT
Priority
Queue 3
(upstream)
T-CONT
Priority
Queue 4
(upstream)
1272
1273 Figure 99.559.56 Single UNI VID Based Priority Treatment
1291 be routed through the 802.1p mapper and MAC Bridge. Therefore it is important for the
1292 provisioning of the MAC Bridge and the Priority queue pointer attribute to agree upon the
1293 destination queue for the downstream frames. The Traffic management pointer for upstream,
1294 Traffic descriptor profile pointer for upstream, and Traffic descriptor profile pointer for
1295 downstream, attributes should be supported. For detailed information on the usage of the
1296 Traffic attributes refer to section X.
1297 GEM Interworking TP ME- The GEM port network CTP connectivity pointer attribute is set
1298 to point to the partner GEM Port Network CTP ME. The Interworking option, Service
1299 profile pointer, and GAL profile pointer attributes should all be set according to 802.1p
1300 mapper service. The Interworking termination point pointer attribute should be set to 0 and
1301 not used because the common model contains a MAC bridge.
1302
1303IX.3.1.2 Classification and Marking
1304The Extended Tagging Operation Data ME provides classification and marking of ingress frames at
1305the UNI. This includes adding tags based on Ether Type and setting 802.1p p-bit values based on
1306DSCP.
1307
1308IX.3.1.3 MAC Address Filtering
1309Figure 99 .53 9 .54 depicts a MAC bridge port filter preassign table ME and a MAC bridge port
1310filter table data ME associated with the ANI side MAC Bridge Port Configuration Data MEs. While
1311these MEs are auto-created by the ONUONT upon creation of a MAC Bridge Port Configuration
1312Data ME, only the ANI side MEs are depicted. TR-156 requires only upstream MAC address
1313filtering support on the ONUONT and this function is performed by the ANI side Bridge port filter
1314MEs. These MEs are used in the following manner (filtering applies to frames exiting the MAC
1315bridge port):
1316
1317 MAC bridge port filter preassign table ME – Used to filter frames based on predefined
1318 addresses or Ethertype. The list of filter options is pre-defined in G.984.4.
1319 MAC bridge port filter table data ME – Used to filter frames based on specific MAC
1320 addresses. MAC address learning should be disabled prior to the setting of table entries.
1321
1322Note: MAC address filtering is supported in all ONUONT models (Single UNI, Multiple UNI,
1323Single and Multiple UNI with Multicast) but is only depicted in Figure 99 .53 9 .54 to minimize the
1324complexity of the figures depicting the more complex models.
1325
1326IX.3.1.4 Flow Routing
1327Flow routing within the GPON System is provisioned using a combination of the MAC bridge ME
1328group and the 802.1p Mapper Service Profile ME.
1329
1330The MAC bridge ME group provides support for flow routing based on VID. This group should
1331support the following provisioning considerations:
1332
1333 The L2-OCM diagram in Figure 99 .53 9 .54 shows only OLT created MAC bridge MEs.
1334 There are several ONT created MEs that are automatically instantiated when a MAC Bridge
1335 Service Profile ME or MAC Bridge Port Config Data ME is created by the OLT. The
1336 ONUONT should provide support for these MEs for completeness of overall MAC bridge
1337 functionality.
47 - 47 -
1338 A VLAN Tagging Filter Data ME should be provisioned to implement VID based flow
1339 mapping. If VID flow mapping is not a requirement for a specific deployment, this ME does
1340 not need to be created by the OLT.
1341 Only a single ANI side MAC Bridge Port Config Data ME should be created for
1342 deployments that do not require VID flow mapping. In addition, only a single 802.1p
1343 mapper is needed for these deployments.
1344 The MAC bridge should not be used to map subscriber data flows based on p-bits. This
1345 functionality is reserved for the 802.1p Mapper ME.
1346
1347The 802.1p Mapper Service Profile ME provides support for upstream flow routing based on
1348802.1p priority bits. This ME should support the following provisioning considerations:
1349
1350 The TP Pointer attribute should be set to Null (0xFFFF) as required for a bridging-mapping
1351 model
1352 The TP Type attribute should be set to 0 to indicate that a bridging-mapping model is being
1353 used.
1354
1355IX.3.1.5 Message Flows
1356Figure 99 .57 9 .58 through Figure 99 .65 9 .66 depict the core message flow that is used to create
1357the L2-OCM. Each figure represents a step within the flow. Each step may be performed multiple
1358times to produce multiple ME instances. It is recommended to follow the depicted ordering of steps
1359and the ordering of messages within those steps to ensure that no ME pointer attribute is populated
1360prior to creation of the ME that it references. This increases the likelihood of successful
1361interoperation with legacy ONTs that are sensitive to the ordering of ME creation. Since the GEM
1362Interworking TP ME and the 802.1p Mapper Service Profile ME point to each other, it is
1363particularly important to create the 802.1p Mapper Service Profile ME with Null Interwork TP
1364pointer for P-bit priority attributes. Only in the final step, after the GEM Interworking TP MEs have
1365been created, are these attributes populated with pointers to the MEs.
1366
1367
1368
OLT ONT
1369
1370 Figure 99.579.58 L2-OCM Message Flow - Step 1
1371
48 - 48 -
1372
OLT ONT
1373
1374 Figure 99.599.60 L2-OCM Message Flow - Step 2
1375
1376
1377
OLT ONT
The ONT automatically create an instance of MAC Once per ANI side MAC
bridge Port filter Table Data Bridge PortVID Mapped
Flow
The ONT automatically create an instance of MAC
bridge Port Bridge Table Data
1379
OLT ONT
1380
1381 Figure 99.639.64 L2-OCM Message Flow - Step 4
1382
1383
1384
OLT ONT
1385
1386 Figure 99.659.66 L2-OCM Message Flow - Step 5
1387
1388IX.3.2 Multiple UNI OMCI Provisioning Model
1389The multiple UNI L2-OCM is an extension to the single UNI model presented in Figure 99 .53 9 .
139054. As shown in Figure 99 .67 9 .68, the extension is accomplished by adding another instance of
1391the single UNI L2-OCM for each UNI. It is important to note that there are still the same number of
1392T-CONTs as in the single-UNI diagram.
1393
1394For the clarity of presentation, the diagram in Figure 99 .67 9 .68 does not include as many GEM
1395Ports per UNI as the diagram in Figure 99 .53 9 .54. However, the underlying functionality
1396associated with each UNI is still the same.
1397
50 - 50 -
1398
Circuit Software Software Circuit
Cardholder Cardholder
Pack Image Image Pack
ONT-G ANI-G
Priority
Traffic Traffic
Queue A1
Descriptor PQ A1 Descriptor
(Downstream
(Downstream) (upstream)
)
Ext VLAN VLAN GEM GEM Port
tag oper. Tagging Interworkin Network T-CONT
config. data Filter g TP CTP PQ 1
Priority 802.1p
Traffic Traffic
Queue A2 Mapper
Descriptor Descriptor
(Downstream Service
(Downstream) PQ A2 (upstream)
) Profile
MAC MAC GEM GEM Port Priority
PPTP
Bridge Port Bridge Port Interworkin Network Queue 1
Ethernet UNI PQ 2
Config Data Config Data g TP CTP (upstream)
Priority MAC
Traffic Traffic
Queue A3 Bridge
(Downstream Service
Descriptor PQ A3 Descriptor
(Downstream) (upstream)
) Profile
MAC GEM GEM Port
UNI-G Bridge Port Interworkin Network PQ 3 T-CONT
Config Data g TP CTP
Priority 802.1p
Traffic Traffic
Queue A4 Mapper
Descriptor PQ A4 Descriptor
(Downstream Service
(Downstream) (upstream)
) Profile
VLAN GEM GEM Port Priority
Tagging Interworkin Network Queue 2
Filter g TP CTP
PQ 4 (upstream)
T-CONT
Priority
Queue 3
(upstream)
Priority
Traffic Traffic
Queue B1
Descriptor Descriptor
(Downstream
(Downstream) PQ B1 (upstream)
)
Ext VLAN VLAN GEM GEM Port
tag oper. Tagging Interworkin Network T-CONT
config. data Filter g TP CTP PQ 1
Priority 802.1p
Traffic Traffic
Queue B2 Mapper
Descriptor Descriptor
(Downstream Service PQ B2
(Downstream) (upstream)
) Profile
MAC MAC GEM GEM Port Priority
PPTP
Bridge Port Bridge Port Interworkin Network Queue 4
Ethernet UNI
Config Data Config Data g TP CTP PQ 2 (upstream)
Priority MAC
Traffic Traffic
Queue B3 Bridge
Descriptor Descriptor
(Downstream Service PQ B3
(Downstream) (upstream)
) Profile
Multicast MAC GEM GEM Port
UNI-G Subscriber Bridge Port Interworkin Network
Config info Config Data g TP CTP
PQ 3
Priority 802.1p
Traffic Traffic
Queue B4 Mapper
Descriptor Descriptor
(Downstream Service
(Downstream)
PQ B4 (upstream)
) Profile
Multicast VLAN GEM GEM Port
Operations Tagging Interworkin Network
Profile Filter g TP CTP PQ 4
1399
1400 Figure 99.679.68 Multi-UNI L2-OCM
1401
1402IX.3.2.1 T-CONT and GEM Port Usage
1403Multiple UNI L2-OCM adds support for additional UNIs without increasing the number of T-
1404CONTs used by single UNI L2-OCM. However, an additional set of GEM ports is added to provide
1405a per UNI Service Level Agreement (SLA) capability. GEM ports are provisioned in the same
1406manner as described in IX.3.1.1.
1407
1408IX.3.2.2 Classification and Marking
1409Classification and marking are provisioned on a per UNI basis in the same manner as described in
1410IX.3.1.2
51 - 51 -
1459model through a MAC Bridge Config Data ME. Since there is no upstream traffic supported by the
1460GEM port there is no requirement to use an 802.1p mapper ME between the MAC bridge port
1461config data ME and the GEM interworking TP ME.
1462
1463Associated with the MAC bridge port config data MEs connected to each GEM port is a VLAN
1464tagging filter ME. This ME is used to provision filtering of downstream broadcast frames so that
1465only the frames destined for the affected UNI are allowed into the bridge. Since there are no
1466upstream frames delivered over the Multicast GEM port, MAC address filtering is not required on
1467the MAC bridge port associated with the Multicast GEM IW TP.
1468
1469
1470
Circuit Software Software Circuit
Cardholder Cardholder
Pack Image Image Pack
ONT-G ANI-G
Multicast
Operations ONT2-G ONT Data
Profile
Priority
Traffic Traffic
Queue A1
Descriptor PQ A1 Descriptor
(Downstream
(Downstream) (upstream)
)
Ext VLAN Multicast VLAN GEM GEM Port
tag oper. Subscriber Tagging Interworkin Network T-CONT
config. data Config info Filter g TP CTP PQ 1
Priority 802.1p
Traffic Traffic
Queue A2 Mapper
Descriptor Descriptor
(Downstream Service
(Downstream) PQ A2 (upstream)
) Profile
MAC MAC GEM GEM Port Priority
PPTP
Bridge Port Bridge Port Interworkin Network Queue 1
Ethernet UNI PQ 2
Config Data Config Data g TP CTP (upstream)
Priority MAC
Traffic Traffic
Queue A3 Bridge
(Downstream Service
Descriptor PQ A3 Descriptor
(Downstream) (upstream)
) Profile
MAC GEM GEM Port
UNI-G Bridge Port Interworkin Network PQ 3 T-CONT
Config Data g TP CTP
Priority 802.1p
Traffic Traffic
Queue A4 Mapper
Descriptor PQ A4 Descriptor
(Downstream Service
(Downstream) (upstream)
) Profile
VLAN VLAN GEM GEM Port Priority
Tagging Tagging Interworkin Network Queue 2
Filter Filter g TP CTP
PQ 4 (upstream)
VLAN Traffic
Tagging Descriptor
Filter (Downstream) PQ Ay
MAC MAC GEM IW TP GEM Port
Bridge Port Bridge Port (incidental Network T-CONT
Config Data Config Data mcast) CTP*1 null
Traffic
Descriptor PQ Ax
(Downstream)
T-CONT
Priority
Queue 4
(upstream)
1472
1473IX.4.1.1.1Provisioning Considerations
1474Both GEM Network CTP MEs are provisioned with the following considerations:
1475
1476 The T-CONT pointer attribute is not meaningful since the GEM ports are unidirectional in
1477 the ANI to UNI direction.
53 - 53 -
1478 The Direction attribute should be set to 2 indicating that the associated GEM port is
1479 unidirectional in the ANI to UNI direction.
1480 The Traffic Management pointer for upstream attribute is not meaningful since the GEM
1481 ports are unidirectional in the ANI to UNI direction.
1482 The Traffic Descriptor profile pointer for upstream attribute is not meaningful since the
1483 GEM ports are unidirectional in the ANI to UNI direction.
1484 The Priority Queue pointer for downstream attribute is used as a “template queue pointer”
1485 for all UNIs affected by this GEM port. Specifically, if this attribute points to Priority
1486 Queue 1 for UNI 1, then it is inferred to reference Priority Queue 1 for all affected UNIs.
1487
1488 The Multicast GEM interworking TP ME is provisioned with the following considerations:
1489
1490 The Interworking option attribute should be set to zero indicating a don’t care,
1491 The Service Profile pointer attribute is set to zero and not used.
1492 The Interworking termination point pointer attribute is set to zero and not used.
1493 The PPTP counter attribute is set to 0xFF and not used.
1494 The GAL profile pointer and GAL loopback configuration attributes are set to zero and not
1495 used.
1496 A single OMCC Set command should be used for each entry in the Multicast Address Table
1497 attribute.
1498
1499 The GEM interworking TP ME that is used for incidental broadcast is provisioned with the
1500 following considerations:
1501
1502 The Interworking option attribute should be set to six to indicate broadcast.
1503 The Service profile pointer attribute should be set to zero.
1504 The Interworking termination point pointer attribute should be set to zero.
1505 The GAL profile pointer attribute should be set to zero.
1506 The GAL loopback configuration attribute should be ignored.
1507
1508IX.4.1.1.2Message Flows
1509
1510 Figure 99 .71 9 .72 shows the message flow that is used to add multicast or incidental broadcast to
1511 the L2-OCM.
54 - 54 -
1512
OLT ONT
1513
1514 Figure 99.719.72 Data Plane Provisioning
1515
1516IX.4.1.2 Multiple UNI OMCI Provisioning Model
1517Figure 99 .73 9 .74 contains the relationship diagram for multicast and incidental broadcast in an
1518ONU with multiple UNIs. The only notable difference between the model depicted in Figure 99 .69
15199 .70 is that the multicast GEM port and the incidental broadcast GEM port are associated with
1520multiple bridges. This takes advantage of the downstream broadcast nature of GPON by sharing a
1521single multicast or broadcast flow across multiple UNIs.
1522
1523The operation of the model is functionally identical to the operation of the model described in
1524IX.4.1.1.
55 - 55 -
1525
Circuit Software Software Circuit
Cardholder Cardholder
Pack Image Image Pack
ONT-G ANI-G
Multicast
Operations ONT2-G ONT Data
Profile
Priority
Traffic Traffic
Queue A1
Descriptor PQ A1 Descriptor
(Downstream
(Downstream) (upstream)
)
Ext VLAN Multicast VLAN GEM GEM Port
tag oper. Subscriber Tagging Interworkin Network T-CONT
config. data Config info Filter g TP CTP PQ 1
Priority 802.1p
Traffic Traffic
Queue A2 Mapper
Descriptor Descriptor
(Downstream Service
(Downstream) PQ A2 (upstream)
) Profile
MAC MAC GEM GEM Port Priority
PPTP
Bridge Port Bridge Port Interworkin Network Queue 1
Ethernet UNI PQ 2
Config Data Config Data g TP CTP (upstream)
Priority MAC
Traffic Traffic
Queue A3 Bridge
(Downstream Service
Descriptor PQ A3 Descriptor
(Downstream) (upstream)
) Profile
MAC GEM GEM Port
UNI-G Bridge Port Interworkin Network PQ 3 T-CONT
Config Data g TP CTP
Priority 802.1p
Traffic Traffic
Queue A4 Mapper
Descriptor PQ A4 Descriptor
(Downstream Service
(Downstream) (upstream)
) Profile
VLAN VLAN GEM GEM Port Priority
Tagging Tagging Interworkin Network Queue 2
Filter Filter g TP CTP
PQ 4 (upstream)
VLAN Traffic
Tagging Descriptor
Filter (Downstream) PQ Ay
MAC MAC GEM IW TP GEM Port
Bridge Port Bridge Port (incidental Network T-CONT
Config Data Config Data mcast) CTP*1 null
Traffic
Descriptor PQ Ax
(Downstream)
1526
1527 Figure 99.739.74 Multi-UNI L2-OCM with Multicast
1528
1529IX.4.2 Control Plane
1530Implementation of traditional multicast services also requires support for the IGMP control plane
1531protocol. The Multicast subscriber config info ME and the Multicast operations profile ME are used
1532to provision this support. As shown in Figure 99 .73 9 .74, these MEs are associated with the MAC
1533Bridge port config data ME on the UNI side of the OMCI model. The following considerations
1534should be used when provisioning these MEs:
1535
1536 Permitting multicast on a subscriber UNI is not predicated on the creation of the Multicast
1537 subscriber config info ME. The default action for a bridge port and associated UNI is to
1538 allow the forwarding of frames in the multicast address range. Blocking of frames in the
56 - 56 -
1539 multicast address range is achieved through the use of the MAC bridge port filter table data
1540 ME or MAC bridge port filter preassign table ME.
1541 The ME Type attribute of the Multicast subscriber config info ME should be set to zero to
1542 indicate an association with a MAC Bridge port config data ME.
1543 The IGMP version attribute of the Multicast operations profile ME should be set to 3 to
1544 indicate that the ONU will be using IGMP v3 as required by TR-156.
1545 A bandwidth based multicast Service Level Agreement (SLA) can be implemented using
1546 the Max multicast bandwidth and Bandwidth enforcement attributes in the Multicast
1547 subscriber config info ME in conjunction with the Imputed group bandwidth field of the
1548 Dynamic access control list table in the Multicast operations profile ME. However, to make
1549 this capability useful, entries in the Dynamic access control list table need to be made based
1550 on a shared bandwidth allocationlimited to a single multicast group per entry so that a
1551 join/no join decision can be made in the ONT.
1574
1575
1576 Figure 1010.7510.76 High Level Architecture
57 - 57 -
1577
1601X.3 Queuing
1602The ONUONT and OLT must be capable, during periods of queue congestion, of dropping (i.e. not
1603putting into the queue) packets marked as drop eligible with higher probability compared to packets
1604not marked as drop eligible. Drop eligibility (drop precedence) can be indicated either by VLAN
1605priority bits (802.1ad PCP encoder) [R-54], or by the DEI bit (802.1ad) [R-55]. These packets may
1606have drop eligibility marked externally (e.g. by the BNG or RG).
1607
1608The OLT must support at least 4 downstream queues per PON [R-58], 1 per traffic class, and at
1609least 4 upstream queues per network facing port [R-66], 1 per traffic class. The OLT should
1610support at least 6 downstream queues per PON [R-62], 1 per traffic class, and at least 6 upstream
1611queues per network facing port [R-68], 1 per traffic class.
1612
1613The ONUONT must support at least 4 downstream queues per user facing port [R-56], 1 per traffic
1614class, and at least 4 upstream queues [R-57], 1 per traffic class. The ONUONT should support at
1615least 6 downstream queues per user facing port [R-60], 1 per traffic class, and at least 6 upstream
1616queues per user facing port [R-61], 1 per traffic class.
1617
1618The OLT must and the ONUONT should support setting the maximum size/depth of all queues [R-
161973].
1620
1621X.4 Scheduling
1622Strict priority scheduling among queues must be supported. In the downstream direction, the OLT
1623must support strict priority scheduling among at least 4 queues for each PON [R-63], and the
58 - 58 -
1624ONUONT must support strict priority scheduling among at least 4 queues for each user facing port
1625[R-63]. In the upstream direction, the OLT must support strict priority scheduling among at least 4
1626queues for each network facing port [R-70].
1627
1628Weighted scheduling among queues should be supported. The OLT and ONUONT should support
1629scheduling of queues according to their assigned priority and weight, with the following conditions:
16301) multiple queues may be assigned to the same priority, 2) queues assigned to the same priority
1631must be scheduled according to a weighted algorithm, and 3) weights must be assigned through
1632provisioning [R-65, 72].
1633
1634The OLT must support the extended traffic descriptor parameters P i and i as specified in G.984.3
1635[R-45], which are used to implement the strict priority and weighted scheduling of T-CONTs. The
1636OLT must support the basic traffic descriptor parameters RF, RA, RM, and AB as specified in
1637G.984.3 [R-44]. These parameters must be configurable [R-44, 45]. The OLT must support T-
1638CONT types 1, 2, 3 and 4 [R-59].
1639
1640In the ONT-G ME, Traffic management option 0 (priority controlled) must be supported.
ONU-1
OLT
U -1
PON-1
Sched-
Assign to uler
Sched- queues
uler according
to GEM
Port
Classifier …
U-n
… (same as
above)
PON-n …
(same as
above) ONU-n
(same as above)
1675
1676
60 - 60 -
1677
1678 Figure 1010.7710.78 Downstream Functionality Example
1679
V S/R R/S
U
OLT ONU-1
PON-1
T-CONT A
T-CONT B
Classifier
T-CONT C
Scheduler
T-CONT D
… Classifier
PON-n
(same as
above)
…
ONU-n
(same as above)
1680
1681
1682
1683 Figure 1010.7910.80 Upstream Functionality Example
1684
1707 1. Strict priority scheduling. The queues are serviced in the specified priority order. This
1708 corresponds to the HOL value of the scheduling Policy attribute.
1709 2. Weighted scheduling. Back-logged (non-empty) queues are serviced in proportion to their
1710 specified weight. This corresponds to the WRR value of the scheduling Policy attribute.
1711
1712In early versions of G.984.4 (prior to 2009), there was a fixed set of Priority Queue-G MEs and
1713Traffic Scheduler-G MEs associated with each T-CONT ME. In 2009, a flexible means of mapping
1714between queues, schedulers, and T-CONTs was added, allowing a pool of queues to be attached to
1715any scheduler and T-CONT in the same slot. The fixed aspect is retained for backwards
1716compatibility, and the flexible aspect is controlled via the “QoS configuration flexibility” attribute
1717in the ONT2-G ME. In the first part of this section, the default practice for using the fixed method
1718is described. In the second part of this section, an alternative using the flexible method is described.
1719
1720The fixed method is considered to be the default method – the ONT must have a factory default
1721configuration of queues/schedulers/T-CONTs that would be usable by an OLT that only supports
1722the fixed method, and the OLT must work with ONTs that only support the fixed method. The
1723flexible method is considered an extension of the fixed method, and may be used when supported
1724by both the ONT (as indicated by the “QoS configuration flexibility” attribute in the ONT2-G ME)
1725and the OLT.
1726
1727X.7.1 Default Practice – Fixed Queue/Scheduler/T-CONT Method
1728
1729In early versions of G.984.4 (prior to 2009), there is a fixed set of Priority Queue-G MEs and
1730Traffic Scheduler-G MEs associated with each T-CONT ME. The pointers between Traffic
1731Scheduler-G MEs and T-CONT MEs are fixed, but the Priority Queue-G MEs can be provisioned to
1732either point to the associated T-CONT ME or one of the associated Traffic Scheduler-G MEs. The
1733scheduling policy of each T-CONT ME and each Traffic Scheduler-G ME is fixed. In this section it
1734is not assumed that all T-CONTs have the same number of Priority Queue-G MEs and Traffic
1735Scheduler-G MEs. The OLT must determine the ONT queue configuration and connect the GEM
1736Port Network CTP MEs accordingly.
1737
1738Not all T-CONTs in an ONT must support these scheduling capabilities. However, in order to be
1739interoperable, any T-CONT that supports the scheduling capabilities of this section must have at
1740least two Priority Queue-G MEs and one of the two following configurations:
1741
1742 1. Traffic Scheduler-G not present. Only a single scheduling discipline is supported as
1743 determined by the T-CONT Policy attribute. The Priority Queue-G MEs are connected
1744 directly to the T-CONT ME.
1745 2. Traffic Scheduler-G present. The Traffic Scheduler-G ME and T-CONT ME must have
1746 “opposite” Policy attributes, meaning that one has HOL policy and the other has WRR.
1747 Both scheduling disciplines are therefore supported. The Priority Queue-G MEs can be
1748 connected to either the Traffic Scheduler-G ME or directly to the T-CONT ME to determine
1749 the scheduling discipline.
1750
1751Further, the read-only parameter values described in the following sections are required in order to
1752be interoperable.
1753
62 - 62 -
1771
1772
1773 Figure 1010.81 Example System of Weighted Scheduling with Three Queues per T-CONT and No
1774 Traffic Scheduler-G, Connected Directly to T-CONT
1775
1776
63 - 63 -
1777
1778
1779 Figure 1010.82 Example System of Weighted Scheduling with Four Queues per T-CONT and
1780 Traffic Scheduler-G, Connected to Traffic Scheduler-G
1781
1782
1783
1784
1785 Figure 1010.83 Example System of Strict Priority Scheduling with Four Queues per T-CONT and
1786 Traffic Scheduler-G, Connected Directly to T-CONT
1787
1788X.7.1.2 Priority Queue-G ME
1789Each Priority Queue-G ME has a fixed priority and a configurable weight. The OLT can configure
1790each Priority Queue-G ME to either point to the associated Traffic Scheduler-G ME or to point
1791directly to the associated T-CONT ME.
1792
64 - 64 -
1793For an upstream queue, the Related Port attribute is read-only and is divided into two parts for
1794upstream traffic: 1) the ME ID of the associated T-CONT, and 2) the priority of the queue. To
1795support strict priority scheduling between multiple queues associated with a T-CONT, each queue
1796must have a different priority.
1797
1798The Weight attribute is R/W, and is used to provide weighted scheduling between the queues
1799associated with a T-CONT.
1800
1801The Traffic scheduler-G pointer attribute is R/W and is provisioned to either point to the associated
1802Traffic Scheduler-G ME (if present) or to the associated T-CONT ME (null pointer value). The
1803value of this attribute as a function of desired scheduling discipline is shown in Table 1010.1.
1804During normal operation, either all Priority-Queues associated with a T-CONT should be mapped to
1805the Traffic Scheduler-G ME (if present) or all should be mapped to the T-CONT ME. During
1806provisioning, there may be a temporary period where some of the Priority-Queues associated with a
1807T-CONT are mapped to the Traffic Scheduler-G ME (if present) and some are mapped to the T-
1808CONT ME, in which case the ONT’s behavior is undefined. The Traffic Scheduler-G pointer
1809attribute value is a “don’t care” for Priority-Queues that are not in use, i.e. that are not connected to
1810a GEM port network CTP ME.
1811
1812
Desired T-CONT Traffic Traffic Priority
Scheduling Policy Scheduler-G Scheduler-G Queue-G
Disicpline Present? Policy “Traffic Scheduler-G
pointer” attribute
Strict HOL Don’t Care Don’t Care T-CONT (null)
Strict WRR Yes HOL Traffic Sheduler-G
Weighted WRR Don’t Care Don’t Care T-CONT (null)
Weighted HOL Yes WRR Traffic Sheduler-G
1813
1814Table 1010.2 Value of Priority Queue-G “Traffic Scheduler-G pointer” attribute to achieve desired
1815scheduling discipline
1816
1817X.7.1.3 Traffic Scheduler-G ME
1818The Traffic Schedulers-G ME has a fixed scheduling policy and fixed pointers and a configurable
1819priority/weight. If the Traffic Scheduler-G is present, the following are the attribute settings.
1820
1821The T-CONT pointer attribute is read-only and always points to the associated T-CONT.
1822
1823The Traffic scheduler pointer attribute is read-only and within the scope of this section is always
1824null, because hierarchical scheduling is out of scope.
1825
1826The Policy attribute is read-only and within the scope of this section is always the “opposite” of the
1827T-CONT ME, i.e. one must be WRR and the other must be HOL.
1828
1829The Priority/Weight attribute is R/W and within the scope of this section its value is a “don’t care”,
1830with a suggested value of zero.
1831
1832X.7.1.4 T-CONT ME
1833The Policy attribute is read-only and is always either WRR or HOL.
65 - 65 -
1834
1835X.7.1.5 OLT Considerations
1836The OLT must learn the priority of each queue and the association between each queue and a T-
1837CONT– the priorities and associations cannot be provisioned. If it wishes to support the policy
1838option opposite to that built into the T-CONT itself, the OLT must determine whether a Traffic
1839Scheduler-G ME is associated with this T-CONT. The OLT must provision the ONT such that the
1840Priority Queue-G / Traffic Scheduler-G (if present) / T-CONT ME group is properly connected (via
1841a GEM interworking TP and GEM port network CTP) to the appropriate 802.1p Mapper Service
1842Profile and MAC Bridge Port Config Data MEs, and that the queues are connected to the scheduler
1843providing the desired policy.
1844
1845X.7.1.5.1 Strict Priority Scheduling
1846If the service requires strict priority scheduling between queues, then the OLT must discover a T-
1847CONT ME that has a sufficient number of associated Priority Queue-G MEs and either supports the
1848HOL scheduling policy itself or has a Traffic Scheduler-G ME that supports such a policy. For this
1849discovered T-CONT ME, each required Priority Queue-G ME is connected, according to its read-
1850only priority attribute, to the GEM Port Network CTP associated with that priority. Each required
1851Priority Queue-G MEs is also connected to the associated T-CONT ME or Traffic Scheduler-G ME
1852with HOL policy as shown in Table 1010.3. Any unused queues are left unconnected.
1853
1854X.7.1.5.2 Weighted Scheduling
1855If the service requires weighted scheduling between queues, then the OLT must discover a T-CONT
1856ME that has a sufficient number of associated Priority Queue-G MEs and either supports the WRR
1857scheduling policy itself or has a Traffic Scheduler-G ME that supports such a policy. For this
1858discovered T-CONT ME, the OLT provisions the weight of each required Priority Queue-G ME.
1859Each required Priority Queue-G ME is connected from the GEM Port Network CTP associated with
1860that weight. Each required Priority Queue-G ME is connected to the associated T-CONT ME or
1861Traffic Scheduler-G ME with WRR policy as shown in Table 1010.4. Any unused queues are left
1862unconnected.
1863
1864X.7.2 Alternative Practice – Flexible Queue/Scheduler/T-CONT Method
1865
1866In this alternate method, the “QoS configuration flexibility” attribute in the ONT2-G ME allows
1867simplification of the provisioning of single-level scheduling. The queues are no longer fixed to a
1868particular T-CONT and set of Traffic Scheduler-G MEs, but rather can be flexibly associated with
1869any T-CONT or Traffic Scheduler-G ME in the same slot. Further, the scheduling policy for the T-
1870CONT and Traffic Scheduler-G MEs is no longer fixed but can be modified during provisioning.
1871
1872X.7.3 Provisioning Considerations
1873The MEs used in this section for traffic scheduling are the ONT2-G, Priority Queue-G ME and the
1874T-CONT ME. The Traffic Scheduler-G ME is not used.
1875
1876Figure 1010 .84 shows an example of a T-CONT with four “flexible” queues, each directly
1877connected to the T-CONT ME. As a function of the “QoS configuration flexibility” attribute in the
1878ONT2-G ME, these queues are assumed to be taken from a pool of queues with flexible pointers,
1879meaning they can point to any Traffic Scheduler-G or T-CONT ME in the same slot. The
66 - 66 -
1880scheduling discipline is selected via from the policy attribute of the T-CONT ME, in this example
1881weighted (Policy=WRR).
1882
1883
1884
1885 Figure 1010.84 Example System of Weighted Scheduling with Four “Flexible” Queues
1886
1887X.7.3.1 ONT2-G ME
1888The “QoS configuration flexibility” attribute of the ONT2-G ME indicates whether the ONT
1889supports flexible Priority Queue-G and Traffic Scheduler-G pointers, and flexible Traffic
1890Scheduler-G and T-CONT scheduling policies. Specifically, 1) if bit 1 is set, the Priority Queue-G
1891ME may point to any T-CONT ME in the same slot, 2) if bit 2 is set, the Priority Queue-G ME may
1892point to any Traffic Scheduler-G ME in the same slot,3) if bit 3 is set, the Traffic Scheduler-G ME
1893can point to any T-CONT in the same slot, 4) if bit 4 is set, the Traffic scheduler-G ME Policy
1894attribute is read-write, and 5) if bit 5 is set, the T-CONT ME Policy attribute is read-write. For the
1895single-level scheduling in the rest of this section, it is assumed that bits 1 and 5 are set, and bits 2, 3
1896and 4 are “don’t care.”
1897
1898X.7.3.2 Priority Queue-G ME
1899Each Priority Queue-G ME has a fixed priority and a configurable weight. The OLT can configure
1900each Priority Queue-G ME to point to any Traffic Scheduler-G ME or any T-CONT ME in the
1901same slot.
1902
1903The Related Port attribute is divided into two parts for upstream traffic: 1) the ME ID of the
1904associated T-CONT, which should be set to the desired T-CONT in a given slot and 2) the priority
67 - 67 -
1905of the queue. To support strict priority scheduling between multiple queues, each queue must have
1906a different priority.
1907
1908The Weight attribute is R/W, and is used to provide weighted scheduling between the queues
1909associated with a T-CONT.
1910
1911The Traffic scheduler-G pointer attribute is R/W and is provisioned to either point to the associated
1912Traffic Scheduler-G ME or to the associated T-CONT ME (null pointer value). The value of this
1913attribute should be set to zero (null), indicating that that this queue is mapped to the T-CONT
1914indicated by the Related Port attribute. During provisioning, there may be a temporary period
1915where some of the Priority-Queues associated with a T-CONT are mapped to a Traffic Scheduler-G
1916ME and some are mapped to the T-CONT ME, in which case the ONT’s behavior is undefined.
1917The Traffic Scheduler-G pointer attribute value is a “don’t care” for Priority-Queues that are not in
1918use, i.e. that are not connected to a GEM port network CTP ME.
1919
1920X.7.3.3 T-CONT ME
1921The Policy attribute is read/write and must be either WRR or HOL according to the required
1922service.
1923
1924X.7.3.4 OLT Considerations
1925The OLT must select the desired Priority Queue-G MEs from the pool, and connect them to the
1926desired T-CONT. It must also set the policy of this T-CONT to conform scheduling policy required
1927by the service. The OLT must provision the ONT such that the Priority Queue-G / T-CONT ME
1928group is properly connected (via a GEM interworking TP and GEM port network CTP) to the
1929appropriate 802.1p Mapper Service Profile and MAC Bridge Port Config Data MEs.
1930
1931X.7.3.4.1 Strict Priority Scheduling
1932If the service requires strict priority scheduling between queues, then the OLT must select a T-
1933CONT ME and set its Policy attribute to HOL. The OLT must also select the required number of
1934Priority Queue-G MEs from the pool, each with a different read-only priority. Each required
1935Priority Queue-G ME is connected, according to its read-only priority attribute, to the GEM Port
1936Network CTP associated with that priority. Each required Priority Queue-G MEs is also connected
1937to the associated T-CONT ME. Any unused queues are left unconnected.
1938
1939X.7.3.4.2 Weighted Scheduling
1940If the service requires weighted scheduling between queues, then the OLT must select a T-CONT
1941ME and set its Policy attribute to WRR. The OLT must also select the required number of Priority
1942Queue-G MEs from the pool, and provisions the weight of each required Priority Queue-G ME.
1943Each required Priority Queue-G ME is connected from the GEM Port Network CTP associated with
1944that weight. Each required Priority Queue-G ME is also connected to the associated T-CONT ME.
1945Any unused queues are left unconnected.
1946
1947Ethernet OAM
1948<This section describes the usage of the 802.1ag data model.>
1949
68 - 68 -
2046 use. If TR-069 or IETF sipping are selected, the OLT is not required to perform any further
2047 actions to provision voice services. If the configuration file retrieval method is selected, the
2048 OLT must set the VoIP Configuration Address Pointer to reference a Network Address ME
2049 that provides a retrieval address for the configuration file. Actions required when a
2050 proprietary provisioning method is selected are not within the scope of this document.
2051
2052 VoIP Voice CTP – The OLT creates the VoIP Voice CTP as the last step in basic voice
2053 services provisioning. The VoIP Voice CTP uses three ME pointer attributes to tie a POTS
2054 port (PPTP POTS UNI) to a signalling protocol (SIP User data ME or MGC Config data
2055 ME) and bearer channel (VoIP Media Profile ME). In addition, the OLT may set the
2056 Signaling Code attribute to select the POTS line type to use for the POTS port.
2057
2058 VoIP Media profile – The OLT creates the VoIP Media profile ME to provision the
2059 parameters used for voice encoding. The Voice Service Profile AAL Pointer and RTP
2060 Profile Pointer attributes must point to those MEs associated with this set of encoding
2061 parameters. If an attribute is set to a value that is not supported by the ONT, it will return a
2062 parameter error in the command response.
2063
2064 RTP Profile data – The OLT creates the RTP profile data ME to provision parameters
2065 defining the RTP streams used to carry encoded voice. Since RTP ports are assigned
2066 dynamically, there is no TCP/UDP Port Config data ME associated with the RTP streams.
2067 The MAC Bridge Port Config Data ME associated with the IP Host Config data referenced
2068 by the signalling stack is used as the L2-L3 interworking point for the RTP streams. Any L2
2069 marking of the RTP frames must be provisioned using the Extend VLAN Tagging Operation
2070 Configuration Data ME associated with this MAC Bridge Port Config Data ME. The DSCP
2071 Mark attribute of the RTP Profile Data ME is used in conjunction with the tagging ME to
2072 arrive at unique tags for the RTP frames. The DTMF Events attribute is only meaningful if
2073 the OOB DTMF attribute of the VoIP Media Profile ME is enabled.
2074
2075 Voice Service Profile – Created by the OLT to define the parameters associated with the
2076 carrying of voice over a packet network.
2077
2078 PPTP POTS UNI – This ME is created by the ONT for each POTS port. The Interworking
2079 TP Pointer attribute is not meaningful in the context of VoIP and may be left as a NULL
2080 pointer.
2081
2095 authentication is performed through the use of the SIP registrar attribute which may or may
2096 not reference the same address as the Proxy Server Address Pointer attribute. The TCP/UDP
2097 Pointer attribute references the TCP/UDP Config data ME that defines the port to be used by
2098 the SIP signalling protocol.
2099
2100 Network Dial Plan Table – The Network Dial Plan Table ME is optionally created by the
2101 OLT if a dial plan other than the default used by the ONT is required. Upon the creation of
2102 this ME, the ONT returns an unknown managed entity indication if the ONT does not
2103 support dial plans beyond the default. There is no standard way for the OLT to discover the
2104 default dial plan of an ONUONT.
2105
2106 VoIP Feature Access Codes – The VoIP Feature Access Code ME is optionally created by
2107 the OLT if feature access codes other than the default used by the ONT are required. Upon
2108 the creation of this ME, the ONT returns an unknown managed entity indication if the ONT
2109 does not support feature access codes beyond the default. There is no standard way for the
2110 OLT to discover the default feature access codes of an ONUONT.
2111
2112 VoIP Application Service Profile - The VoIP Application Service Profile ME is optionally
2113 created by the OLT if the provisioning of VoIP features is required. Upon the creation of
2114 this ME, the ONT returns an unknown managed entity indication if the ONT does not
2115 support VoIP feature provisioning. There is no standard way for the OLT to discover the
2116 default VoIP features of an ONUONT.
2117
OLT ONT
Set cmd(VoIP Config data [VoIP Config Method = OMCI, Signalling Protocol Used =
SIP])
2136
2137
2138 Figure 1111.8512.8612.87 SIP Provisioning Flow
2143
OLT ONT
Set cmd(VoIP Config data [VoIP Config Method = OMCI, Signalling Protocol Used =
H.248])
2144
2145
2146 Figure 1111.8812.8912.90 H.248 Provisioning Flow
2147
74 - 74 -
2196text in this table changes, the ONT issues an AVC to the OLT. The format of the text contained
2197with the table is not defined but should be human readable.
2238snap shot of the collection bin for the current 15 minute interval. For other collection attribute types,
2239a Get current data action returns an undefined value.
2323
Circuit Circuit
Cardholder Software Image Software Image Cardholder
Pack Pack
ONT-G ANI-G
Multicast
Operations ONT2-G ONT Data
Generic Status Profile
Portal
Priority Queue A1 Traffic Descriptor Traffic Descriptor
(Downstream) (Downstream) PQ A1 (upstream)
Multicast
Ext VLAN tag oper. VLAN Tagging GEM Interworking GEM Port
Subscriber Config T-CONT
config. data Filter TP Network CTP
info PQ 1
Priority Queue A2 802.1p Mapper Traffic Descriptor Traffic Descriptor
(Downstream) Service Profile (Downstream) (upstream)
PQ A2
Virtual Ethernet MAC Bridge Port MAC Bridge Port GEM Interworking GEM Port Priority Queue 1
Interface Point Config Data Config Data TP Network CTP (upstream)
PQ 2
Priority Queue A3 MAC Bridge Traffic Descriptor Traffic Descriptor
(Downstream) Service Profile (Downstream) PQ A3 (upstream)
Any PPTP Type VLAN Tagging VLAN Tagging GEM Interworking GEM Port Priority Queue 2
Filter Filter TP Network CTP (upstream)
PQ 4
VLAN Tagging Traffic Descriptor
Filter (Downstream)
PQ Ay
MAC Bridge Port MAC Bridge Port GEM IW TP GEM Port
T-CONT
Config Data Config Data (incidental mcast) Network CTP*1
null
Traffic Descriptor
(Downstream) PQ Ax
Multicast GEM IW GEM Port Priority Queue 3
TP Network CTP*1 (upstream)
null
TCP/UDP Config Traffic Descriptor Traffic Descriptor
Data (Downstream) (upstream)
PQ B1
Ext VLAN tag oper. VLAN Tagging GEM Interworking GEM Port
config. data T-CONT
Filter TP Network CTP
PQ 1
802.1p Mapper Traffic Descriptor Traffic Descriptor
Service Profile (Downstream) (upstream)
PQ B2
MAC Bridge Port MAC Bridge Port GEM Interworking GEM Port Priority Queue 4
IP Host Config Data
Config Data Config Data TP Network CTP (upstream)
PQ 2
MAC Bridge Traffic Descriptor Traffic Descriptor
Service Profile (Downstream) PQ B3 (upstream)
2324
2325 Figure 14.1 Dual-Managed ONT OMCI Model
2326
2327The OMCI model for dual-managed ONT/RG is given in Figure 14.1. There are several important
2328features of this model:
2329
2330 1. Just like a physical Ethernet, multiple traffic classes can flow across the virtual Ethernet
2331 interface, and the traffic classes have associated priority queues. One implication of this is
2332 that extra work may be involved to multiplex / de-multiplex data on both sides of the VEIP.
2333 For example, in the upstream direction, the RG will typically separate (map) traffic by class
2334 for queuing and scheduling, then merge all classes to a single stream to pass through the
2335 VEIP; the ONT will again separate (map) traffic by class to direct to the appropriate
2336 upstream queue.
2337
2338 2. The same number of virtual Ethernet interfaces are used as there would be physical Ethernet
2339 interfaces between the OMCI domain and the non-OMCI domain if the domains existed on
2340 separate devices. For example, there will typically be only one virtual Ethernet interface per
2341 RG.
2342
2343 3. The virtual Ethernet interface represents the termination of the ONT data plane, whereas the
2344 associated IP Host Config data ME (IPHCD) represents the termination of the ONT
2345 management plane. The IPHCD is the container for the IP address, mask, gateway and DNS
2346 information in the OMCI domain, and is used by the OLT to determine the current IP
2347 address, mask, gateway and DNS information in the OMCI domain. For a detailed
2348 discussion of IPHCD provisioning, refer to section XI.2 of this document.
2349
79 - 79 -
2350 4. The IPHCD is conditionally required for the dual-managed ONT, depending on the IP stack
2351 configuration in the integrated device. There are three stack configurations to consider: a)
2352 dual-stack, where each management domain contains a unique IP stack, b) single-stack,
2353 where there is only a single stack that is shared between the two domains and c) a single
2354 stack that is only used by the non-OMCI domain. In the case of a and b, the IPHCD is
2355 required. In the case of c, the IPHCD is optional.
2356
2357 5. The presence of virtual Ethernet interface ME provides an unambiguous way for the ONT to
2358 represent its true nature to the OLT during the OMCI MIB discovery process.
2359
2360 6. One or more VEIP may exist on an ONT, but exactly one Generic Status Portal (GSP) may
2361 be created by the OLT per VEIP. A dedicated UNI-G is not created for the VEIP. One or
2362 more GSP may be associated with a single IP Host Config Data ME.
2363
2364 7. As an option, the ONT may auto-create UNI-Gs and their associated PPTPs that are
2365 assigned to a management domain in one of the following manners:
2366 Dedicated to the OMCI domain.
2367 Dedicated to a non-OMCI domain.
2368 Assignable to a specific domain by the OLT.
2369 The capability of the UNI-G/PPTP is advertised by the ONT in the Management capability
2370 attribute of the UNI-G ME. If a UNI-G/PPTP is assignable to a specific domain, the OLT
2371 can set the UNI-G non-OMCI management identifier to assign the PPTP/UNI-G to a non-
2372 OMCI domain.
2373
2374The dual-managed ONT OMCI data plane model is provisioned in the same way as in section 9.2.1
2375of this document, Single UNI OMCI Provisioning Model.
2376
2377The Generic Status Portal provides a way for the OLT to discover the status and configuration
2378information of a non-OMCI management domain within an ONT. This ME contains two table
2379attributes, Status document table and Configuration document table. The OLT reads these tables to
2380obtain an XML representation of the non-OMCI management domain status and configuration
2381information. Whenever the text in this table changes, the ONT issues an AVC to the OLT. The rate
2382at which AVCs are issued is controlled by the AVC Rate Control attribute.
80 - 80 -
2383
2384
2385
81 - 81 -
2386
2397XV.1 Introduction
2398G-PON contains a number of features related to QoS like policing, shaping, queuing, and
2399scheduling. These features can be applied to a variety of different QoS architectures like Diffserv,
2400Metro Ethernet and TR-101. While, TR-101 is addressed in section X of this document, this
2401appendix gives examples of how to map the G-PON QoS features to the Diffserv or Metro Ethernet
2402services.
2403
841 IETF RFC 2475- An Architecture for Differentiated Services (December 1998)
852 IETF RFC 3246- An Expedited Forwarding PHB (Per-Hop Behavior) (March 2002)
863 IETF RFC 3247- Supplemental Information for the New Definition of the EF PHB (Expedited Forwarding Per-Hop
87Behavior) (March 2002)
884 IETF RFC 2597- Assured Forwarding PHB Group (June 1999)
895 IETF RFC 4115- A Differentiated Service Two-Rate, Three-Color Marker with Efficient Handling of in-Profile
90Traffic (July 2005)
91 - 84 -
2437but where the input the EF priority queue is governed by a token bucket to prevent starvation of the
2438other queues. As with AF, it is important that EF class packets not be reordered.
2439
2440Assuming the domain edge is the ONT, each DiffServ CoS (Class of Service) should be assigned its
2441own T-CONT. In this way, the OLT can schedule grants to provide fair access to the shared G-
2442PON bandwidth. For a given ONT, flows from different users but within the same class CoS
2443should be policed separately and then placed in the same queue. OLTs should assign bandwidth
2444using the extended bandwidth assignment model for DBA (G.984.3). T-CONTs containing flows
2445from the same class but from different ONTs should be assigned the same priority, but should be
2446assigned weights proportional to the cumulative data rate of those flows. EF traffic is set to the
2447highest extended bandwidth priority of the 3 Diffserv classes, with the CIR in the traffic descriptor
2448set to the CIR of the EF traffic, and EIR set to zero; EF class packets at a rate above CIR will be
2449dropped by the ONT. AF traffic is set to a lower extended bandwidth priority than EF traffic, with
2450the CIR and EIR in the traffic descriptor set to the CIR and EIR for each AF class. Best effort
2451traffic is set to a lower extended bandwidth priority than EF and AF traffic. All ONTs should use
2452mode 1 status reporting and traffic management option 2. Figure IIII .91 II .92 shows an example
2453of the distribution of upstream functionality between the ONU and the OLT for a Diffserv
2454architecture.
2455
2456XV.2.1Provisioning Considerations
2457The L2-OCM provisioning model defined in IX.3.1 is used to support Diffserv. In this model, the
2458GEM traffic descriptor ME is used to describe the behaviour of each traffic class in the ONT. The
2459following considerations should be used when provisioning the GEM traffic descriptor:
2460 For EF traffic, the CIR and PIR attributes should be set to the CIR of the EF traffic profile.
2461 For AF traffic, the CIR attribute should be set to the CIR of the AF traffic profile. The PIR
2462 attribute should be set to the sum of the CIR and EIR of the AF traffic profile.
2463 For BE traffic, the CIR attribute should be set to the CIR of the BE traffic. The PIR attribute
2464 should be set to the sum of the CIR and EIR of the BE traffic profile.
2465 The color mode attribute should be set to 1 to indicate a color aware traffic flow.
2466 The Ingress color marking and Egress color marking attributes should be set to a value of 7
2467 to indicate DSCP AF drop precedence marking.
2468
2469
92 - 85 -
2470
2471 Figure IIII.91II.92Block Diagram Example of Diffserv Upstream QoS for G-PON
2472
2494The Metro Ethernet documents do not specify the means by which an Ethernet Virtual Connection
2495(EVC) is designated within a service provider’s network. However, this appendix recommends
2496using the IEEE 802.1ad method of 2-layers of VLAN tags: C-TAGs for customer use and S-TAGs
2497for service provider use.
2498
2499At the UNI, a VLAN S-TAG is added or translated to ingress (from the customer) frames and p-bits
2500set appropriately. The S-TAG is removed or translated from egress (toward the customer) frames.
2501The mapping to S-TAGs should be one per EVC.
2502
2503XV.3.1Provisioning Considerations
2504Each S-TAG p-bit value (Class of Service) should be assigned its own T-CONT. In this way, the
2505OLT can schedule grants to provide fair access to the shared G-PON bandwidth. For a given ONT,
2506flows from different users but within the same class CoS should be policed separately and then
2507placed in the same queue. OLTs should assign bandwidth using the extended bandwidth
2508assignment model for DBA (G.984.3). T-CONTs containing flows from the same class but from
2509different ONTs should be assigned the same priority, but should be assigned weights proportional to
2510the cumulative data rate of those flows.
2511
2512The DEI bit should indicate that “yellow” frames are eligible for discard. Red frames should be
2513dropped in the ONT and never forwarded to the OLT. It is important that frames not be reordered.
2514Therefore, all traffic for a given CoS (both green and yellow) must be kept in a single logical queue.
2515During times of congestion, the ONT will drop “yellow” packets with higher probability than
2516“green” packets. All ONTs should use Mode 1 status reporting and traffic management option 2.
2517
2518The L2-OCM provisioning model defined in IX.3.1 is used to support MEF10.1. In this model, the
2519GEM traffic descriptor ME is used to describe the behaviour of each traffic class in the ONT. The
2520following considerations should be used when provisioning the GEM traffic descriptor:
2521 For each EVC, the CIR and PIR attributes should be set to the appropriate values for that
2522 EVC.
2523 The color mode attribute should be set to 1 to indicate a color aware traffic flow.
2524 The Ingress color marking and Egress color marking attributes should be set to a value of 2
2525 to indicate DEI drop precedence marking.
2526
2527 _________________