File Attribute Configuration Commands - H3C S3100 Series Command Manual

Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

Undelete unit1>flash:/sample.bak ?[Y/N]:y
% Undeleted file unit1>flash:/sample.bak.

File Attribute Configuration Commands

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!
boot boot-loader
Syntax
boot boot-loader file-url
View
User view
Parameter
file-url: Path or the name of the app file in the Flash memory, a string comprising 1 to 64 characters.
Description
Use the boot boot-loader command to configure an app file of the device to be with the main attribute.
The app file specified by this command becomes the main startup file when the device starts up next
time.
Example
# Configure the file named boot.bin to be the main startup file of the device.
1-14

Advertisement

Table of Contents
loading

Table of Contents