2)
Download the batch file to the device. If the suffix of the file is not .bat, use the rename command
to change the suffix to .bat.
3)
Execute the batch file.
Follow these steps below to execute a batch file:
To do...
Enter system view
Execute a batch file
Execution of a batch file does not guarantee successful execution of every command in the batch file. If
a command has error settings or the conditions for executing the command are not satisfied, this
command fails to be executed, and the system skips the command to the next one.
Storage Medium Operations
Managing the Space of a Storage Medium
When the space of a storage medium becomes inaccessible due to abnormal operations, you can use
the fixdisk command to restore the space of the storage medium. The execution of the format
command formats the storage medium, and all the data on the storage medium is deleted.
Use the following commands to manage the space of a storage medium:
To do...
Restore the space of a storage
medium
Format a storage medium
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.
You can execute the fixdisk command for a storage medium on the active main board (AMB), but
you cannot execute the command for a storage medium on the SMB (On the SR6604/6608/6616
router).
Use the command...
system-view
execute filename
Use the command...
fixdisk device
format device [ FAT16 | FAT32 ]
8-113
Remarks
—
Required
Remarks
Optional
Available in user view
Optional
Available in user view