OID and MIB for Huawei OLT and ONU

Decoded from the firmware Huawei SmartAX MA5683T several OID.

An example of the MIB and OID check commands from Linux:

snmpwalk -v 2c -c public 192.168.1.10 .1

The following is a list of OIDs and a brief description of them.

ONT Description:

.1.3.6.1.4.1.2011.6.128.1.1.2.43.1.9

Name lineprofile:

.1.3.6.1.4.1.2011.6.128.1.1.2.43.1.7

Name ont-srvprofile:

.1.3.6.1.4.1.2011.6.128.1.1.2.43.1.8

Optical power ONU:

ONT RX Power:

1.3.6.1.4.1.2011.6.128.1.1.2.51.1.4

OLT RX Power:

.1.3.6.1.4.1.2011.6.128.1.1.2.51.1.6

ONT in byte:

.1.3.6.1.4.1.2011.6.128.1.1.4.23.1.4

ONT out byte:

.1.3.6.1.4.1.2011.6.128.1.1.4.23.1.3

ONT Mac/Serial:

.1.3.6.1.4.1.2011.6.128.1.1.2.43.1.3

Board temperature:

1.3.6.1.4.1.2011.2.6.7.1.1.2.1.10 (hwMusaBoardTemperature)

Slot temperature:

1.3.6.1.4.1.2011.6.3.3.2.1.13 (hwSlotTemprature)

Loading of processors of boards:

1.3.6.1.4.1.2011.2.6.7.1.1.2.1.5 (hwMusaBoardCpuRate)

Frame power:

1.3.6.1.4.1.2011.2.6.7.1.1.1.1.11 (hwMusaFramePower)

Slot table:

1.3.6.1.4.1.2011.6.3.3.2 (hwSlotTable)

The status of the link of the GPON ports (Online – 1, Offline – 2):

1.3.6.1.4.1.2011.6.128.1.1.2.21.1.10 (hwGponDeviceOltControlStatus)

Vlan status (up/down):

1.3.6.1.4.1.2011.5.6.1.2.1.5 (hwVlanInterfaceAdminStatus)

ONT Status (Online – 1, Offline – 2):

.1.3.6.1.4.1.2011.6.128.1.1.2.46.1.15
.1.3.6.1.4.1.2011.6.128.1.1.2.62.1.22 (hwGponDeviceOntEthernetOnlineState)

Optical temperature ONT:

1.3.6.1.4.1.2011.6.128.1.1.2.51.1.1 (hwGponOntOpticalDdmTemperature)

The number of mac addresses connected to ONT:

1.3.6.1.4.1.2011.6.128.1.1.2.46.1.21 (hwGponDeviceOntControlMacCount)

Distance to ONT:

1.3.6.1.4.1.2011.6.128.1.1.2.46.1.20 (hwGponDeviceOntControlRanging)

Uptime OLT:

1.3.6.1.2.1.1.3 (sysUpTime)

Total number of SNMP packets to OLT:

1.3.6.1.2.1.11.1 (snmpInPkts)
1.3.6.1.2.1.11.2 (snmpOutPkts)

The reason for the last disconnection of ONU:

1.3.6.1.4.1.2011.6.128.1.1.2.46.1.24
(hwGponDeviceOntControlLastDownCause)

The value (1) indicates that the reason is LOS(Loss of signal),
The value (2) indicates that the reason is LOSi(Loss of signal for ONUi) or LOBi (Loss of burst for ONUi),
The value (3) indicates that the reason is LOFI(Loss of frame of ONUi),
The value (4) indicates that the reason is SFI(Signal fail of ONUi),
The value (5) indicates that the reason is LOAI(Loss of acknowledge with ONUi),
The value (6) indicates that the reason is LOAMI(Loss of PLOAM for ONUi),
The value (7) indicates that the reason is deactive ONT fails,
The value (8) indicates that the reason is deactive ONT success,
The value (9) indicates that the reason is reset ONT,
The value (10) indicates that the reason is re-register ONT,
The value (11) indicates that the reason is pop up fail,
The value (13) indicates that the reason is dying-gasp,
The value (15) indicates that the reason is LOKI(Loss of key synch with ONUi),
The value (18) indicates that the reason is deactived ONT due to the ring,
The value (30) indicates that the reason is shut down ONT optical module,
The value (31) indicates that the reason is reset ONT by ONT command,
The value (32) indicates that the reason is reset ONT by ONT reset button,
The value (33) indicates that the reason is reset ONT by ONT software,
The value (34) indicates that the reason is deactived ONT due to broadcast attack,
The value (35) indicates that the reason is operator check fail,
The value (37) indicates that the reason is a rogue ONT detected by itself,                                 
The value (-1) indicates that the query fails.

A few more OIDs:

hwMaxMacLearn 1.3.6.1.4.1.2011.5.14.1.4.1.6
hwMacExpire 1.3.6.1.4.1.2011.5.14.1.3
hwOpticsMDWaveLength 1.3.6.1.4.1.2011.5.14.6.1.1.15
hwOpticsMDVendorName 1.3.6.1.4.1.2011.5.14.6.1.1.11
hwRingCheckAdminStatus 1.3.6.1.4.1.2011.5.21.1.7
hwVlanInterfaceID 1.3.6.1.4.1.2011.5.6.1.2.1.1
hwVlanInterfaceTable 1.3.6.1.4.1.2011.5.6.1.2
hwVlanName 1.3.6.1.4.1.2011.5.6.1.1.1.2
icmpInEchos 1.3.6.1.2.1.5.8
ipAddrEntry 1.3.6.1.2.1.4.20.1

See also my article:
SNMP OID and MIB for interfaces

Join the Conversation

5 Comments

Leave a Reply

  1. Hi, it is posible for example only show the rx of one specific ont id? the following command shows the rx power of all the ont registered on the OLT:

    snmpwalk -v2c -c public 172.16.0.2 1.3.6.1.4.1.2011.6.128.1.1.2.51.1.4

  2. !st of Thanks for sharing this info. Can you help me how to get Gpon ONT ID and GPON Port hot from SNMP return value.

  3. Good job, Do you know how add one new ont and new port service using smmp commands? Thanks!

    1. We also need this info we get most of the things, but failed to Get GPON port details on which ONT there.