Operation Manual – File System Management
Quidway S3100 Series Ethernet Switches Chapter 1
File System Management
Huawei Technologies Proprietary
1-9
Operation Command Description
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.2.7 Configuration Example
# Display all the files in the root directory of the file system on the local unit.
<Quidway> dir /all
Directory of unit1>flash:/
1 (*) -rw- 3840337 Jul 31 2005 15:15:48 S3100V100R001B01D006.bin
2 -rwh 4 Apr 01 2000 23:55:27 snmpboots
3 -rwh 151 Apr 01 2000 23:58:05 private-data.txt
4 drw- - Apr 02 2000 01:30:14 test
5 -rw- 981 Apr 02 2000 00:01:52 vrpcfg.cfg
6 -rw- 0 Apr 01 2000 23:57:31 taskswitch.log
7239 KB total (3481 KB free)
(*) -with main attribute (b) -with backup attribute
(*b) -with both main and backup attribute
# Copy the file flash:/vrpcfg.cfg to flash:/test/, with 1.cfg as the name of the new file.
<Quidway>copy flash:/vrpcfg.cfg flash:/test/1.cfg
Copy unit1>flash:/vrpcfg.cfg to unit1>flash:/test/1.cfg?[Y/N]:y
..
%Copy file unit1>flash:/vrpcfg.cfg to unit1>flash:/test/1.cfg...Done.
# Display the file information after the copy operation.
<Quidway>dir /all
Directory of unit1>flash:/
1 (*) -rw- 3840337 Jul 31 2005 15:15:48 S3100V100R001B01D006.bin
2 -rwh 4 Apr 01 2000 23:55:27 snmpboots
3 -rwh 151 Apr 01 2000 23:58:05 private-data.txt
4 -rw- 981 Apr 02 2000 00:01:52 vrpcfg.cfg
5 drw- - Apr 02 2000 01:30:14 test
6 -rw- 0 Apr 01 2000 23:57:31 taskswitch.log
7239 KB total (3480 KB free)
(*) -with main attribute (b) -with backup attribute
(*b) -with both main and backup attribute
<Quidway>dir flash:/test
Directory of unit1>flash:/
1 drw- - Apr 02 2000 01:30:14 test