Technical data

Table Of Contents
204
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.
srcfile
Filename of the source file to be copied.
dstfile
Destination filename from where the file is to be copied.
Example:
copy tftp@128.1.210.66:kernelnw kernel.f2k
Response: Copying...
421888 bytes copied
A filename is either the name of a local file or a file accessed remotely via a TFTP server:
A local filename is in the format:
yyyyyyyy.yyy.
A remotely accessed filename is specified as:
TFTP@xxx.xxx.xxx.xxx:yyyyyyyy.yyy
where
xxx.xxx.xxx.xxx
is the (optional) TFTP server address and
yyyyyyyy.yyy
is the name of the file to be copied.
If the TFTP server address is not specified, the address used is the one from which the router booted or the one
permanently configured in the boot system. Issue a
sync
command after a
copy
to commit the changes to FLASH
memory.
Caution
: No warning message is issued if you copy over an existing file.
copy
<
srcfile
> <
dstfile
>