User's Manual

Table Of Contents
5-2
4. Changing the current working directory of the storage device
Command
Explanation
Admin Configuration Mode
cd <directory>
Change the current working directory of the
storage device.
5. The display operation of the current working directory
Command
Explanation
Admin Configuration Mode
pwd
Display the current working directory.
6. The display operation of information about a designated file or directory
Command
Explanation
Admin Configuration Mode
dir [WORD]
Display information about a designated file or
directory on the storage device.
7. The deletion of a designated file in the file system
Command
Explanation
Admin Configuration Mode
delete <file-url>
Delete the designated file in the file system.
8. The renaming operation of files
Command
Explanation
Admin Configuration Mode
rename <source-file-url> <dest-file>
Change the name of a designated file on the
switch to a new one.
9. The copy operation of files
Command
Explanation
Admin Configuration Mode
copy <source-file-url > <dest-file-url>
Copy a designated file one the switch and
store it as a new one.
5.3 Typical Applications
Copy an IMG file flash:/nos.img stored in the FLASH on the boardcard, to cf:/nos-6.1.11.0.img.
The configuration of the switch is as follows:
Switch#copy flash:/nos.img flash:/nos-6.1.11.0.img
Copy flash:/nos.img to flash:/nos-6.1.11.0.img? [Y:N] y
Copyed file flash:/nos.img to flash:/nos-6.1.11.0.img.