On the test, I will update the BDCOM P3310B OLT firmware and describe the process in this article.
If you have a BDCOM P3310С or P3310D, then see my other article:
Firmware Update BDCOM P3310
BDCOM P3310D Firmware Update
Let’s start updating the P3310B, I connected remotely via telnet and looked at the current firmware version:
show version
enable
Be sure to make a backup copy of the olt.blob file, the startup-config configuration and the Switch.bin firmware file to the TFTP server:
copy flash tftp 192.168.5.5
For articles about the TFTP server, see my other articles:
Installing and Configuring a TFTP Server in Ubuntu
Starting a TFTP server in Windows
If you are updating the firmware on an unconfigured OLT, you can assign an IP address to it:
interface vlan1
ip address 192.168.5.3 255.255.255.0
Then I looked at how much free memory is available:
dir
It showed me “free space 1359872”, that is, a little more than 1 megabyte, and the firmware file takes more than 5 megabytes, so you will have to delete the current firmware file and you need to be careful to have time to write a new one and not turn off the power supply or the OLT must be connected to UPS, delete Switch.bin:
delete Switch.bin
Copy a new firmware file from the TFTP server and call it Switch.bin as well:
copy tftp flash 192.168.5.5
Source file name? BD_3314_10.1.0B_63244_05052_2019.bin
Destination file name? Switch.bin
Firmware files for BDCOM P3310B that I used:
https://files.ixnfo.com/Firmware/BDCOM/P3310B/P3310B_en_29333.bin
https://files.ixnfo.com/Firmware/BDCOM/P3310B/BD_3314_10.1.0B_63244_05052_2019.bin
Version 63244 is the latest, that is, there is no newer, since the P3310B model is no longer supported by the manufacturer.
Reboot OLT:
reboot
This completes the firmware update process, I updated via telnet from version 29333 to 63244. Version 29333 was stable and worked for several years, but after some new third-party xPON ONUs stopped working until they were rebooted, I decided to update the OLT firmware, also on new firmware (only for BDCOM P3310B), in order for third-party ONUs to work, you need to specify the command:
epon dba hardware cycletime 25000 discovery-frequence 40 discovery-length 2048
Also, after updating on the new firmware, for some reason, DHCP Renew stopped going through, so I disabled “ip dhcp-relay snooping”, as well as some other filters, in fact they were not needed on this OLT, since it was in a separate VLAN and traffic between ONUs and ports was isolated, since the “switchport protected” command was used on EPON and GE ports (except for uplink, of course):
no ip dhcp-relay snooping vlan 301
no ip dhcp-relay snooping
interface EPON 0/1
no filter bpdu
no filter dhcp
exit
...
See also my articles:
BDCOM OLT Recovery
How to configure BDCOM P3310
Third party ONU support
Other articles about BDCOM