Operation Manual – File System Management
Quidway S3100 Series Ethernet Switches
Chapter 1 File System Management
Huawei Technologies Proprietary
1-2
File operations and file attribute operations are independent of each other. For example,
if you delete a file with the main attribute from the Flash, the main attribute is not
deleted. It becomes the attribute of a valid file that is later downloaded to the Flash and
has same name as the previously deleted one.
The file attributes are compatible with that of the previous versions. After the BootROM
of a switch is upgraded, the previous default app startup file will have the main attribute.
1.1.2 Configuring File Attributes
You can configure and view the main attribute and backup attribute of the files used for
the next startup of a switch, and switch the main and backup attribute of the files.
Perform the following configuration in user view.
Table 1-2
Configure file attributes
Operation
Command
Description
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
attribute (main or
backup) of the
Web file for the
next startup
boot
web-package
webfile
{
backup
|
main
}
Optional
Configure the
name and attribute
(main or backup) of
the configuration
file for the next
startup
startup
saved-configuration
cfgfile
[
backup
|
main
]
Optional
By default, a configuration file
is of the main attribute.
Configure the
system to start
without loading the
configuration file
undo startup
saved-configuration
[ unit
unit-id
]
Optional
Switch the file
attributes between
main and backup
for files that are of
specific attribute
boot
attribute-switch
{
all
|
app
|
configuration
|
web
}
Optional