406 CHAPTER 12: USING SYSTEM MANAGEMENT COMMANDS
[SW5500]execute test.bat
file prompt Syntax
file prompt { alert | quiet }
View
System view
Parameter
alert: Select confirmation on dangerous file operations.. The default value is
alert.
quiet: No confirmation prompt on file operations.
Description
Use the file prompt command to modify the prompt mode of file operations on
the Switch.
If the prompt mode is set as quiet, so no prompts are shown for file operations,
some non-recoverable operations may lead to system damage.
Example
Configure the prompt mode of file operation as quiet.
<SW5500>system-view
System View: return to User View with Ctrl+Z
[SW5500]file prompt quiet
format Syntax
format
filesystem
View
User view
Parameter
filesystem:
Device name.
Description
Use the format command to format the storage device. All of the files on the
storage device will be lost and non-recoverable. Specially, configuration files will
be lost after formatting flash memory.
Example
Format flash:
<Sw5500>format unit1>flash:
All data on unit1>flash: will be lost , proceed with format ? [Y/N] y
% Now begin to format flash, please wait for a while...
Format unit1>flash: completed
mkdir Syntax
mkdir
directory