Switch 7700 Configuration Guide
2 CHAPTER 11: SYSTEM MANAGEMENT
File Operation The file system can be used to delete or undelete a file or permanently delete a
file. It can also be used to display file contents, rename, copy and move a file and
display the information about a specified file. You can use the commands in
Tabl e 2 to perform file operations.
Perform the following configuration in user view.
Storage Device
Operation
The file system can be used to format a specified memory device. You can use the
command in
Tabl e 3 to format a specified memory device.
Perform the following configuration in user view.
Setting the Prompt
Mode of the File System
The command in Table 4 can be used for setting the prompt mode of the current
file system.
Perform the following configuration in system view.
Example: File System
Operation
1 Format the flash.
<SW7700> format flash:
All sectors will be erased, proceed? [confirm]y
Format flash: completed
Change the current directory cd directory
Table 1 Directory Operation
Operation Command
Tab le 2 File Operation
Operation Command
Delete a file delete file-url
Undelete a file undelete file-url
Delete a file from the recycle bin
permanently
reset recycle-binfile-url
View contents of a file more file-url
Rename a file rename fileurl-source fileurl-dest
Copy a file copy fileurl-source fileurl-dest
Move a file move fileurl-source fileurl-dest
Display the information about
directories or files
dir [ / all ] [ file-url ]
Tab le 3 Storage Device Operation
Operation Command
Format the storage device format filesystem
Tab le 4 File System Operation
Operation Command
Set the file system prompt mode. file prompt { alert | quiet }