First of all, configure ONT. We will connect to it through any of the LAN ports, in the browser we will type the address 192.168.1.1 and enter the login and password.
The standard login is admin, the password is admin.
With elevated privileges, login is mgts, password is mtsoao.
The most basic thing is to create a WAN connection with the necessary parameters, in which we indicate the VLAN number, I will use 228.
Now connect to the OLT and create a profile:
ont-srvprofile gpon profile-id 11 profile-name ztef660
ont-port pots 2 eth 4
port vlan eth 1-4 228
port vlan iphost translation 228 user-vlan 228
commit
quit
The profile and settings are almost identical with the Huawei Echolife Hg8245, as described in this article – Creating a profile on Huawei SmartAX MA56XX for Huawei Echolife Hg8245
Perform an ONT search on the ports (it should be included in the line):
enable
config
display ont autofind all
interface gpon 0/5
display ont autofind 0
display ont autofind 1
display ont autofind 2
...
When the ONT is detected, various kinds of information will be displayed, from where we will copy the serial number (via telnet you can copy using the Ctrl+Ins keys) and execute the add ONT command:
interface gpon 0/5
ont add 7 70 sn-auth "5A544547C0B24FD1" omci ont-lineprofile-id 10 ont-srvprofile-id 11 desc "ixnfo.com"
quit
Add a service profile and save the configuration:
service-port 170 vlan 228 gpon 0/5/7 ont 70 gemport 1 multi-service user-vlan 228
save
Done. It remains to register the ONT MAC address in billing so that it receives the IP address via DHCP. The MAC address can be viewed in the ONT web interface in the “Status” – “WAN” tab.
UPD: As practice has shown, it is better not to specify the VLAN number in ONUs that can operate in router mode, so that later you do not have to reconfigure when the ONU is moved to another OLT or reset to factory settings.
In the ONU settings, we simply do not check the “Enable VLAN” checkbox; if there is no such option and the VLAN needs to be specified, then we will indicate 1.
Then, when adding each ONU, the “ont port native-vlan” command is specified, which will indicate that the traffic should go without a VLAN tag:
interface gpon 0/5
ont add 7 70 sn-auth "5A544547C0B24FD1" omci ont-lineprofile-id 10 ont-srvprofile-id 11 desc "ixnfo.com"
ont port native-vlan 7 70 iphost vlan 228 priority 0
quit
service-port 170 vlan 228 gpon 0/5/7 ont 70 gemport 1 multi-service user-vlan 228
See also the video how I set up the ONT ZTE F660: