This post is not related to Juniper stuff, but nice to know if you work with Huawei switches…
I’ve worked with the S2300 series last year and learned a lot about the „Huawei Versatile Routing Platform Software“ or VRP. From my point of view the cli felt not very comfortable. For example: most of the time where I used the tab-completion it fails, because the cli suggested the complete(!) first command instead of only suggest the next characters to the next closest matching word – like Juniper or Cisco cli does 😉 If you are fast in typing this could be very frustating. However the cli could be very smart, because it doesn’t let you remove a option or command, which is currently in use by another command. This prevent you of wrong configurations.
I also did some software updates on these decives and I would share the procedure with you.:
1) remove old patches
patch delete all
2) take a look at your flash disk and remove old *.cc files
delete /unreserved <name of old .cc file>
3) get your new .cc file, for e.g. via FTP
get <name of new .cc file>
4) apply new software image for next startup
startup system-software <name of new .cc file>
5) verify correct startup settings
6) fire and forget 😉
… and hopefully your switch will now come up with the new software image.
Here is Howto about the recovering procedure of a lost root password in JunOS. You need to reboot!
Power off the router by pressing the power button on the front panel.
Turn off the power to the management device, such as a PC or laptop computer, that you want to use to access the CLI.
Plug one end of the Ethernet rollover cable supplied with the router into the RJ-45–to–DB-9 serial port adapter supplied with the router.
Plug the RJ-45–to–DB-9 serial port adapter into the serial port on the management device.
Connect the other end of the Ethernet rollover cable to the console port on the router.
Turn on the power to the management device.
On the management device, start your asynchronous terminal emulation application (such as Microsoft Windows Hyperterminal) and select the appropriate COM port to use (for example, COM1).
Configure the port settings as follows:
Bits per second: 9600
Data bits: 8
Stop bits: 1
Flow control: None
Power on the router by pressing the power button on the front panel. Verify that the POWER LED on the front panel turns green.The terminal emulation screen on your management device displays the router’s boot sequence.
When the following prompt appears, press the Spacebar to access the router’s bootstrap loader command prompt:
Hit [Enter] to boot immediately, or space bar for command prompt.
Booting [kernel] in 9 seconds...
At the following prompt, enter boot -s to start up the system in single-user mode.
ok boot -s
At the following prompt, enter recovery to start the root password recovery procedure.
Enter full pathname of shell or 'recovery' for root password recovery or RETURN for /bin/sh: recovery
Enter configuration mode in the CLI.
Set the root password. For example:
user@host# set system root-authentication plain-text-password
At the following prompt, enter the new root password. For example:
New password: juniper1
Retype new password:
At the second prompt, reenter the new root password.
After you have finished configuring the password, commit the configuration.
The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.