1-5
Directory of unit1>flash:/
1 (*) -rw- 5822215 Jan 01 1970 00:07:03 test.bin
2 -rwh 4 Apr 01 2000 23:55:49 snmpboots
3 -rwh 428 Apr 02 2000 00:47:30 hostkey
4 -rwh 572 Apr 02 2000 00:47:38 serverkey
5 -rw- 1220 Apr 02 2000 00:06:57 song.cfg
6 -rw- 26103 Jan 01 1970 00:04:34 testv1r1.bin
7 -rwh 88 Apr 01 2000 23:55:53 private-data.txt
8 (*) -rw- 1376 Apr 02 2000 01:56:28 config.cfg
9 drw- - Apr 04 2000 04:50:07 test
7239 KB total (2631 KB free)
(*) -with main attribute (b) -with backup attribute
(*b) -with both main and backup attribute
<Sysname> dir unit1>flash:/test/
Directory of unit1>flash:/test/
1 -rw- 1376 Apr 04 2000 04:50:30 1.cfg
7239 KB total (2025 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-1
.
Table 1-1
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.
(*)