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):
1 | enable |
Let’s see the current firmware version and the name of the board (I had H801MCUD):
1 2 3 4 | 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:
1 | load packetfile tftp 192.168.2.2 MA5600V800R013C00SPC208_MCUD_icon.bin |
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:
1 2 3 4 5 6 7 8 9 10 | 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:
1 2 | 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:
1 | 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:
1 2 3 4 5 6 7 8 9 | 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:
1 | 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):
1 2 3 4 | @echo off start snmpwalk -v2c -c private 192.168.2.3 1.3.6.1.4.1.2011.6.114.7.1.1 start snmpset -v2c -c private 192.168.2.3 1.3.6.1.4.1.2011.6.114.7.1.1.0 i 2 start snmpwalk -v2c -c private 192.168.2.3 1.3.6.1.4.1.2011.6.114.7 |
Or from Linux via http link (example script.php and script.sh):
1 2 3 4 | <?php $output = shell_exec('./script.sh'); echo "<pre>$output</pre>"; ?> |
1 2 3 4 | snmpwalk -v2c -c ixnfo.com 192.168.5.5 1.3.6.1.4.1.2011.6.114.7.1.1 snmpset -v2c -c ixnfo.com 192.168.5.5 1.3.6.1.4.1.2011.6.114.7.1.1.0 i 2 snmpwalk -v2c -c ixnfo.com 192.168.5.5 1.3.6.1.4.1.2011.6.114.7 echo "OK" |