1-6
Booting with the Startup File
The device selects the main startup file as the preferred startup file. If the device fails to boot with the
main startup file, it boots with the backup startup file.
For the Web file and configuration file, Hangzhou H3C Technologies Co., Ltd (referred to as H3C
hereinafter) may provide corresponding default file when releasing software versions. When booting,
the device selects the startup files based on certain order. The device selects Web files in the following
steps:
1) If the default Web file exists, the device will boot with the default Web file;
2) If the default Web file does not exist, but the main Web file exists, the device will boot with the main
Web file;
3) If neither the default Web file nor the main Web file exists, but the backup Web exists, the device
will boot with the backup Web file;
4) If neither of the default Web file, main Web file and backup Web exists, the device considers that no
Web file exists.
For the selection of the configuration file when the device boots, refer to the
Configuration File
Management
part in this manual.
Configuring File Attributes
You can configure and view the main attribute or backup attribute of the startup file used for the next
startup of a switch, and change the main or backup attribute of the file.
Perform the configuration listed in
Table 1-7
in user view. The
display
commands can be executed in
any view.
Table 1-7
Configure file attributes
To do…
Use the command…
Remarks
Configure the app file with the main
attribute for the next startup
boot
boot-loader
file
-
url
Optional
Configure the app file with the
backup attribute for the next
startup
boot
boot-loader
backup-attribute
file
-
url
Optional
Configure the Web file and its
attribute
boot
web-package
webfile
{
backup
|
main
}
Optional
Switch the file attributes between
main and backup
boot
attribute-switch
{
all
|
app
|
configuration
|
web
}
Optional
Specify to enable user to use the
customized password to enter the
BOOT menu
startup bootrom-access enable
Optional
By default, the user is enabled to
use the customized password to
enter the BOOT menu.
Display the information about the
app file used as the startup file
display boot-loader
[
unit
unit-id
]
Display information about the Web
file used by the device
display web package
Optional
Available in any view
Summary of Contents for S3100 Series
Page 74: ...7 7 Sysname ip http acl 2030...
Page 270: ...1 51 Sysname GigabitEthernet1 0 1 port trunk permit vlan all...
Page 579: ...ii Configuration Example 2 4 QoS Profile Configuration Example 2 4...
Page 713: ...1 22 Total associations 1...
Page 823: ...1 16...
Page 1054: ...i Table of Contents Appendix A Acronyms A 1...