H3C S7500 Series Ethernet Switches Operation Manual

Operation Manual – File System Management
H3C S7500 Series Ethernet Switches Chapter 1
File System Management
1-6
To do... Use the command... Remarks
Enter system view
system-view
Set the file system prompt
mode
file prompt { alert |
quiet }
Required
By default, the file system
prompt mode is alert.
1.1.8 File System Configuration Example
# Display all the files in the root directory of the file system on the local unit.
<H3C> dir /all
Directory of flash:/
0 -rw- 4 Mar 09 2006 13:59:19 snmpboots
1 -rw- 16215134 Apr 04 2006 16:36:20 S7500-VRP310-E3128.app
2 -rw- 483 Apr 20 2006 14:50:54 diaginfo.txt
3 -rw- 3980 Apr 21 2006 15:08:29 config.cfg
4 drw- - Apr 16 2006 11:18:17 hj
5 drw- - Apr 10 2005 19:07:59 dd
6 -rw- 11779 Apr 05 2006 10:23:03 test.bak
7 -rw- 19307 Apr 16 2006 11:15:55 1.txt
8 -rw- 66 Apr 05 2006 11:32:28 temp1
31877 KB total (15876 KB free)
# Create a directory named “test”.
<H3C> mkdir test
.
%Created dir flash:/test.
# Copy flash:/config.cfg as flash:/test/1.cfg.
<H3C> copy flash:/config.cfg flash:/test/1.cfg
......
%Copy file flash:/config.cfg to flash:/test/1.cfg...Done.
# Display the file information.
<H3C> dir /all
Directory of flash:/
0 -rw- 4 Mar 09 2006 13:59:19 snmpboots
1 -rw- 16215134 Apr 04 2006 16:36:20 S7500-VRP310-E3128.app
2 -rw- 483 Apr 20 2006 14:50:54 diaginfo.txt
3 -rw- 3980 Apr 21 2006 15:08:29 config.cfg