
Managing a Nonvolatile File System
308657-14.00 Rev 00
4-13
In-Band File Transfers
The
tftp
command invokes the Trivial File Transfer Protocol (TFTP) software to
transfer a file between a Nortel Networks router and another router or host capable
of serving
tftp
file transfer requests.
The TFTP software resides within the IP router. Consequently, you must load
TFTP on the router and enable it (see Quick-Starting Routers for instructions).
When you transfer a file to a Nortel Networks router, unless you specify the target
volume, the TFTP server of the receiving (client) router uses the value of the
wfTftp.2.0 MIB attribute to determine the target volume.
For example, if you enter
tftp put 192.
xx.x.xx
2:config
where
192.
xx.x.xx
is a valid IP address, the file config will be called config on the
router at the specified IP address and will go to the volume specified in
wfTftp.2.0. The same will happen if you enter
tftp put 192.
xx.x.xx
2:config new_config
except that the file will be called new_config.
However, if you enter
tftp put 192.
xx.x.xx
2:config 3:test_config
the file config will now be called test_config and reside on volume 3, overriding
whatever is in wfTftp.2.0.
The wfTftp.2.0 attribute is set during the Quick-Start procedure, using the
debug.al
alias
setvol
<slot no.> to target an NVFS volume.
Caution:
The destination system in a file transfer automatically overwrites
any file already on its volume that has the same file name. If enough space
does not exist on the file system for the new file, and the new file has the same
name as an old file, the old file will be destroyed and the new file will be
corrupted. This occurs because TFTP copies the new file over the old and runs
out of space before completing the copy. Be sure to follow the instructions in
this section to avoid corrupting the config file.
Komentáře k této Příručce