Professional Documents
Culture Documents
Bootrom Menu Operation: About This Chapter
Bootrom Menu Operation: About This Chapter
Bootrom Menu Operation: About This Chapter
Switches
Configuration Guide - Basic Configuration 10 BootROM Menu Operation
This chapter describes the BootROM menu. During the device startup, you can
press shortcut keys to access the BootROM menu to configure the startup file,
upgrade components, and change the login password.
● DIAG menu: You can enter this menu by pressing Ctrl+E in the BootROM
main menu. This menu is used for equipment commissioning during the
device production and assembly process. You are advised to use this menu
under the supervision of technical support personnel. This manual does not
provide description about this menu. For details, see S1720, S2700, S5700, and
S6720 Series Ethernet Switches Troubleshooting.
If the device properly starts, accessing the BootROM menu is not necessary. If
either of the following situations occurs, you can use the BootROM menu to:
● Restore or upgrade the system when the system stops responding and the
command line interface (CLI) cannot be displayed.
● Delete the password for logging in to the device using the console port when
you forget the password.
The BootROM menu also allows you to back up the configuration file, format the
storage device, and change the BootROM password.
NOTE
To prevent unauthorized users from accessing the BootROM main menu, users are
required to enter a password. You can change the BootROM main menu password
following the procedure in 10.8.1 Submenu for Changing the Password of the
BootROM Menu or using the bootrom password change command.
The default username and password are available in S Series Switches Default
Usernames and Passwords (Enterprise Network or Carrier). If you have not
obtained the access permission of the document, see Help on the website to find
out how to obtain it.
NOTE
If a user enters incorrect BootROM passwords three consecutive times, the device will
restart.
To ensure device security, change the password periodically.
If you press Ctrl+T when the device displays "Start memory Test ? ('Ctrl+T' is test):" during
device startup, the device will perform a memory check.
When the correct BootROM password is entered, the BootROM main menu is
displayed as follows:
BootROM MENU
1. Boot with default mode Starts the device with the default mode
without the BootROM reboot phase.
Select this option when fast device
startup is required or when the
operations in the BootROM menu do not
involve the BootROM program.
Item Description
7. Clear password for console user Deletes the password for login through
the console port. If the password for login
through the console port is lost or
forgotten, you can use this function to
delete the password.
(Press Ctrl+E to enter diag menu) Press Ctrl+E to enter the diagnosis menu.
For details about the diagnosis menu, see
BootROM Menu Overview in S1720,
S2700, S5700, and S6720 Series Ethernet
Switches Troubleshooting.
Shortcut key The BootROM menu provides two
shortcut keys: Ctrl+M and Ctrl+J. The
functions of the shortcut keys are as
follows:
Ctrl+M and Ctrl+J: The two shortcut keys
can be used in any BootROM menu to
provide functions similar to Enter.
NOTE
The serial port uses the file transfer protocol XModem to transfer files. Select the correct
transfer protocol to transfer files.
In the BootROM main menu, select 2 to access the serial port submenu.
BootROM MENU
SERIAL SUBMENU
2. Download file to Flash through Loads files to the flash memory using the
serial interface serial port.
A flash memory stores all files on a device,
including the system software,
configuration file, patch file, and log files
generated during the device running.
Item Description
Item Description
Item Description
Item Description
Last time startup state Last startup status. The value can be:
● Success
● Failed
NOTE
Before modifying startup configuration information, upload specified files to the flash
memory using 10.3 Serial Port Submenu or 10.5 Ethernet Submenu.
Procedure
Step 1 In the startup configuration submenu, select 2.
Startup Configuration Submenu
Currently, the device supports only the flash memory. No setting is required. Press
Enter.
NOTE
Enter the name of the specified system software and press Enter. If the current
system software is available and does not require reset, directly press Enter.
NOTE
● The specified system software must be available and stored in the flash memory; otherwise,
the device fails to start. If the startup based on the specified system software fails for three
consecutive times, the device starts using the system software in the last successful startup.
● If the system software to be specified is V200R008 or an earlier version, you must restore the
default BootROM password first according to Restoring the BootROM Password and then
specify the system software. Otherwise, the BootROM password may not be used or a fault
occurs on the switch. If the BootROM password cannot be used after the downgrade, run the
reset boot password command to restore the default BootROM password again.
Enter the name of the specified configuration file and press Enter. If the service
configuration does not require reset, directly press Enter. By default, the device
uses the configuration file vrpcfg.zip.
NOTE
The specified configuration file must be available and stored in the flash memory; otherwise,
the device starts using the factory settings.
Enter the name of the patch file and press Enter to return to the startup
configuration submenu. Press Enter if you do not need to upgrade the patch file.
The submenu for modifying the flash description is displayed. By default, no patch
file is specified.
----End
NOTE
If no management interface is provided on a device, use the first port on the device to
connect to the FTP or TFTP server. If the first port on a device is the combo port, use the
electrical mode.
Compared with the rate for transferring files using the serial port, the file transfer
using the Ethernet port is faster but requires the deployment of the FTP or TFTP
server and an additional cable.
In the BootROM main menu, select 4 to access the Ethernet submenu.
BootROM MENU
ETHERNET SUBMENU
1. Update BootROM system Loads the BootROM program file using the
Ethernet port and upgrades the BootROM.
NOTE
If the BootROM is in V200R005 or earlier
versions (excluding V200R005C02), restore the
default BootROM password and then upgrade
the BootROM.
The BootROM of the S5700LI cannot be
updated to V200R001 or earlier versions using
this submenu.
If you need to upgrade the BootROM using the
Ethernet port, perform the following operations
first:
1. Prepare the BootROM program file to be
updated, for example, the bootrom.bin file
on the local device.
2. Select 4. Modify ethernet interface boot
parameter from the Ethernet submenu to
modify network port parameters.
3. After network port parameters are modified,
select 3. Return to ethernet menu to
return to the Ethernet submenu.
4. Select 1. Update BootROM system to
upgrade the BootROM system.
2. Download file to Flash through Loads files to the flash memory using the
ethernet interface Ethernet port.
3. Upload Configuration file to Ftp Uploads the configuration file to the FTP
through ethernet interface server for backup.
Pre-configuration Tasks
In the BootROM menu, a device can function only as an FTP or TFTP client. Before
transferring files using this menu, deploy an FTP or TFTP server as the file server
and connect the server to the management interface on the device to ensure
connectivity.
Procedure
Step 1 In the Ethernet submenu, select 4 to modify parameters on the Ethernet port.
ETHERNET SUBMENU
BOOTLINE SUBMENU
Step 2 Configure TFTP or FTP parameters based on the selected server type.
Operation Description
Operation Description
● If a TFTP server is configured as the file server, select 1 to access the submenu
for modifying TFTP parameters.
BOOTLINE SUBMENU
● If an FTP server is configured as the file server, select 2 to access the submenu
for modifying FTP parameters.
BOOTLINE SUBMENU
Item Description
----End
1. Erase Flash
2. Format flash
Item Description
PASSWORD SUBMENU
Item Description
NOTE
You can also run the bootrom password change command to change the password of the
BootROM main menu.
Procedure
● In the BootROM main menu, select 6 to enter the password submenu.
BootROM MENU
PASSWORD SUBMENU
● In the password submenu, select 1 to enter the page for changing the
BootROM password.
PASSWORD SUBMENU
----End
NOTE
Restoring the default BootROM password using the BootROM menu achieves the same
result as running the reset boot password command.
Procedure
● In the BootROM main menu, select 6 to enter the password submenu.
BootROM MENU
PASSWORD SUBMENU
The password used to enter the boot menu will be restored to the default password, continue? [Y/N]y
----End
NOTE
If multiple devices establish a stack and the console port password is unknown, you can log in
to the stack system only after deleting the console port login password from the master switch.
You are advised to start each member device and delete the console port login password on
each device in sequence.
Procedure
● In the BootROM main menu, select 7 to clear the password for console users.
BootROM MENU
Clear password for console user successfully. Choose "1" to boot, then set a new password.
Note: Do not choose "8. Reboot" or power off the device, otherwise this operation will not take effect.
NOTICE
After the password is deleted, start the device using option 1 in the BootROM
menu. Do not select 8 or power off the device; otherwise, the configuration
becomes invalid.
Selecting the option to clear the console port login password actually sets the
authentication mode for console port login users to non-authentication. After
the device restarts, you can directly log in to the device without entering the
user name and password. To ensure the console port usage security, it is
recommended that you change the authentication mode for console port
login users to AAA authentication after logging in to the device.
----End
NOTE
Configuration Roadmap
1. Deploy an FTP server and upload the target system software to the FTP
working directory. In this example, configure the PC as the FTP server, and
connect the network adapter on the PC to the management interface on the
switch for setting up subsequent FTP connections.
2. Restart the switch and access the BootROM main menu.
3. Set FTP parameters on the switch so that the switch can communicate with
the FTP server. Use FTP to upload the target system software to the storage
device on the switch.
4. In the startup configuration submenu, configure the uploaded system
software as the next startup system software.
Procedure
Step 1 Configure the PC as the FTP server and copy the system software of the switch to
the FTP working directory.
1. Configure the IP address, user name, password, and working directory for the
FTP server.
Run an FTP server program on the PC, for example, wftpd32. Choose Security
> Users/rights.... In the dialog box that is displayed as shown in Figure 10-2,
click New User.... In the dialog box that is displayed, set the user name to
user and password to huawei. Set Home Directory: to D:\BootROM. Click
Done to close the dialog box. Set the IP address of the PC to 192.168.1.6 and
mask to 255.255.255.0.
Step 3 Set FTP parameters on the switch to set up an FTP connection with the PC.
1. In the BootROM main menu, select 4 to access the Ethernet submenu.
BootROM MENU
BOOTLINE SUBMENU
Step 4 In the Ethernet submenu, select 2 to load the system software to the flash
memory.
ETHERNET SUBMENU
Step 5 Exit from the Ethernet submenu. In the BootROM main menu, select 3 to specify
the loaded system software for the next startup.
BootROM MENU
Step 6 Exit from the startup configuration submenu. In the BootROM main menu, select
1 to start the switch.
BootROM MENU
......
----End