Hello, friend!
Ensure that two ONTs are connected to the same OLT and go online.
Run the telnet(ont) command on the OLT to log in to the ONT. After this command is executed successfully, you can remotely log in to the ONT through the network to configure and query the ONT information.
Format
telnet ont frame/slot/port ontid [ ont-vlan | ont-ip ] *
As in your question description.
huawei(diagnose)#telnet ont 0 / frame/port [ ont-vlan | ont-ip ]
huawei(diagnose)#telnet ont 1 / frame/port [ ont-vlan | ont-ip ]
Thanks!