Managing files
CAUTION:
To avoid file system corruption:
In standalone mode, do not install or remove storage media or perform active/standby switchover
•
during file operations.
In IRF mode, do not install or remove storage media or perform a switchover between the active MPU of
•
the IRF fabric and the standby MPU of the IRF fabric during file operations.
You can perform the following file management tasks:
Display directory and file information.
•
Display file contents.
•
Rename, copy, move, remove, restore, delete, compress, decompress, archive, and extract files.
•
•
Calculate the digests of files for file integrity verification.
You can create a file by copying, downloading, or using the save command. For more information about
downloading a file, see "Configuring FTP" and "Configuring TFTP." For more information about the save
command, see Fundamentals Command Reference.
Displaying file information
Perform this task in user view.
Task
Display folder or file information.
Displaying the contents of a text file
Perform this task in user view.
Task
Display the contents of a text file.
Renaming a file
Perform this task in user view.
Task
Rename a file.
Command
dir [ /all ] [ file-url | /all-filesystems ]
Command
more file-url
Command
rename fileurl-source fileurl-dest
91