How to find out the password for Huawei EchoLife HG8245

Configured today GPON ONT Huawei EchoLife HG8245C to OLT and it was necessary to go to its web interface to change the password on Wi-Fi, and the standard root login and password admin did not fit. I had to perform several manipulations.
Of course, to begin with, connect to any of the LAN ports, wait until the DHCP ONT is turned on, it will give out IP, such as 192.168.1.2 or set it manually.
Connect via telnet to ONT IP 192.168.1.1, enter login root and password admin.
Then type the following commands one at a time:

shell
cd /mnt/jffs2/
grep admin  myconfig.xml

As a result, the last command gives information about what is happening in the web interface:

useradmin
vufum

and

telecomadmin
nE7jA%5m

Passwords can also be written on the device label. In the settings you can change the password, in this case the user will be useradmin and the specified password.
For HG8245, the standard administrative login and password telecomadmin \ admintelecom, for users – admin/admin. For Chinese HG8245C standard – telecomadmin \ nE7jA%5m.
There may be further passwords for telecomadmin:

NWTF5x%RaK8mVbD
NWTF5x%

See also: Create profile on Huawei SmartAX MA56XX for Huawei Echolife Hg8245

Etnernet ports are disabled on ONT Huawei EchoLife

I recently noticed a problem that, when ONT, the Huawei EchoLife HG8110, HG8120 and HG8120R watched the Ethernet ports shutdown about 30 seconds after the ONT was turned on.
At the same time, ONT continued to work, the optical connection did not disappear.
On the Huawei EchoLife HG8110 the link did not disappear, but the interface ONT 192.168.100.1 stopped pinging.

The cause was defective power supplies.

Adding ONT Huawei EchoLife HG8120 and HG8120R

On the test I will use ONT Huawei EchoLife HG8120 (works only in Bridge mode as a media converter) and Huawei EchoLife HG8120R (can work as Router & Bridge, with reset settings has no configuration, so it works the same as HG8120 in Bridge mode).
The standard IP for both models is 192.168.100.1, the login is telecomadmin, the password is admintelecom.
I will use VLAN 228 for the Internet.

Continue reading “Adding ONT Huawei EchoLife HG8120 and HG8120R”

Dying gasp Alarm on Huawei OLT

Sometimes on Huawei OLT you can see Dying gasp Alarm (0x2e11a00b).

Since they often occur, most likely they can be seen by running the commands:

display alarm active alarmid 0x2e11a00b
display alarm history alarmid 0x2e11a00b

I will give an example:

ALARM 531377 FAULT MINOR 0x2e11a00b SERVICE QUALITY 2017-12-06 08:19:27+02:00
ALARM NAME : The dying-gasp of GPON ONTi (DGi) is generated
SRVEFF : SA
PARAMETERS : FrameID: 0, SlotID: 5, PortID: 6, ONT ID: 32, Equipment ID:
TL-GP110
DESCRIPTION : The ONT is power off
CAUSE : The power supply of the ONT is abnormal
ADVICE : Check the power supply of the ONT and ensure that the power
supply works in the normal state

These alarms occur when power is lost or the power cord is removed from the ONT, at this moment ONT manages to send the Dying gasp message to the OLT.
Dying gasp is also used on many other devices, for example, to correctly terminate the connection.

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.3.6.1.2.1.2.2.1.2

Actually list with description of OID:
Optical power ONU:

1.3.6.1.4.1.2011.6.128.1.1.2.51.1.4

Board temperature:

hwMusaBoardTemperature 1.3.6.1.4.1.2011.2.6.7.1.1.2.1.10

Slot temperature:

hwSlotTemprature 1.3.6.1.4.1.2011.6.3.3.2.1.13

Loading of processors of boards:

hwMusaBoardCpuRate 1.3.6.1.4.1.2011.2.6.7.1.1.2.1.5

Frame power:

hwMusaFramePower  1.3.6.1.4.1.2011.2.6.7.1.1.1.1.11

Slot table:

hwSlotTable 1.3.6.1.4.1.2011.6.3.3.2

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

hwGponDeviceOltControlStatus 1.3.6.1.4.1.2011.6.128.1.1.2.21.1.10

Vlan status (up/down):

hwVlanInterfaceAdminStatus 1.3.6.1.4.1.2011.5.6.1.2.1.5

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

hwGponDeviceOntEthernetOnlineState 1.3.6.1.4.1.2011.6.128.1.1.2.62.1.22

Optical temperature ONU:

hwGponOntOpticalDdmTemperature 1.3.6.1.4.1.2011.6.128.1.1.2.51.1.1

The number of mac addresses connected to ONU:

hwGponDeviceOntControlMacCount 1.3.6.1.4.1.2011.6.128.1.1.2.46.1.21

Distance to ONU:

hwGponDeviceOntControlRanging 1.3.6.1.4.1.2011.6.128.1.1.2.46.1.20

Uptime OLT:

sysUpTime 1.3.6.1.2.1.1.3

Total number of SNMP packets to OLT:

snmpInPkts 1.3.6.1.2.1.11.1
snmpOutPkts 1.3.6.1.2.1.11.2

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:
SNMP OID and MIB for interfaces

Alarm solution 0x2e112007 “The OLT cannot receive expected optical signals from the ONT in four consecutive frames”

Recently noticed that OLT (MA5683T) disables one ONT and reports an alarm “0x2e112007”.

After watching the alarm history:

display alarm history all
display alarm active all
alarm active clear all
display alarm active all

Observed the following:

ALARM 470141 FAULT WARNING 0x2e112007 SERVICE QUALITY 2017-10-19 09:17:50+02:00
ALARM NAME : The distribute fiber is broken or OLT can not receive
expected optical signals from GPON ONT(LOSi)
SRVEFF : SA
PARAMETERS : FrameID: 0, SlotID: 4, PortID: 3, ONT ID: 38, Equipment ID:
I-010G
DESCRIPTION : The OLT cannot receive expected optical signals from the ONT
in four consecutive frames
CAUSE : (1) The fiber is broken
(2) The quality of the optical path is poor
(3) The ONT hardware fails
ADVICE : (1) Check tributary optical fiber connection and backbone
optical fiber orderly, clean the fiber connector and replace
the fiber if necessary
(2) Ensure that the optical attenuation of the optical path is normal
(3) Reset the ONT or replace the ONT
— END

I tried to activate ONT:

interface gpon 0/4
ont activate 3 38
quit

But OLT still turned it off, at different intervals of 1-10 minutes.

Example of viewing the statistics of the number of alarms:

display alarm statistics

Viewing the alarm configuration:

display alarm configuration 0x2e112007

The ONT model was TP-Link GP110 with a signal of -15 for receiving and 2.1-2.7 for sending.
We tried to replace ONT with Alcatel-Lucent I-010G, the signal became -17, and OLT even more often began to turn it off.
Cleaning the connectors and digesting the dividers also did not help.

The problem was in a sagging piece of cable that hung from a very high altitude, after its replacement, the alarm disappeared, and the send signal became stable 2.46.