
Managing a NonVolatile File System
4-13
In-Band File Transfers
The tftp command invokes the Trivial File Transfer Protocol (TFTP) software to
transfer a file between a Bay 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 (refer to Quick-Starting Routers for instructions).
When you transfer a file to a Bay 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 or setvol 65 to target a
DOS volume.
Caution: The destination system in a file transfer automatically overwrites
any file already on its volume that has the same filename. 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 is 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.
Komentarze do niniejszej Instrukcji