From ce967e04f7c330f34e7a8c159026d24c49924173 Mon Sep 17 00:00:00 2001 From: Simone Bortolin Date: Sat, 13 Aug 2022 12:09:21 +0200 Subject: update gpon auth --- gpon-auth.md | 27 +++++++++++++++++++-------- 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/gpon-auth.md b/gpon-auth.md index acf37c9..0ceab3f 100644 --- a/gpon-auth.md +++ b/gpon-auth.md @@ -3,19 +3,20 @@ title: GPON Auth has_children: false nav_order: 4 description: ONU Online Status +parent: Quick Start --- # GPON Status: Ox The process for an ONU to go online unconfigured involves five states: -- **O1 Initial:** the OLT sends a message to the ONU to start the ONU, and the ONU enters the standby state; -- **O2 Standby:** After receiving the message, the ONU extracts the delimiter value, power level, and pre-allocated compensation delay from the message, and adjusts its configurations accordingly to support subsequent information exchange. -- **O3 Serial number:** The OLT sends a serial number (SN) request to the ONU. The ONU sends its SN to the OLT. After receiving the SN of the ONU, the OLT allocates a temporary ONU ID to the ONU. -- **O4 Ranging:** The OLT sends a ranging request to the ONU. After receiving the ranging request from the OLT, the ONU responds with a message carrying its SN and ONU ID. The OLT calculates the compensation delay and sends it to the ONU in a message. After receiving the message, the ONU sets the compensation delay accordingly. -- **O5 Operation:** The OLT sends a password request to the ONU. The ONU returns a password to the OLT. -- **O6 Intermittent LODS state.** -- **O7 Emergency Stop state.** +- **`O1` Initial:** the OLT sends a message to the ONU to start the ONU, and the ONU enters the standby state; +- **`O2` Standby:** After receiving the message, the ONU extracts the delimiter value, power level, and pre-allocated compensation delay from the message, and adjusts its configurations accordingly to support subsequent information exchange. +- **`O3` Serial number:** The OLT sends a serial number (SN) request to the ONU. The ONU sends its SN to the OLT. After receiving the SN of the ONU, the OLT allocates a temporary ONU ID to the ONU. +- **`O4` Ranging:** The OLT sends a ranging request to the ONU. After receiving the ranging request from the OLT, the ONU responds with a message carrying its SN and ONU ID. The OLT calculates the compensation delay and sends it to the ONU in a message. After receiving the message, the ONU sets the compensation delay accordingly. +- **`O5` Operation:** The OLT sends a password request to the ONU. The ONU returns a password to the OLT. +- **`O6` Intermittent LODS state.** +- **`O7` Emergency Stop state.** The password is not configured on the OLT. If the automatic discovery function is enabled on the PON port of the OLT, the OLT reports an ONU auto-discovery alarm to the CLI or NMS. The ONU goes online normally only after being confirmed. @@ -24,7 +25,7 @@ graph TD O1[O1 Initial state] -->|Downstream Synchronization attained| O2[O2-03 Standby-Serial number] O2 -->|Assign ONU-ID Ploam and Equalization delay assigned| O4[O4 Ranging State] O4 -->|Ranging Time PLOAM and Equalization delay assigned| O5[O5 Operation] - O5 & O4 & O2 --->|Loss of downstream syncronizzation| O6[O6 Intermittent LODS state] + O5 & O4 & O2 -->|Loss of downstream syncronizzation| O6[O6 Intermittent LODS state] O2 ---->|Disable S/N Request| O7[O7 Emergency stop state] O2 -->|Broadcast deactivate ONU-ID Request| O1 O4 --->|TO1 time expires| O2 @@ -34,3 +35,13 @@ graph TD O6 -->|Downstream Synchronization restored| O5 O5 & O4 ---->|Deactive ONU-ID Request| O1 ``` + +# Fake O5 Status + +This known issue with Alcatel/Nokia OLT giving fake `O5` ONU Status, OLT will hold OMCI Provisioning until correct OMCI Information + +It happens when the OLT detects that the ONT is `drunk`. And try to update the firmware before opening the GEM link. One must try to change the software version or other data. + +- [The Process for an ONU to go Online](https://forum.huawei.com/enterprise/en/the-process-for-an-onu-to-go-online-gpon-technical-posts-12/thread/462895-100181) +- [What’s the Authentication of GPON](http://zhangjorna.blogspot.com/2016/05/whats-authentication-of-gpon.html) +- [`O5` No Internet](https://github.com/Anime4000/RTL960x/blob/main/Docs/fakeO5.md) \ No newline at end of file -- cgit v1.2.3