File attribute configuration, Introduction to file attributes, Configuring file attributes – H3C Technologies H3C WX3000 Series Unified Switches User Manual

Page 512: 5 configuring file attributes

Advertising
background image

48-5

1 -rw- 1443 Apr 02 2000 02:45:13 1.cfg

6858 KB total (6841 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 two startup files support file attribute configuration:

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 configuration files and Web files support three kinds of attributes: main, backup and none, as
described in

Table 48-1

.

Table 48-1

Description on the file attributes

Attribute

Description

Feature

Identifier

main

Identifies main startup files. The
main startup file is used first for the
device to start up.

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

(*)

backup

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

In the flash memory, there can be
only 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 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.

Configuring File Attributes

You can configure and view the main attribute or backup attribute of the startup file used for the next
startup of a switch, and change the main or backup attribute of the file.

Advertising