Table of Contents

Advertisement

Chapter 3: File System Commands

copy

Copies a file from the source to the destination. This command allows you to update
the device software level or to write configuration files to a TFTP server
Issue a
sync
memory.
CAUTION:
No warning message is issued if copying over an existing file.
Mgmt Class
All (R/W)
Input Format
copy <srcfile> <dstfile>
Parameters
<srcfile>
<dstfile>
A local filename is in the format: name.ext.
A remotely accessed filename is specified as: tftp@serveraddr:filename.ext. The
TFTP server address is optional. If the TFTP server address is not specified, the
address used is either the one from which the router booted or the one permanently
configured in the boot system.
To force use of a specific source address when copying a file from a TFTP server, use
this format: tftp@serveraddr-sourceaddr:filename.ext
Examples
The following command copies the file KERNELNW on TFTP server 128.1.210.66 to
the local file KERNEL.F2K.
-> copy tftp@128.1.210.66:kernelnw kernel.f2k
Copying...
421888 bytes copied
The following command uses the source address 192.168.1.2 when copying the file
KERNELNW on TFTP server 192.168.100.100 to the local file KERNEL.F2K.
-> copy tftp@192.168.100.100-192.168.1.2:kernelnw kernel.f2k
Page 3-2
command after a copy command to commit the changes to FLASH
Filename of the source file to be copied.It can be either the name of a local
file or a file accessed remotely via a TFTP server.
Destination filename to which the file is copied.
®
Efficient Networks
Router family
Command Line Interface Guide
Efficient Networks
®

Advertisement

Table of Contents
loading

Table of Contents