Some time ago I had a case with damaged file system on Huawei S5300 switch. It had been caused by power failure on one site. The switch was not able to decompress VRP software and rebooted itself all the time.
BIOS LOADING ... Copyright (c) 2008-2010 HUAWEI TECH CO., LTD. (Ver107, Jan 18 2011, 22:52:53) Press Ctrl+B to enter BOOTROM menu... 1 Auto-booting... Update Epld file ............................ None Decompressing VRP software .................. BIOS LOADING ... Copyright (c) 2008-2010 HUAWEI TECH CO., LTD. (Ver107, Jan 18 2011, 22:52:53) Press Ctrl+B to enter BOOTROM menu... 1 Auto-booting... Update Epld file ............................ None Decompressing VRP software ..................
When a single switch is upgraded, services are interrupted about 3 minutes. This time increases when a stack is upgraded. Methods of upgrading the system software of S5300 and S6300 are the same. We can focus on Huawei S5300 switch as an example. Let’s assume we have 2 switches in the stack.
<labnario> display stack Stack topology type: Ring Stack system MAC: 80fb-06b1-69eb MAC switch delay time: 10 min Stack reserved vlanid : 100 Slot# role Mac address Priority Device type ------ ---- -------------- ------ ------- 0 Master 80fb-06b1-69eb 100 S5352C-EI 1 Standby 80fb-06ab-f6e3 120 S5352C-EI
At first you have to check a space of flash memory of the switch. If there is no enough space in the flash to fit a new system software, just delete the old (current) system software, for both Master and Member switches:
In this post I will show you how to disable a notification record which appears always after you type a configuration command. This notification causes your frustration when you want to configure anything on this switch and suddenly you see the following record:
[labnario]interface GigabitEthernet 0/0/1 [labnario-GigabitEthernet0/0/1] Jan 1 2008 00:24:47+01:00 labnario DS/4/DATASYNC_CFGCHANGE:OID 220.127.116.11.4.1.2011.5.25.191.3.1 configurations have been changed. The current change number is 24, the change loop count is 0, and the maximum number of records is 4095.
You have such situation on Huawei S2300, S3300 and S5300 switches if you are logged by the console.
How to cope with it?
You have two ways to do this. The first is to disable it temporarily by the following commands:
<labnario>undo terminal monitor
<labnario>undo terminal trapping
What to do if you forgot console password to Huawei S5300 switch?
I received such question last week. One of readers of this blog forgot console password and he wanted to modify startup configuration file from bootrom menu. His operation failed and there was a notification from the system that there is an “invalid package file!” and “auto-booting failed!”.
There was s5300ei-v100r002c02spc100 software installed in this switch so we can focus just on this software.
In S5300 there are two ways to solve this problem:
- Create configuration file on your PC, upload it to S5300 and modify startup file
- Delete configuration file from S5300 to let it to boot with empty configuration
Let’s start with the first way:
- Create configuration file on your PC. You can use default empty configuration downloaded from another switch
- Start FTP server on your PC
- Upload the configuration file to flash of S5300 from bootrom menu:
Any time you want to upgrade huawei’s device you have 2 methods to do this. The first of them is to use CLI (command line interface), the second is to use bootrom menu. Using CLI is the most popular method. You can configure FTP server on the device and use your PC as FTP client or install FTP server on your PC and treat the device as FTP client. Anyway, you can use TFTP or serial (slow connection) instead of FTP. Sometimes it is not possible to get CLI because there is a problem with software file. It is damaged or does not exist. In this case we can use bootrom menu to download a new software and upgrade the device. Let’s take S5300 as an example.
Upgrade of Huawei S5300 switch from CLI
Huawei S5300 as FTP server:
# FTP server enable # local-user labnario password simple labnario local-user labnario privilege level 15 local-user labnario ftp-directory flash: local-user labnario service-type ftp # interface MEth0/0/1 ip address 192.168.0.20 255.255.255.0 #