For example, I will update the firmware of the Huawei MA5608T control board.
How to configure OLT I described in this article:
Configuring Huawei MA5608T
Connect to the device and go into elevated privilege mode (do not type config):
Let’s see the current firmware version and the name of the board (I had H801MCUD):
display version display patch all display board 0 display board 0/2
Place the firmware file in advance on the TFTP server and then upload it to the board memory:
load packetfile tftp 192.168.2.2 MA5600V800R013C00SPC208_MCUD_icon.bin
How to start the TFTP server I described in the articles:
Installing and Configuring a TFTP Server in Ubuntu
Starting a TFTP server in Windows
I note that when updating some firmware the settings may be reset, therefore it is necessary to connect the laptop directly to the meth0 port and copy the configuration to the local TFTP server in advance, after installing the firmware, the IP address on meth0 can remain or specify it again through the console and upload the saved configuration back to board memory.
For example, while copying the file MA5600V800R013C00SPC208_MCUD_icon.bin to OLT with firmware R013, I displayed:
The new packet file will overwrite the old one Rollback function will be disabled Be sure that the system needn't this function Are you sure to load new packet file? (y/n)[n]:y Info: Standby board is abnormal, and command of loading for standby board is impossible Load(backup,duplicate,…) begins, please wait and notice the rate of progress Any operation such as reboot or switchover will cause failure and unpredictable result The loading starts PARAMETERS :FrameID: 0, SlotID: 2, Position: -1, Load type: Packet file, Load Object: Active control board MA5608T#
The process did not appear in the console and ended in about 10 minutes with a message in the console:
The loading is successful PARAMETERS :FrameID: 0, SlotID: 2, Position: -1, Load type: Packet file, Load Object: Active control board
Next, be sure to run the command below and agree to restart the OLT:
active configuration system
The settings were not reset, but when updating via BIOS on the MA5600V800R015C00, they were reset.
If there are two control boards, then one must be removed and one by one update or downgrade the firmware in each of them.
If ONTs are disconnected with a message:
MA5608T(config-if-gpon-0/0)#display ont info 0 1 ----------------------------------------------------------------------------- F/S/P : 0/0/0 ONT-ID : 1 Control flag : active Run state : offline Config state : initial Match state : initial Reason of offline : insufficient license for third-party ONTs
Then try to execute the command below or make a license purchase:
patch delete all
Also for the test, you can activate the trial period using the OID (example bat file for Windows, you need to install net-snmp):
@echo off start snmpwalk -v2c -c private 192.168.2.3 18.104.22.168.4.1.2011.6.114.7.1.1 start snmpset -v2c -c private 192.168.2.3 22.214.171.124.4.1.2011.6.114.7.1.1.0 i 2 start snmpwalk -v2c -c private 192.168.2.3 126.96.36.199.4.1.2011.6.114.7
Or from Linux via http link (example script.php and script.sh):
<?php $output = shell_exec('./script.sh'); echo "<pre>$output</pre>"; ?>
snmpwalk -v2c -c ixnfo.com 192.168.5.5 188.8.131.52.4.1.2011.6.114.7.1.1 snmpset -v2c -c ixnfo.com 192.168.5.5 184.108.40.206.4.1.2011.6.114.7.1.1.0 i 2 snmpwalk -v2c -c ixnfo.com 192.168.5.5 220.127.116.11.4.1.2011.6.114.7 echo "OK"