Command Manual (For Soliton) – File System Management
H3C S3100 Series Ethernet Switches
Chapter 1 File System Management
Configuration Commands
1-17
<Sysname> undelete sample.bak
Undelete unit1>flash:/sample.bak ?[Y/N]:y
% Undeleted file unit1>flash:/sample.bak.
1.2 File Attribute Configuration Commands
1.2.1 boot attribute-switch
Syntax
boot
attribute-switch
{
all
|
app
|
configuration
|
web
}
View
User view
Parameter
all
: Specifies all the files, including app files, configuration files and Web files.
app
: Specifies app files.
configuration
: Specifies configuration files.
web
: Specifies Web files.
Description
Use the
boot
attribute-switch
command to switch between the main and backup
attribute for all the files or a specified type of files. That is, change a file with the main
attribute to one with the backup attribute, or vice versa.
Example
# Switch the attributes of all the files.
<Sysname> boot attribute-switch all
The boot, web and configuration file's backup-attribute and main-attribute
will exchange.
Are you sure? [Y/N] y
The boot, web and configuration file's backup-attribute and main-attribute
exchanged successfully on unit 1!
1.2.2 boot boot-loader
Syntax
boot
boot-loader
file-url
View
User view