Hello, friend.
About querying the ONT status on the OLT, In the GPON mode, run the display ont info command to check the ONT information. Specifically, mainly check Control Flag, Run State, Config State, and Match State.
If Control Flag is active and Run State is up, it indicates that the ONT works in the normal state, that is, the user passes the authentication and goes online.
If Control Flag is active and Run State is down, it indicates that the user is offline.
If Control Flag is deactive, the ONT registration is disabled. In this case, run the ONT activate command in the GPON mode to activate the control flag.
If Config State is normal, it indicates that the ONT configuration recovery is successful.
If Config State is failed, it indicates that the ONT configuration recovery fails. A possible cause of this failure is that the ONT is bound to an incorrect ONT profile. To resolve this problem, run relevant commands to issue a correct ONT profile, or reset the ONT.
If Match State is match, it indicates that the configured capacity set of the ONT is the same as the actual ONT capabilities. If Match State is mismatch, it indicates that the configured capacity set of the ONT is different from the actual ONT capabilities, which will cause registration failure. In this case, add a new ONT service profile.
Thanks.