![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/3/6d/36db2b94-b5fe-4d9d-af19-800fbd7667e8/36db2b94-b5fe-4d9d-af19-800fbd7667e8-bg21a.png)
1-5
<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:
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 1-1.
Table 1-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