File system configuration example, File system configuration example -4 – H3C Technologies H3C WX3000 Series Unified Switches User Manual

Page 511

Advertising
background image

48-4

Follow these steps to perform configuration on 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 Example

# Display all the files in the root directory of the file system.

<device> dir /all

Directory of unit1>flash:/

1 -rw- 1443 Apr 02 2000 02:45:13 startup.cfg

2 -rwh 151 Apr 02 2000 00:05:53 private-data.txt

3 (*) -rw- 1713 Apr 01 2000 23:57:11 vrpcfg.cfg

4 -rwh 356 Apr 02 2000 03:20:25 dsakey

5 -rwh 428 Apr 02 2000 03:21:59 hostkey

6 -rwh 572 Apr 02 2000 03:22:21 serverkey

6858 KB total (6848 KB free)

(*) -with main attribute (b) -with backup attribute

(*b) -with both main and backup attribute

# Copy the file flash:/startup.cfg to flash:/test/, with 1.cfg as the name of the new file.

<device> copy flash:/startup.cfg flash:/test/1.cfg

Copy unit1>flash:/startup.cfg to unit1>flash:/test/1.cfg?[Y/N]:y

..

%Copy file unit1>flash:/startup.cfg to unit1>flash:/test/1.cfg...Done.

# Display the file information after the copy operation.

<device>dir /all

Directory of unit1>flash:/

1 -rw- 1443 Apr 02 2000 02:45:13 startup.cfg

2 -rwh 151 Apr 02 2000 00:05:53 private-data.txt

3 (*) -rw- 1713 Apr 01 2000 23:57:11 vrpcfg.cfg

4 -rwh 356 Apr 02 2000 03:20:25 dsakey

5 -rwh 428 Apr 02 2000 03:21:59 hostkey

6 -rwh 572 Apr 02 2000 03:22:21 serverkey

7 drw- - Apr 02 2000 00:15:8 test

6858 KB total (6848 KB free)

(*) -with main attribute (b) -with backup attribute

(*b) -with both main and backup attribute

<device> dir unit1>flash:/test/

Directory of unit1>flash:/test/

Advertising