File attribute configuration, Introduction to file attributes – H3C Technologies H3C S3100 Series Switches User Manual

Page 762

Advertising
background image

1-5

7239 KB total (3585 KB free)

(*) -with main attribute (b) -with backup attribute

(*b) -with both main and backup attribute

File Attribute Configuration

Introduction to File Attributes

The following three startup files support file attribute configuration:

z

App files: An app file is an executable file, with .bin as the extension.

z

Configuration files: A configuration file is used to store and restore configuration, with .cfg as the

extension.

z

Web files: A Web file is used for Web-based network management, with .web as the extension.

The app files, configuration files, and Web files support three kinds of attributes: main, backup and none,

as described in

Table 1-6

.

Table 1-6 Descriptions on file attributes

Attribute name

Description

Feature

Identifier

main

Identifies main startup files.
The main startup file is
preferred for a switch to start
up.

In the Flash memory, there can
be only one app file, one
configuration file and one Web
file with the main attribute.

(*)

backup

Identifies backup startup
files. The backup startup file
is used after a switch fails to
start up using the main
startup file.

In the Flash memory, there can
be only one app file, one
configuration file and one Web
file with the backup attribute.

(b)

none

Identifies files that are
neither of main attribute nor
backup attribute.

— None

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.

Advertising