Fixdisk - H3C s3100 series Command Manual

Hide thumbs Also See for s3100 series:
Table of Contents

Advertisement

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:
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>
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

fixdisk

Syntax
fixdisk device
View
User view
Parameter
device: Name of a device which must be "unit1>flash:" or "flash:" for S3100 series Ethernet switches.
1-7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents