Commands for work with ONTs (1)

Today I want to show commands for work with ONTs. This is the first article about commands for work with ONTs. With these commands, you can find, add and see many important and useful information about ONTs, and use it for troubleshooting. I will show you commands and examplers for every command.
1. Command to check whether the ONT is connected to the port
In GPON mode, we can find ONTs on the PON port with the next command:

TEST(config)#interface gpon 0/1
TEST(config-if-gpon-0/1)#display ont autofind 0
{ <cr>||<K> }:
Command:
display ont autofind 0
----------------------------------------------------------------
Number : 1
F/S/P : 0/1/0
Ont SN : XXXXXXXXXA48E20
Passworrd : 0x31323XXXXXXXX
Loid :
Checkcode :
VendorID : MONU
Ont Version : V1.01
Ont SoftwareVersion : V1.0.5
Ont EquipmentID : MONUH116
Ont autofind time : 2020-04-10 06:35+11:00

The main information is a number of ONT, F/S/P, and ONT SN.

2. Commands for confirming or add the found ONT
When we find ONT on the PON port 0/1/0, we can confirm or add the ONT with the next commands:

TEST(config-if-gpon-0/1)#ont confirm 0 ontid 0 sn-auth XXXXXXXXXA48E20 omci ont-lineprofile-id 10 ont-srvprofile-id 10
{ <cr>||<K> }:
Command:
ont confirm 0 ontid 0 sn-auth XXXXXXXXXA48E20 omci ont-lineprofile-id 10 ont-srvprofile-id 10
Number of ONTs that can be added: 1, success: 1
PortID: 0, ONTID: 0
TEST(config-if-gpon-0/1)#ont add 0 sn-auth XXXXXXXXXA48E20 omci ont-lineprofile-id 10 ont-srvprofile-id 10

Command:

ont add 0 sn-auth XXXXXXXXXA48E20 omci ont-lineprofile-id 10 ont-srvprofile-id 10
Number of ONTs that can be added: 1, success: 1
posted: 0, ONTID: 0

3. Command for display ONT version
TEST(config-if-gpon-0/1)#display ont version 0 0
{ <cr>||<K> }:
Command:

display ont version 0 0
--------------------------------------------------------------------------
F/S/P                    : 0/1/0
ONT-ID                   : 0
Vendor-ID                : HWTC
ONT Version              : 4B4.B
Product-ID               : 4b
Equipment-ID             : 247H
Main Software Version    : V3R017C00S120
Standby Software Version : V3R017C00S120
OntProductDescription    : EchoLife HG8247H GPON Terminal (CLASS B+/PRODUC
T ID:XXXXX2579EGFA005514/CHIP:XXXXX020121030)
Support XML Version      : 1.3.0.0
--------------------------------------------------------------------------

4. Command for display optical information about ONT
With the next command, we can see and check optical parameters on the ONT. The main optical parameters are Rx optical power, Tx optical power, OLT Rx ONT optical power and CATV Rx optical power.
TEST(config-if-gpon-0/1)#display ont optical-info 0 0
{ <cr>||<K> }:
Command:

display ont optical-info 0 0
-----------------------------------------------------------------------------
ONU NNI port ID                   : 0
Module type                            : GPON
Module sub-type                     : CLASS B+
Used type                                : CATV TriPlex
Encapsulation Type                 : -
Optical power precision(dBm): -
Vendor name                           : Hisense
Vendor rev                              : HW02
Vendor PN                              : LTY9775M-CHG+
Vendor SN                              : P4458043682
Date Code                              : 15-08-13
Rx optical power(dBm)        : -13.11
Rx power current warning threshold(dBm): [-,-]
Rx power current alarm threshold(dBm)  : [-,-]
Tx optical power(dBm)                  : 2.17
Tx power current warning threshold(dBm): [-,-]
Tx power current alarm threshold(dBm)  : [-,-]
Laser bias current(mA)                 : 16
Tx bias current warning threshold(mA)  : [-,-]
Tx bias current alarm threshold(mA)    : [-,-]
Temperature(C)                         : 59
Temperature warning threshold(C)       : [-,-]
Temperature alarm threshold(C)         : [-45,95]
Voltage(V)                             : 3.240
Supply voltage warning threshold(V)    : [-,-]
Supply voltage alarm threshold(V)      : [2.996,3.596]
OLT Rx ONT optical power(dBm)          : -15.22
CATV Rx optical power(dBm)             : 0.60
CATV Rx power alarm threshold(dBm)     : [-18.0,0.0]
-----------------------------------------------------------------------------