Firmware Update BDCOM P3310

On the test I will update the firmware in BDCOM P3310C, firmware can be taken here:
http://support.deps.ua/ (need registration)
ftp://ftp.romsat.ua/pub/Lan/BDCOM/
I downloaded version BD_3310C_10.1.0E_43480_en.bin to several BDCOM P3310C, after a couple of years there were no problems (the devices are configured without qinq).
https://drive.google.com/open?id=0B6jR5-c775m9aS1aNU5fRC12RGM
I also tried BD_3310C_10.1.0E_50633_en.bin, but it had problems detecting loops on the ONU and the SNMP differed in the OID, so in order not to redo the templates – rolled back to the previous 43480.

Below I will describe the procedure for updating the firmware.

We connect to the device via telnet or console cable and see the current firmware version by running the command:

show version

In my case it was displayed:

BDCOM(tm) P3310C Software, Version 10.1.0E Build 37276

Let’s switch to the privileged mode and look at the contents of the file system of the device:

enable
dir

Make a copy of the firmware file to the tftp server:

copy flash tftp 192.168.1.2

Source file name? Switch.bin
Destination file name? Switch_backup_37276.bin

Make a copy of the configuration file to the tftp server:

copy startup-config tftp://bdcom_backup.cfg 192.168.1.2

Articles about the TFTP server are listed in my other articles:
Installing and Configuring a TFTP Server in Ubuntu
Starting a TFTP server in Windows

The file for the new firmware with the extension .bin, which you downloaded earlier, will be renamed to Switch.bin and placed on the tftp server.

Let’s delete the active firmware file on the device, if there is not enough space to upload a new one:

delete Switch.bin

Now upload the new firmware to the device:

copy tftp flash 192.168.1.2

Source file name? BD_3310C_10.1.0E_43480_en.bin
Destination file name? Switch.bin

And we will reboot the device in order to run from the new version:

reboot

Done, the firmware upgrade is complete.

The following MAC addresses are reserved for new firmware versions and can not be used:

X2:XX:XX:XX:XX:XX Local Administered
X6:XX:XX:XX:XX:XX Local Administered
XA:XX:XX:XX:XX:XX Local Administered
XE:XX:XX:XX:XX:XX Local Administered

That they could be used we execute a command:

epon local-mac forward

Also, after the firmware update, the syntax of some commands may change.
I updated it remotely via telnet, the configuration remained, some out-of-date commands in the configuration, for example those starting with sntp, automatically changed to ntp.

How to view information about ONU on BDCOM OLT

I’ll give you an example of viewing information about ONT (ONU) on EPON OLT BDCOM P3310C, on other models is essentially the same.

Connect to OLT and go into configuration mode:

enable
config

To view the ONU list, use the commands:

show epon onu-information
show epon active-onu

Example of viewing MAC addresses on a port or ONU:

show mac address-table interface EPON0/1
show mac address-table interface EPON0/1:5

For example, the optical power of all ONUs on the first port can be viewed like this:

show epon optical-transceiver-diagnosis interface EPON 0/1

Also you can see in the saved and active OLT configuration which ONUs are registered:

show configuration
show running-config

See also:
Configuring the BDCOM P3310 EPON

Manual “Basic configuration commands BDCOM P3310B”

Format: PDF
Size: ~ 2 MB
Language: English
Download manual “Basic configuration commands BDCOM P3310B”
https://drive.google.com/open?id=0B6jR5-c775m9UUJZa2JXbjFMRFE

Format: PDF
Size: ~ 1 MB
Language: Russian
Download Quick Setup Guide for BDCOM P3310B
https://drive.google.com/open?id=0B6jR5-c775m9ZkZXOXlrVE1fSzg

See also my article – Configuring BDCOM P3310B-2AC EPON

BDCOM P3310 Reset Configuration

For the test, I perform a reset on the BDCOM P3310C-2AC, and similarly can be reset on other BDCOM P3310 revisions.

We connect the console cable to the device that is turned off, open the terminal, turn on the power, immediately hold down the Ctrl + P keys, hold them and wait for the inscription to appear below, if the keys are pressed late, the device can start to boot normally, in this case we’ll start again.

I had the inscription:

Welcome to BDCOM P3310C EPON OLT

Then I pressed the “Enter” key and displayed:

monitor#

Type the command:

delete startup-config

We agree that we want to erase this file by pressing the “y” key.

Done, the configuration file is erased, it remains to reboot the device by typing:

reboot

And again we agree by pressing “y

See also my article:
Configuring BDCOM P3310B-2AC EPON

Watch the video as I did:

SNMP OIDs for BDCOM P3310B

Today wrote a Zabbix template for the BDCOM P3310B so that it was convenient to monitor it and to explore a few necessary OIDs.
To test an OID from a Linux terminal, for example, use the command:

snmpwalk -v2c -c public 192.168.1.5 OID

Actually, I’ll list OID below and describe it.
CPU usage for 1 second:

SNMPv2-SMI::enterprises.3320.9.109.1.1.1.1.3.1

CPU usage for 60 seconds:

SNMPv2-SMI::enterprises.3320.9.109.1.1.1.1.4.1

CPU usage for 5 minutes:

SNMPv2-SMI::enterprises.3320.9.109.1.1.1.1.5.1

Uptime:

SNMPv2-MIB::sysUpTime.0

Description of network interfaces from the configuration (that is, description of the onu):

IF-MIB::ifAlias

MAC addresses on interfaces (ONU):

SNMPv2-SMI::enterprises.3320.101.10.1.1.3

Signal level ONU Rx/Tx (result divide by 10 or multiply by 0.1 in Zabbix):

.1.3.6.1.4.1.3320.9.183.1.1.5
.1.3.6.1.4.1.3320.101.10.5.1.5

Distance to ONU and RTT (TQ):

.1.3.6.1.4.1.3320.101.11.1.1.7
.1.3.6.1.4.1.3320.101.11.1.1.8

SNMP contact information:

SNMPv2-MIB::sysContact.0

SNMP Location:

SNMPv2-MIB::sysLocation.0

If snmpwalk produces an error, then look at the emu article: Installing MIB in Ubuntu and Solving the Error “SNMP Cannot Find Module …”

See also:
SNMP OID and MIB for interfaces