Setting File System Prompt Modes; File System Operations Example - H3C S5500-SI Series Operation Manual

Hide thumbs Also See for S5500-SI Series:
Table of Contents

Advertisement

When you format a storage medium, all the files stored on it are erased and cannot be restored. In
particular, if there is a startup configuration file on the storage medium, formatting the storage medium
results in loss of the startup configuration file.

Setting File System Prompt Modes

The file system provides the following two prompt modes:
alert: In this mode, the system warns you about operations that may bring undesirable
consequences such as file corruption or data loss.
quiet: In this mode, the system does not prompt confirmation for any operation.
To prevent undesirable consequence resulting from misoperations, the alert mode is preferred.
To do...
Enter system view
Set the operation prompt mode
of the file system

File System Operations Example

# Display the files and the subdirectories under the current directory.
<Sysname> dir
Directory of flash:/
0
drw-
1
-rw-
2
drw-
3
-rw-
15240 KB total (2521 KB free)
# Create a new folder called mytest under the test directory.
<Sysname> cd test
<Sysname> mkdir mytest
%Created dir flash:/test/mytest.
# Display the current working directory.
<Sysname> pwd
flash:/test
# Display the files and the subdirectories under the test directory.
<Sysname> dir
Directory of flash:/test/
Use the command...
system-view
file prompt { alert | quiet }
-
Feb 16 2006 11:45:36
1218
Feb 16 2006 11:46:19
-
Feb 16 2006 15:20:27
8066003
Feb 16 2006 15:30:20
Optional
The default is alert.
logfile
config.cfg
test
aaa.bin
1-6
Remarks

Advertisement

Chapters

Table of Contents
loading

Table of Contents