<device> dir unit1>flash:/test/ Directory of unit1>flash:/test/

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:

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

zWeb 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 1-1.

Table 1-1Description on the file attributes

 

Attribute

Description

Feature

Identifier

 

 

 

Identifies main startup files.

In the flash memory, there can

 

 

 

main

be only one configuration file

(*)

 

 

The main startup file is used

 

 

and one Web file with the main

 

 

 

first for the device to start up.

 

 

 

 

attribute.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Identifies backup startup

In the flash memory, there can

 

 

 

 

files. The backup startup file

 

 

 

backup

be only one configuration file

 

 

 

is used after the device fails

(b)

 

 

and one Web file with the

 

 

 

to start up using the main

 

 

 

 

backup attribute.

 

 

 

 

startup file.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Identifies files that are

 

 

 

 

none

neither of main attribute nor

—

None

 

 

 

backup attribute.

 

 

 

 

 

 

 

 

 

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

1-5

Page 538
Image 538
3Com WX3000 File Attribute Configuration, Introduction to File Attributes, Attribute Description Feature Identifier