beautypg.com

File system configuration examples – H3C Technologies H3C S3600 Series Switches User Manual

Page 942

background image

1-5

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.

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.

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.

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

9 drw- - Apr 04 2000 04:50:07 test

This manual is related to the following products: