Skip to content

Note

The following wiki is only compatible with version 5 or later!

Flashing the firmware ​

Flash the firmware image to image0 or image1 via SSH or via TTL serial as usual.

After flashing, it is absolutely necessary to connect to the SFP via telnet using the IP 192.168.1.10:

sh
telnet 192.168.1.10

Once connected via telnet to the SFP, execute the following commands. Then wait a few minutes until the end of the automatic procedure:

sh
firstboot
reboot

Performing the procedure described above is necessary after each flash of this firmware, otherwise the SFP will not work!

Login info ​

Usernameroot
Passwordroot
IP address192.168.1.10
TelnetAlways available
TTL SerialAlways available
SSHOnly after the first configuration (firstboot)
WebNO

GPON ONU status ​

Getting the operational status of the ONU ​

sh
onu ploam_state_get

Getting optical laser status ​

sh
otop -g s

Getting information of the OLT vendor ​

sh
omci_pipe.sh meg 131 0

Querying a particular OMCI ME ​

sh
omci_pipe.sh meg MIB_IDX ME_IN

Where MIB_IDX is the MIB ID and ME_IN is the ME instance number.

Getting VLAN table rule ​

sh
gtop -g "GPE VLAN rule"

Getting GEM port status table ​

sh
gtop -g e

Getting/Setting Speed LAN Mode ​

To get the LAN Mode:

sh
onu lan_port_status_get 0

The link_status variable tells the current speed:

Value (for sgmii_mode and link_status)Speed
31 Gbps / SGMII with auto-neg on
41 Gbps / SGMII with auto-neg off
52.5 Gbps / HSGMII with auto-neg on

To change the default lan mode value you can use fw_setenv sgmii_mode. The firmware is already set to 2.5G auto-negotiation, you shouldn't touch it.

GPON/OMCI settings ​

Setting ONU GPON Serial Number ​

sh
fw_setenv onu_serial "YOUR_SERIAL_ASCII"

Setting ONU GPON PLOAM password ​

sh
fw_setenv onu_ploam "YOUR_PLOAM_ASCII"

Note

If your ploam is in HEX convert it to ASCII, any non-printable characters write them in HEX with a slash in front, such as \0x7F. If the PLOAM is less than 10 bytes (one printable character counts as one byte, \0x7F also counts as one byte) add \0x00 to the end to get to 10 bytes.

Setting ONU GPON LOID ​

sh
fw_setenv onu_loid "YOUR_LOID"

Setting ONU GPON LOID password ​

sh
fw_setenv onu_loid_password "YOUR_LOID_PASSWORD"

Setting OMCI vendor ID (ME 256) ​

sh
fw_setenv omci_vendor_id "YOUR_VENDOR_ID"

Setting OMCI equipment ID (ME 257) ​

sh
fw_setenv omci_equip_id "YOUR_EQUIP_ID"

Setting OMCI hardware version (ME 256) ​

sh
fw_setenv omci_hw_ver "YOUR_HW_VER"

Setting OMCI software version (ME 7) ​

sh
fw_setenv image0_version "YOUR_SW_VERSION_0"
fw_setenv image1_version "YOUR_SW_VERSION_1"

Advanced settings ​

Note

Changing these is normally not necessary and not changing them is a good idea

Setting custom OMCI MIB file ​

Copy the MIB file to /etc/mibs, then run this command:

sh
fw_setenv mib_file_custom "YOUR_MIB_FILENAME"

Setting management IP ​

sh
fw_setenv ipaddr www.xxx.yyy.zzz

Restore SFP to default config ​

sh
firstboot
reboot

SFP EEPROM settings ​

Note

Changing these is normally not necessary and not changing them is a good idea

Setting SFP vendor name ​

sh
fw_setenv sfp_vendor_name "YOUR_SFP_VENDOR_NAME"

Setting SFP part name ​

sh
fw_setenv sfp_part_name "YOUR_SFP_PART_NAME"

Setting SFP vendor revision ​

sh
fw_setenv sfp_vendor_rev "YOUR_SFP_VENDOR_REV"

Setting SFP part serial ​

sh
fw_setenv sfp_part_serial "YOUR_SFP_PART_SERIAL"

Setting SFP manufacturing date code ​

sh
fw_setenv sfp_date_code "YOUR_SFP_DATE_CODE"

Setting SFP vendor data ​

sh
fw_setenv sfp_vendor_data "YOUR_SFP_VENDOR_DATA"

List of firmwares and files ​

Copyright © 2022-2026. The documentation hereby found is distributed under the terms of the MIT License. Any external reference, link or software retains its original license and is not under the control of this website. Privacy Policy.