In GPON mode, run the following command to configure the ONT registration mode.
huawei(config)#interface gpon 0/5
huawei(config-if-gpon-0/5)#ont add
{ portid<U><0,15> }:0
{ loid-auth<K>|ontid<U><0,127>|password-auth<K>|protect-side<K>|sn-auth<K> }:1
{ loid-auth<K>|password-auth<K>|protect-side<K>|sn-auth<K> }:password-auth
{ hex<K>|password-value<S><Length 1-10> }:hex
{ password-value<S><Length 1-20> }:00000000000000001234
{ always-on<K>|once-on<K>|password-value<S><Length 1-10> }:once-on
{ aging-time<K>|no-aging<K> }:aging-time
{ time-out<U><1,168> }:72
{ omci<K>|re-register-auth-mode<K>|snmp<K> }:re-register-auth-mode
{ sn-password<K>|sn<K> }:sn
{ omci<K>|snmp<K> }:omci
{ <cr>|desc<K>|ont-lineprofile-id<K>|ont-lineprofile-name<K>|ont-srvprofile-id<K>|ont-srvprofile-name<K> }:ont-lineprofile-name
{ profile-name<S><Length 1-32> }:ONT
{ <cr>|desc<K>|ont-srvprofile-id<K>|ont-srvprofile-name<K> }:ont-srvprofile-name
{ profile-name<S><Length 1-32> }:ONT
{ <cr>|desc<K> }:
The command indicates that a user under ONT 1 is added to GPON port 0. The ONT is authenticated by password the first time and the password is 00000000000000001234 in hexadecimal notation. After the ONT goes online, it is registered by SN that is automatically recorded after the first going online. The OMCI protocol is used and the ONT service profile and line profile are used.