R0106-HP MSR Router Series Fundamentals Command Reference(V7)

139
format
Use format to format a storage medium.
Syntax
format medium-name
Views
User view
Predefined user roles
network-admin
Parameters
medium-name: Specifies the name of a storage medium.
Usage guidelines
Formatting a storage medium permanently deletes all files on the storage medium. If a startup
configuration file exists on the storage medium, back it up if necessary.
You can format a storage medium only when no one is accessing the medium.
Examples
# Format the flash memory.
<Sysname> format flash:
All data on flash: will be lost, continue? [Y/N]:y
Formatting flash:... Done.
gunzip
Use gunzip to decompress a file.
Syntax
gunzip filename
Views
User view
Predefined user roles
network-admin
Parameters
filename: Specifies the name of the file to be decompressed. This argument must have .gz as the
extension.
Usage guidelines
This command deletes the specified file after decompressing it.
Examples
# Decompress the file system.bin.gz.
1. Before decompressing the file, you can display files whose names start with the system. string.
<Sysname> dir system.*
Directory of flash: