Copy; Delete - Cisco Catalyst 2960 Command Reference Manual

Hide thumbs Also See for Catalyst 2960:
Table of Contents

Advertisement

Appendix A
Catalyst 2960 Switch Bootloader Commands

copy

Use the copy bootloader 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
Bootloader
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: bootloader command.
Related Commands
Command

delete

OL-8604-04
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

Advertisement

Table of Contents
loading

Table of Contents