PLANET WGSW-52040 User Manual
Page 116

2-115
Copy a designated file on the switch and store it as a new file.
Parameters:
backup master board and line cards under IMG mode, URLs of the source file and the destination file should take
such a form as described in the following requirements.
1. The prefix of the source file URL should be in one of the following forms:
starting with “flash:/”
“ftp://username:pass@server-ip/file-name”
“tftp://server-ip/file-name”
2. The prefix of the destination file URL should be in one of the following forms:
starting with “flash:/”
“ftp://username:pass@server-ip/file-name”
“tftp://server-ip/file-name”
Command Mode:
Admin Mode.
Default Settings:
None.
Usage Guide:
1. In this command, when the prefix of the source file URL is ftp:// or tftp://, that of the destination file URL should not
be either of them.
2. To use this command, the designated source file should exist, and the destination file should not be named the
same as any existing directory or file, otherwise, there might be a prompt warning about a failed copy operation or an
attempt to overwrite an existing file.
3. If the source and destination files are in different directories, with this command implemented, users can copy files
from other directories into the current one.
URL Example: The URL of files in root directory of Flash devices on it should be flash:/nos.img.
Example:
Copy the file “flash:/nos.img” and store it as “flash/ 6.1.11.0.img”.
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.