Copy, Mgmt class, Input format – Efficient Networks 107-0001-000 User Manual

Page 64: Parameters, Examples, Copy -2

Advertising
background image

Chapter 3: File System Commands

Efficient Networks

®

Router family

Command Line Interface Guide

Page 3-2

Efficient Networks

®

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

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.

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.

<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.

-> copy [email protected]:kernelnw kernel.f2k

Copying...

421888 bytes copied

-> copy [email protected]:kernelnw kernel.f2k

Advertising