AI2524 Router Card User’s Manual
Page 7-4 August 1997
2524UM
Note: Be sure there is enough available space before copying a
file to Flash memory. Use the show flash command
and compare the size of the file you want to copy to the
amount of available Flash memory shown. If the space
available is less than the space requi red by the file you
want to copy, the copy proces s will continue, but the entire
file will not be copied into Flas h memory. The failure
message buffer overflow - xxxx/ xxxx will
appear, where
xxxx/xxxx
is the number of bytes read in
relation to the number of bytes available.
When you enter the copy tftp flash command, the system
prompts you for the IP address or domain name of the TFT P server.
This server can be another router serving ROM or Flash system soft
ware images. The system then prompts you for the filename of the
software image to copy.
For the copy tftp flash and copy tftp
file-id
com-
mands, the router gives you the option of erasing the existing Flash
memory before writing to it when there is space available to do so. If
there is no free Flash memory available, or if the Flash memory has
never been written to, you must run the erase routine before copying
new files. The system will inform you of these conditions and prompt
you for a response.
The
file-id
argument of the copy tftp
file-id
command
specifies a device and filename as the destination of the copy opera-
tion. You can omit the device, entering only co py tf tp
file-
name
. When you omit the device, the system uses the default device
specified by th cd command.
If you try to copy a file into Flash memory and that file is already in
Flash memory, a prompt informs you that a file with the same nam
already exists. The new file replaces the existing file. The first copy o
the file still resides within Flash memory, but it is rendered unusable
in favor of the newer version, and is listed with the deleted tag when
you use the show flash command. If you terminate the copy pro-
cess, the newer file is marked deleted beca us e the enti re file was not
copied and is invalid. In this case, the original file in Flash memory is
still available to the system.