Skip to main content Link Search Menu Expand Document Warning Info Success Info (external link) Copy Copied Following system colour scheme Selected dark colour scheme Selected light colour scheme Telegram GitHub Edit

Hardware Specifications

Vendor/Brand ODI
Model DFP-34G-2C2
Chipset Realtek RTL9601D
Flash 8 MB
System Linux (Luna SDK 1.9)
Optics SC/UPC
IP address
Web Gui ✅ user admin, password admin
SSH ✅ user admin, password admin
Form Factor miniONT SFP
ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 -oCiphers=+3des-cbc -oHostKeyAlgorithms=ssh-rsa admin@
ODI Realtek DFP-34X-C2C
ODI Realtek DFP-34X-C2C

List of firmwares and files

The recommended versions are M114_sfp_ODI_Vlan_220414.tar, M114_sfp_ODI_hybrid_220527.tar or M114_sfp_ODI_hybrid_220916.tar, as these have working VLAN translation.

List of partitions

dev size erasesize name
mtd0 00040000 00001000 “boot”
mtd1 00002000 00001000 “env”
mtd2 00002000 00001000 “env2”
mtd3 0003c000 00001000 “config”
mtd4 0014c000 00001000 “k0”
mtd5 00274000 00001000 “r0”
mtd6 0014c000 00001000 “k1”
mtd7 00274000 00001000 “r1”
mtd8 00001000 00001000 “Partition_008”
mtd9 00001000 00001000 “Partition_009”
mtd10 00001000 00001000 “Partition_010”
mtd11 00001000 00001000 “Partition_011”
mtd12 0014c000 00001000 “linux”
mtd13 00274000 00001000 “rootfs”

This stick supports dual boot.

k0 and r0 respectively contain kernel and firmware of the first image, while k1 and r1 contain kernel and firmware of the second one.


The stick has a TTL 3.3v UART console (configured as 115200 8-N-1) that can be accessed from the top surface: it’s near the SFP header. TX, RX and ground pads need to be connected to a USB2TTL adapter supporting 3V3 logic.

DFP-34X-2C2 TTL Connection
DFP-34X-2C2 TTL Connection
DFP-34X-2C2 TTL Pin
DFP-34X-2C2 TTL Pin

Useful files and binaries

Useful files

  • /var/config/lastgood.xml - Contains the user portion of the configuration

  • /tmp/omcilog - OMCI messages logs (must be enabeled, see below)

Useful binaries

  • flash - Used to manipulate the config files in a somewhat safe manner
  • xmlconfig - Used for low-level manipulation of the XML config files. Called by flash
  • nv - Used to manipulate nvram storage, including persistent config entries via nv setenv/nv getenv
  • omcicli - Used to interact with the running OMCI daemon
  • omci_app - The OMCI daemon
  • diag - Used to run low-level diagnostics commands on the stick

GPON ONU status

Getting the operational status of the ONU

diag gpon get onu-state

Querying a particular OMCI ME

# omcicli mib get MIB_IDX

Getting/Setting Speed LAN Mode

To change the link mode use this command:

# flash get LAN_SDS_MODE
# flash set LAN_SDS_MODE 1
Value cat /proc/kmsg Mode Behavior
1 <4>change mode to 1(Fiber 1G) FIBER 1GbaseX with auto-neg on
2 <4>change mode to 2(SGMII PHY) TP MII 1Gb PHY
3 <4>change mode to 3(SGMII MAC) MII 1Gb MAC
4 <4>change mode to 4(HiSGMII PHY) TP MII 2.5Gb PHY
5 <4>change mode to 5(HiSGMII MAC) MII 2.5Gb MAC
6 <4>change mode to 6(2500BaseX) FIBER 2500baseX with auto-neg on
7 <4>change mode to 7(SGMII Force) TP 1GbaseT with auto-neg off

GPON/OMCI settings

Getting/Setting ONU GPON Serial Number

# flash get GPON_SN
# flash set GPON_SN TMBB0A1B2C3D

Getting/Setting ONU GPON PLOAM password

# flash set GPON_PLOAM_PASSWD 41414141414141414141

Getting/Setting OMCI software version (ME 7)

# nv setenv sw_custom_version0 YOURFIRSTSWVER
# nv setenv sw_custom_version1 YOURSECONDSWVER

Getting/Setting OMCI hardware version (ME 256)

# flash get HW_HWVER

Getting/Setting OMCI vendor ID (ME 256)

# flash get PON_VENDOR_ID  
# flash set PON_VENDOR_ID HWTC

Getting/Setting OMCI equipment ID (ME 257)

# flash get GPON_ONU_MODEL
# flash set GPON_ONU_MODEL DFP-34X-XXX

Getting/Setting OMCI OLT Mode and Fake OMCI

Configure how ONT Stick handle OMCI from OLT:

# flash get OMCI_OLT_MODE
# flash set OMCI_OLT_MODE 2
Value Note OMCI Information
0 Default Mode Stock setting, some values cannot be changed
1 Huawei OLT Mode Huawei MA5671a
3 Customized Mode Custom Software/Hardware Version, OMCC, etc…
21 Owerflow Mode Custom Software/Hardware Version, OMCC, etc… (this is a hack and causes sigsegv of /bin/checkomci)

Some vendors/wholesale providers/ISPs have explicit LAN Port Number provisioning or proprietary OMCI that the stick cannot understand, this will make the stick reply OK to whatever the OLT sends it via OMCI.

0 = Disable, 1 = Enable, Default is 0

# flash get OMCI_FAKE_OK
# flash set OMCI_FAKE_OK 1

Advanced settings

Setting management IP

# flash get LAN_IP_ADDR
# flash set LAN_IP_ADDR

Getting/Setting the L2 Bridge MTU

Getting/Setting the MTU of the L2 bridge

# diag switch get max-pkt-len port all 
Port Speed 
0 1538 
2 2031 
# diag switch set max-pkt-len port all length 2000

Checking the currently active image

# nv getenv sw_active
# nv getenv sw_version0
# nv getenv sw_version1

Booting to a different image

# nv setenv sw_commit 0|1
# reboot

Known Bugs

  • Auto-sensing mode to switch between SGMII/HiSGMII

Miscellaneous Links