
Operation Manual – File System Management
H3C S5600 Series Ethernet Switches
Chapter 1 File System Management Configuration
1-5
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
.
1.1.7 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- 5026103 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
15367 KB total (4634 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
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