2-149
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands copy
copy
To upload or download a Flash image or a switch configuration to or from a Flash device, rcp server, or
TFTP server, use the copy command.
copy file-id {tftp | rcp | flash | file-id | config}
copy tftp {flash | file-id | config}
copy rcp {flash | file-id | config}
copy flash {tftp | rcp | file-id | config}
copy config {flash | file-id | tftp | rcp} [all]
copy acl config {flash | file-id | tftp | rcp}
copy cfg1 {tftp | rcp | flash | config | cfg2} [all]
copy cfg2 {tftp | rcp | flash | config | cfg1} [all]
Syntax Description
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.
file-id Format used to specify the file on the Flash device, where the format is
m/device:filename.
m/ = Option that gives access to different modules, such as the standby
supervisor engine or an Ethernet module.
device: = Device where the Flash resides.
filename = Name of the configuration file.
tftp Allows you to copy to or from a TFTP server.
rcp Specifies the file be copied to or from an rcp server.
flash Supports downloading of multiple modules.
config Allows you to copy the configuration to Flash memory, another Flash device,
or a file on a TFTP server.
acl config Copies the ACL configuration manually to a file. See the “Usage Guidelines”
section before using this command.
cfg1 Specifies the first startup configuration file on the supervisor engine.
cfg2 Specifies the second startup configuration file on the supervisor engine.
all (Optional) Specifies that the entire configuration be copied to the specified
destination configuration file.