Chapter 3: File System Commands

Efficient Networks® Router family

 

Command Line Interface Guide

 

 

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 command after a copy command to commit the changes to FLASH 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>

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.

<dstfile>

Destination filename to which the file is copied.

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

Efficient Networks®

Page 64
Image 64
Efficient Networks 107-0001-000 manual Examples, Copy srcfile dstfile, Copy tftp@128.1.210.66kernelnw kernel.f2k