beautypg.com

3 delete – CANOGA PERKINS 9175 Command Reference User Manual

Page 655

background image

CanogaOS Command Reference

39-2

copy source-name destination-name

source-name The location URL of the source file or directory to be copied. The source can be either local or

remote, depending upon whether the file is being downloaded or uploaded.

destination-name The destination URL of the copied file or directory. The destination can be either local or

remote, depending upon whether the file is being downloaded or uploaded.


Command Mode

Privileged EXEC


Usage

The exact format of the source and destination URLs varies according to the file or directory location. You

may enter a particular file or a filename that follows the standard file system syntax

(filesystem:[/filepath][/filename]).


Examples

The following example shows how to specify image verification before copying an image:

Switch# copy tftp://192.168.0.1/image flash:/boot/image

Download from URL to temporary file.

Get file from tftp://192.168.0.1/image

..............................................................................................................

Received 15591515 bytes in 16.6 seconds

Copy the temporary file to its destination.

..............................................................................................................

15591515 bytes in 69.8 seconds, 218 kbytes/second

Switch#


Related Commands
delete

39.3 delete

To delete a file on the flash, use the delete command in Privileged EXEC mode.


Command Syntax

delete file-name

file-name

The file name that is supposed to be deleted.


Command Mode

Privileged EXEC


Usage

If you attempt to delete the configuration file or image, the system prompts you to confirm the deletion.

Also, if you attempt to delete the system specified file such as DHCP snooping bindings, the system

prompts you to confirm the deletion.