Appendix A
Catalyst 2960 Switch Boot Loader Commands
copy
Use the copy boot loader command to copy a file from a source to a destination.
Syntax Description
-b block-size
filesystem:
/source-file-url
/destination-file-url
Defaults
The default block size is 4 KB.
Command Modes
Boot loader
Command History
Release
12.2(25)FX
Usage Guidelines
Filenames and directory names are case sensitive.
Directory names are limited to 45 characters between the slashes (/); the name cannot contain control
characters, spaces, deletes, slashes, quotes, semicolons, or colons.
Filenames are limited to 45 characters; the name cannot contain control characters, spaces, deletes,
slashes, quotes, semicolons, or colons.
If you are copying a file to a new directory, the directory must already exist.
Examples
This example show how to copy a file at the root:
switch: copy flash:test1.text flash:test4.text
.
File "flash:test1.text" successfully copied to "flash:test4.text"
You can verify that the file was copied by entering the dir filesystem: boot loader command.
Related Commands
Command
delete
78-16882-01
copy [-b block-size] filesystem:/source-file-url filesystem:/destination-file-url
(Optional) This option is used only for internal development and testing.
Alias for a flash file system. Use flash: for the system board flash device.
Path (directory) and filename (source) to be copied.
Path (directory) and filename of the destination.
Modification
This command was introduced.
Description
Deletes one or more files from the specified file system.
Catalyst 2960 Switch Command Reference
copy
A-5