2-191
Catalyst 6500 Series Switch Command Reference—Release8.4
OL-6244-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands copy
Defaults If a source or destination device is not given, the one specified by the cd command is used. If a
destination filename is omitted, the source filename is used.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines Use the copy command to perform these tasks:
Download a system image or configuration file from a TFTP or rcp server to a Flash device.
Upload a system image or configuration file from a Flash device to a TFTP or rcp server.
Configure the switch using a configuration file on a Flash device or on a TFTP or rcp se rver.
Copy the current configuration to a Flash device or to a TFTP or rcp server.
Manually copy the ACL configuration to a file.
Upload command log entries to a Flash device or to a TFTP or rcp server.
Caution Manual copying can only be used if acl config is set to flash and you enable the auto-config append
option. If you disable the append option, the configuration clears before executing the au to-config file;
see the set boot config-register auto-config command.
If you do not specify the source or destination device, the command uses the ones specified by the cd
command. If you omit the destination filename, the source filename is used.
The copy config, copy cfg1, and copy cfg2 commands copy only nondefault commands to the
destination configuration file. Use the keyword all to copy both default and nondefault configurations.
If you do not specify a source or destination Flash device, the default Flash device (speci fied by the cd
command) is used. Use the pwd command to display the current default Flash device. If you omit the
destination filename, the system uses the source filename.
The system stores image and configuration files in the sysname.cfg file when you define a system name
using the set system name command; otherwise, it uses the default myswitch.cfg file.
A colon (:) is required after the specified device.
If you use the flash keyword as the copy source or destination, you ar e pr om pted fo r th e Fl ash dev ice
name.
log-cmd Copies command log to a specified device.
scp Specifies SCP for secure images.