In this article I will give an example of adding BDCOM-P3310C and BDCOM-P3310B to the ABillS billing system on the Ubuntu Server 16.04 operating system.Continue reading “Adding BDCOM OLT on ABillS”
For example, I will configure DHCP snooping on the BDCOM P3310C EPON OLT.
First, let’s connect to the device and go to the configuration mode:
Continue reading “Configuring DHCP snooping on BDCOM P3310”
On the test I will update the firmware in BDCOM P3310C, firmware can be taken here:
http://support.deps.ua/ (need registration)
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).
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:
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:
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:
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:
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.
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:
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
Configuring the BDCOM P3310 EPON
Suppose you registered ONT or it registered itself on BDCOM OLT as I described in this article – Configuring BDCOM P3310 EPON
Now to remove it from the configuration, connect to OLT and go into the configuration mode:
Size: ~ 2 MB
Download manual “Basic configuration commands BDCOM P3310B”
Size: ~ 1 MB
Download Quick Setup Guide for BDCOM P3310B
See also my article – Configuring BDCOM P3310B-2AC EPON
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:
Type the command:
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:
And again we agree by pressing “y”
See also my article:
Configuring BDCOM P3310B-2AC EPON
Watch the video as I did:
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:
CPU usage for 60 seconds:
CPU usage for 5 minutes:
Description of network interfaces from the configuration (that is, description of the onu):
MAC addresses on interfaces (ONU):
Signal level ONU Rx/Tx (result divide by 10 or multiply by 0.1 in Zabbix):
Distance to ONU and RTT (TQ):
SNMP contact information:
If snmpwalk produces an error, then look at the emu article: Installing MIB in Ubuntu and Solving the Error “SNMP Cannot Find Module …”
SNMP OID and MIB for interfaces