Booting with the startup file, Configuring file attributes, Refer to – H3C Technologies H3C S3600 Series Switches User Manual
Page 944
1-7
A file can have both the main and backup attributes. Files of this kind are labeled *b.
Note that, there can be only one app file, one configuration file and one Web file with the main attribute
in the Flash memory. If a newly created file is configured to be with the main attribute, the existing file
with the main attribute in the Flash memory will lose its main attribute. This circumstance also applies to
the file with the backup attribute in the Flash memory.
File operations and file attribute operations are independent. For example, if you delete a file with the
main attribute from the Flash memory, the other files in the flash memory will not possess the main
attribute. If you download a valid file with the same name as the deleted file to the flash memory, the file
will possess the main attribute.
After the Boot ROM of a switch is upgraded, the original default app file has the main attribute.
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 file used for the next startup of
a switch, and change the main or backup attribute of the file.
Follow these steps to 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
[ fabric ]
Optional
Available in user view
Configure the app file with the
backup attribute for the next
startup
boot boot-loader
backup-attribute file-url
[ fabric ]
Optional
Available in user view