Specifications

200 Chapter 8. Command Reference
File System Commands
The file system commands allow you to perform maintenance and recovery on the router. These commands allow
you to:
¥ Format the file system
¥ List the contents of the file system
¥ Copy, rename, and delete files
The router file system is DOS-compatible, and the file system commands are similar to the DOS commands of the
same name.
COPY
Copies a file from the source to the destination. This command allows you to update the router 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 you copy over an existing file.
srcÞle Filename of the source Þle to be copied.It can be either the name of a local file or a file accessed
remotely via a TFTP server.
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
dstÞle Destination Þlename to which the Þle is copied.
Examples:
The following command copies the Þle KERNELNW on TFTP server 128.1.210.66 to the local Þle 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 Þle KERNELNW on TFTP server
192.168.100.100 to the local Þle KERNEL.F2K.
copy tftp@192.168.100.100-192.168.1.2:kernelnw kernel.f2k
copy <srcfile> <dstfile>