3 delete – CANOGA PERKINS CanogaOS Command Reference User Manual

Page 727

Advertising
background image

CanogaOS Command Line Reference

Revision 1.02

Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches

Page 727 of 855


Command Syntax

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

Advertising