Overview
4-14
4.1.9 copy
Priv Exec Command
Use this command to copy any file (config, log, txt ...etc) to and from the switch.
Syntax
copy (FILE|URL) (FILE|URL)
Parameters
Example
RFS7000#copy ?
FILE File from which to copy
Files: flash:/path/file
cf:/path/file
usb1:/path/file
usb2:/path/file
nvram:startup-config
system:running-config
URL URL from which to copy
URLs: tftp://<hostname:port or IP>/path/file
ftp://<user>:<passwd>@<hostname:port or IP>/path/file
http://<hostname:port or IP>/path/file
sftp://<user>@<hostname:port or IP>/path/file
RFS7000#copy
NOTE Copying a new config file onto an exisitng running-config file merges it with the
existing running-config. Both, the exisitng running-config and the new config file
are applied as the current running-config of the switch.
Copying a new config file onto a start-up config file replaces the exisitng start-up
config file with the parameters of the new config file. It is always better to erase
the existing start-up file from the switch and then copy the new config to the
startup config.
FILE Target file from which to copy. Select from:
• flash:/path/file
• cf:/path/file
• usb1:/path/file
• usb2:/path/file
• nvram:startup-config
• system:running-config
URL The target URL from which to copy. Select from:
• tftp://<hostname:port or IP>/path/file
• ftp://<user>:<passwd>@<hostname:port or IP>/path/file
• http://<hostname:port or IP>/path/file
• sftp://<user>@<hostname:port or IP>/path/file