Operation Manual – File System Management
H3C S3100 Series Ethernet Switches
Chapter 1 File System Management Configuration
1-7
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.
1.2.3 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.