Nortel 15000 用户指南

下载
页码 148
Managing Files
302768-C Rev 00
2-11
 
The system executes one TFTP request at a time for the duration of the file 
transfer. The destination system stores the file under the name you specify. If you 
do not enter a destination name, the system defaults to the
 
source file name. 
After renaming and transferring a source file, you can copy the source file to its 
original name. If the new file at the destination is a configuration file or an 
executable file, verify its integrity by booting with it. If the system boots and loads 
the configuration without problems, you can rename or copy the file name at the 
destination to its original name. 
You can also load a file onto the router by specifying the router host name and 
volume, using the following command:
tftp {get|put} 
<local_file> <host_name>:<remote_vol>:<remote_file>
For example, to transfer a copy of the config file to volume 9 on the router known 
as “router5,” enter the following command:
tftp put config router5:9:config
 
Examples
tftp put 192.32.1.62 
9:config2.cfg 10:newconf
Copies config2.cfg from volume 9 to newconf
 
on 
volume 10 of the remote node at the IP address 
192.32.1.62
tftp get 192.32.1.62 
9:config2.cfg
Copies config2.cfg from volume 9 of the remote node 
at the IP address 192.32.1.62 and stores the copy in 
the current working directory
tftp put 192.32.1.62 
9:config2.cfg
Copies config2.cfg to config2.cfg on volume wfTftp.9 
of the remote node at the IP address 192.32.1.62
tftp put 192.32.1.62 
9:config2.cfg 10:config3.cfg
Copies 9:config2.cfg to volume 10 of the remote 
node and calls it config3.cfg
tftp put 132.244.78.5 
2:hardware.bat 
c:\temp\hardware.bat
Copies 2:hardware.bat to drive c:\temp\hardware.bat 
on a PC with the IP address 132.244.78.5