3com 8807 사용자 가이드

다운로드
페이지 883
808
C
HAPTER
 70: FTP&TFTP C
ONFIGURATION
Uploading Files by 
Means of TFTP
To upload a file, the client sends a request to the TFTP server and then transmits 
data to it and receives the acknowledgement from it. You can use the following 
commands to upload files.
Perform the following configuration in user view.
In the command, source-file indicates the file to be uploaded to server; dest-file 
indicates the saved-as name of the file on TFTP server; tftp-server indicates the IP 
address or host name of TFTP server.
TFTP Client 
Configuration Example
Network requirements
The switch serves as TFTP client and the remote PC as TFTP server. Authorized TFTP 
directory is set on the TFTP server. The IP address of a VLAN interface on the switch 
is 1.1.1.1, and that of the PC is 1.1.1.2.
The switch application switch.app is stored on the PC. Using TFTP, the switch can 
download the switch.app from the remote TFTP server and upload the vrpcfg.cfg 
to the TFTP server under the switch directory for backup purpose.
Network diagram
Figure 191   Network diagram for TFTP configuration
Configuration procedure
Start TFTP server on the PC and set authorized TFTP directory.
Configure the switch
# Log into the switch (through local console or remote Telnet, refer to the Getting 
Started for login information), and then enter the system view.
<SW8800> system-view
 
[SW8800] 
CAUTION: If the Flash Memory of the switch is not enough, you need to first 
delete the existing programs in the Flash Memory and then upload the new ones.
# Configure IP address 1.1.1.1 for the VLAN interface, ensure the port connecting 
the PC is also in this VALN (VLAN 1 in this example).
Table 761   Upload files by means of TFTP
Operation 
Command 
Upload files by means of TFTP 
tftp tftp-server put source-file [ dest-file ]
Switch
PC
Network
Switch
Switch
PC
Network