3Com 4500 Switch User Manual


 
1-4
The format operation leads to the loss of all files, including the configuration files, on the Flash memory
and is irretrievable.
Prompt Mode Configuration
You can set the prompt mode of the current file system to alert or quiet. In alert mode, the file system
will give a prompt for confirmation if you execute a command which may cause data loss, for example,
deleting or overwriting a file. In quiet mode, such prompt will not be displayed.
Follow these steps to set the prompt mode of file system:
To do… Use the command… Remarks
Enter system view
system-view
Configure the prompt mode
of the file system
file prompt { alert | quiet }
Required
By default, the prompt mode of the
file system is alert.
File System Configuration Examples
# Display all the files in the root directory of the file system on the local unit.
<Sysname> dir /all
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
7239 KB total (2634 KB free)
(*) -with main attribute (b) -with backup attribute
(*b) -with both main and backup attribute
# Copy the file flash:/config.cfg to flash:/test/, with 1.cfg as the name of the new file.
<Sysname> copy flash:/config.cfg flash:/test/1.cfg
Copy unit1>flash:/config.cfg to unit1>flash:/test/1.cfg?[Y/N]:y
..
%Copy file unit1>flash:/config.cfg to unit1>flash:/test/1.cfg...Done.
# Display the file information after the copy operation.
<Sysname> dir /all