Chapter 1 file system management configuration, 1 file attribute configuration, 1 introduction to file attributes – H3C Technologies H3C S3100 Series Switches User Manual

Page 519: Chapter 1 file system management configuration -1, 1 file attribute configuration -1, 1 introduction to file attributes -1

Advertising
background image

Operation Manual – File System Management

H3C S3100-52P Ethernet Switch

Chapter 1 File System Management

Configuration

1-1

Chapter 1 File System Management Configuration

1.1 File Attribute Configuration

1.1.1 Introduction to File Attributes

An app file is an executable file, with .bin as the extension. A configuration file is used to
store and restore configuration, with .cfg as the extension. A Web file is used for
Web-based network management, with .web as the extension.
The app file, configuration file, and Web file have three kinds of attributes: main, backup
and none, as described in Table 1-1.

Table 1-1

Descriptions on file attributes

Attribute

name

Description

Feature

Identifier

main

Identifies main startup files.

The main startup file is used

first 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

Note:

A file can have both the main and backup attributes. Files of this kind are labeled *b.


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 be changed to other attribute. This ensures that
there can be only one app file, one configuration file and one Web file with the main
attribute in the Flash memory. 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

Advertising