Using third-party SFP modules in Cisco switches

Suppose we connected a third-party module to the first SFP port, we’ll look at the information about it:

show idprom int GigabitEthernet 1/1

In my case, on the Cisco Catalyst 6509-E, very many ports with third-party SFP modules after some time they turned off and in the logs information was written that the module was not supported.

Now go into the configuration mode:

enable
config t

And we will make sure that the interfaces are not disabled when third-party SFP modules are enabled by entering the following commands:

service unsupported-transceiver
no errdisable detect cause sfp-config-mismatch
no errdisable detect cause gbic-invalid

After that, everything worked well.

See also:
Configure Cisco Catalyst 6509-E

Configuring TP-Link EP110

On the test I will connect TP-Link EP110 ONT to BDCOM P3310B-2AC EPON OLT.

To configure the TP-Link EP110, you must connect it to the computer with a cable and type in the address bar of the browser http://192.168.1.1, then disable the DHCP server from the menu by unchecking DHCP.

It is also necessary to select the ONT mode as shown in the figure below:
tp-link-ep110

After that, TP-Link EP110 will work and register similarly to other ONTs, such as BDCOM P1501C1, FOXGATE 1001w, etc.

See also:
Configuring the BDCOM P3310 EPON

Manuals for Huawei SmartAX MA5xxx

SmartAX MA5621 Configuration Guide (V800R309C00_02)
https://files.ixnfo.com/Manuals/Huawei/SmartAX_MA5621_Configuration_Guide(V800R309C00_02).pdf
File size: 2.2Mb
Pages: 202

SmartAX MA5600 0031162100 Руководство по эксплуатации – Основные операции
https://files.ixnfo.com/Manuals/Huawei/SmartAX-MA5600_0031162100-Operation_Manual.pdf
File size: 10.9MB
Pages: 442

SmartAX MA5621 Smart Grid GPON Solution Configuration Guide 01
https://files.ixnfo.com/Manuals/Huawei/SmartAX_MA5621_Smart_Grid_GPON_Solution_Configuration_Guide_01.pdf
File size: 0.7Mb
Pages: 52

SmartAX MA5300 31161292 Operation Manual
https://files.ixnfo.com/Manuals/Huawei/SmartAX_MA5300_31161292-Operation_Manual.pdf
File size: 4.2Mb
Pages: 501

See also:
Huawei MA5600T & MA5603T Configuration Guide

Description of SMART attributes

In this article I’ll look at the SMART information of the first SSD drive that comes under the arm and describe what the attributes mean.

Suppose we looked at the information on the disk /dev/sda:

sudo smartctl -a /dev/sda

I have the following information:

ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000b   100   100   050    Pre-fail  Always       -       0
  2 Throughput_Performance  0x0005   100   100   050    Pre-fail  Offline      -       0
  3 Spin_Up_Time            0x0007   100   100   050    Pre-fail  Always       -       0
  5 Reallocated_Sector_Ct   0x0013   100   100   050    Pre-fail  Always       -       0
  7 Unknown_SSD_Attribute   0x000b   100   100   050    Pre-fail  Always       -       0
  8 Unknown_SSD_Attribute   0x0005   100   100   050    Pre-fail  Offline      -       0
  9 Power_On_Hours          0x0012   100   100   000    Old_age   Always       -       2850
 12 Power_Cycle_Count       0x0012   100   100   000    Old_age   Always       -       10
168 Unknown_Attribute       0x0012   100   100   000    Old_age   Always       -       0
170 Unknown_Attribute       0x0003   100   100   010    Pre-fail  Always       -       531
173 Unknown_Attribute       0x0012   100   100   000    Old_age   Always       -       12255496
175 Program_Fail_Count_Chip 0x0013   100   100   050    Pre-fail  Always       -       0
187 Reported_Uncorrect      0x0012   100   100   000    Old_age   Always       -       0
192 Power-Off_Retract_Count 0x0012   100   100   000    Old_age   Always       -       5
194 Temperature_Celsius     0x0023   071   067   030    Pre-fail  Always       -       29 (Min/Max 23/33)
196 Reallocated_Event_Count 0x0002   100   100   010    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   100   100   000    Old_age   Always       -       0
199 UDMA_CRC_Error_Count    0x000b   100   100   050    Pre-fail  Always       -       0
218 Unknown_Attribute       0x000b   100   100   050    Pre-fail  Always       -       0
231 Temperature_Celsius     0x0013   100   100   000    Pre-fail  Always       -       94
233 Media_Wearout_Indicator 0x000b   100   100   000    Pre-fail  Always       -       50171
240 Unknown_SSD_Attribute   0x0013   100   100   000    Pre-fail  Always       -       0
241 Total_LBAs_Written      0x0012   100   100   000    Old_age   Always       -       12213
242 Total_LBAs_Read         0x0012   100   100   000    Old_age   Always       -       321
244 Unknown_Attribute       0x0002   100   100   000    Old_age   Always       -       187
245 Unknown_Attribute       0x0002   100   100   000    Old_age   Always       -       264
246 Unknown_Attribute       0x0012   100   100   000    Old_age   Always       -       12905344

Raw_Read_Error_Rate – means the number of read errors.
Throughput_Performance – overall disk performance.
Spin_Up_Time – time to drive up to the operating speed.
Reallocated_Sector_Ct – number of redistributed (damaged) sectors.
Power_On_Hours – the number of hours that the disk was working.
Power_Cycle_Count – number of disk on/off.
Program_Fail_Count_Chip – number of write errors in flash memory.
Reported_Uncorrect – hardware ECC errors that can not be fixed.
Power-Off_Retract_Count – number of emergency shutdowns.
Temperature_Celsius – the temperature of the disc in degrees Celsius.
Media_Wearout_Indicator – the health indicator of the disc, if it is below 10, then the disc should definitely be replaced.
Total_LBAs_Written – LBA records.
Total_LBAs_Read – LBA reads.

There may also be other attributes:
Start_Stop_Count – number of starts/stops of the spindle.
Seek_Error_Rate – number of positioning errors.
Spin_Retry_Count – number of retry attempts.
Reallocated_Event_Count – number of sector redistribution operations.
Offline_Uncorrectable – number of faulty sectors.
Flying height – height between the head and the surface of the disc.
Disk Shift – the distance of the disc block displacement from the spindle, can change for example after the falls.
G-Sense Error Rate – errors due to external loads/drops.
etc.

See also:
Linux disk test for errors and broken sectors

Addition of ONT Huawei EchoLife HG8110 on Huawei SmartAX MA5683T

On the test, I wrote the profiles and added ONT Huawei EchoLife HG8110 to Huawei SmartAX MA5683T.

The first step is to connect to the Huawei SmartAX MA5683T and go into configuration mode:

enable
config

Create ont-srvprofile:

ont-srvprofile gpon profile-id 14 profile-name "Huawei HG8110"
ont-port pots 1 eth 1
port vlan eth 1 translation 228 user-vlan 228
commit

Create ont-lineprofile:

ont-lineprofile gpon profile-id 14 profile-name "Huawei HG8110"
tcont 4 dba-profile-id 11
gem add 1 eth tcont 4
gem mapping 1 0 vlan 228
commit

We learn the serial number of ONT and the number of the card to which it is connected by typing the command to search for new ONTs:

display ont autofind all

Let’s go into the setup mode of the desired Gpon card (in the port of which the ONT is connected):

interface gpon 0/5

Now add ONT with the serial number:

ont add 3 17 sn-auth "414C434CF23D5EAF" omci ont-lineprofile-id 14 ont-srvprofile-id 14 desc OPISANIE
ont port native-vlan 3 17 eth 1 vlan 228 priority 0

Where number 3 indicates the Gpon port number to which the ONT is connected.

The number 17 means ID ONT and is listed next in order after added in the ONT configuration, the list of occupied IDs can be seen after exiting the Gpon card setup mode and typing the command displaying the entire configuration (for each gpon port, their IDs ONT):

display current-configuration
display current-configuration | include service-port

Let’s exit the Gpon interface configuration mode:

quit

Add a service port that will give the Internet to ONT (the number 425 denotes the port service number and is taken from the free in the configuration):

service-port 425 vlan 228 gpon 0/5/3 ont 17 gemport 1 multi-service user-vlan 228

Save the configuration:

save

The standard IP address of Huawei EchoLife HG8110 is 192.168.100.1, the login is telecomadmin, the password is admintelecom.
In ONT, you do not need to configure anything.

See also:
Configuring Huawei SmartAX MA5683T through the console

Solution of error CMOS Battery Low

Different BIOS can give an error in different ways, here are a few options:
CMOS Battery Low
CMOS battery failed
State Battery CMOS Low
CMOS Battery Has Failed
System battery is dead
CMOS Battery State Low

An error is displayed when the computer is turned on and indicates that the battery needed to store BIOS settings is empty.

The solution is to replace the battery. It is also possible to clean the contacts. To do this, you need to remove the battery from the motherboard, check if there are dust on the contacts, if there is a tester, then measure its voltage, it should usually be no lower than 3 volts.

Setting up and using Traffic Flow in Mikrotik

Enable Traffic Flow on the Mikrotik router:

ip traffic-flow set enabled=yes cache-entries=4k set active-flow-timeout=30m inactive-flow-timeout=15s interfaces=all

View settings:

ip traffic-flow print

Specify the IP address and port of the computer that will receive the Traffic-Flow packets:

ip traffic-flow target add address=192.168.88.240:1234 disabled=no version=9 v9-template-refresh=20 v9-template-timeout=30m

or

ip traffic-flow target add address=192.168.88.240:1234 disabled=no version=5

View settings:

ip traffic-flow target print

To configure through the GUI, the settings can be found in the menu IP -> Traffic Flow.

For monitoring under Windows, you can install the program ManageEngine NetFlow Analyzer, which will work as a server, receive packets from the specified port and generate graphs and statistics via a web server that can be opened by the browser.

For monitoring under Linux, you can install and configure for example flow-tools.

How to find out the password for Huawei EchoLife HG8245

Configured today GPON ONT Huawei EchoLife HG8245C to OLT and it was necessary to go to its web interface to change the password on Wi-Fi, and the standard root login and password admin did not fit. I had to perform several manipulations.
Of course, to begin with, connect to any of the LAN ports, wait until the DHCP ONT is turned on, it will give out IP, such as 192.168.1.2 or set it manually.
Connect via telnet to ONT IP 192.168.1.1, enter login root and password admin.
Then type the following commands one at a time:

shell
cd /mnt/jffs2/
grep admin  myconfig.xml

As a result, the last command gives information about what is happening in the web interface:

useradmin
vufum

and

telecomadmin
nE7jA%5m

Passwords can also be written on the device label. In the settings you can change the password, in this case the user will be useradmin and the specified password.
For HG8245, the standard administrative login and password telecomadmin \ admintelecom, for users – admin/admin. For Chinese HG8245C standard – telecomadmin \ nE7jA%5m.
There may be further passwords for telecomadmin:

NWTF5x%RaK8mVbD
NWTF5x%

See also: Create profile on Huawei SmartAX MA56XX for Huawei Echolife Hg8245