R3204P16-HP Load Balancing Module System Maintenance Configuration Guide-6PW101

62
Performing batch operations
A batch file is a set of executable commands. Executing a batch file is the same as executing the
commands in the batch file one by one.
Before executing a batch file, edit the batch file on your PC, and then download it to the device. If the
suffix of the file is not .bat, use the rename command to change the suffix to .bat.
Follow these steps below to execute a batch file:
To do… Use the command…
Remarks
Enter system view system-view
Execute a batch file execute filename Required
CAUTION:
Execution of a batch file does not
g
uarantee 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 to the next one.
Managing storage media
Managing the space of a storage medium
When the space of a storage medium becomes inaccessible, you can use the fixdisk command to restore
the space of the storage medium. 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… Use the command…
Remarks
Restore the space of a storage
medium
fixdisk device
Optional
Available in user view
Format a storage medium format device [ FAT16 | FAT32 ]
Optional
Available in user view
CAUTION:
W
hen you format a storage medium, all the files stored on it are erased and cannot be restored. If a
startup configuration file exists on the storage medium, formatting the storage medium results in loss of the
startup configuration file.
Mounting and unmounting a storage medium
For a hot swappable storage medium, such as a CF card, you can use the mount and umount command
to mount or unmount it.
By default, a storage medium is automatically mounted when connected to the device. However,
when a storage medium is connected to a lower version system, the system cannot recognize the
storage medium. To perform read and write operations to the storage medium, you must mount it.