Command Manual (For Soliton) – File System Management
H3C S3100 Series Ethernet Switches
Chapter 1 File System Management
Configuration Commands
1-8
Parameter
alert
: Specifies to prompt for confirmation before performing file-related operations that
have potential risks.
quiet
: Specifies to disable prompts for file-related operations.
Description
Use the
file prompt
command to configure the prompt mode for file-related operations.
By default, alert mode is used, by which a switch prompts for confirmation before
performing file-related operations that have potential risks.
If you set the prompt mode of the file-related operations to
quiet
, the switch does not
prompt for confirmation before performing file-related operations. In this case, the
system is more likely to be damaged due to some maloperations. For example:
z
If the prompt mode is set to
alert
, the following messages will be displayed when
you delete a file:
<Sysname> delete flash:/te.txt
Delete unit1>flash:/te.txt?[Y/N]:y
......
%Delete file unit1>flash:/te.txt...Done.
The system waits for you to confirm for 30 seconds. If you do not input any confirmation
in 30 seconds, the system cancels this file operation, as shown in the following:
<Sysname> delete flash:/tt.txt
Delete unit1>flash:/tt.txt?[Y/N]:
<Sysname>
z
If the prompt mode is set to
quiet
, the following messages will be displayed when
you delete a file:
<Sysname> delete flash:/te.txt
....
%Delete file unit1>flash:/te.txt...Done.
Example
# Set the prompt mode to
quiet
for file-related operations.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] file prompt quiet
1.1.7 fixdisk
Syntax
fixdisk device