3com 5500G ユーザーズマニュアル

ページ / 336
Configuring a Switch as FTP Client
307
Complete Configuration
Configure the switch
#
local-user switch
password simple hello
service-type ftp
#
vlan 1
#
interface Vlan-interface1
ip address 1.1.1.1 255.255.0.0
#
FTP server enable 
Precautions
If the free Flash memory of the switch is not enough for the application file to 
be uploaded, remove those unused applications from the Flash memory first.
It is not recommended to directly remove applications in use. If removing some 
applications in use is a must to get enough space, you can use the BootROM 
menu to remove them.
Configuring a Switch 
as FTP Client
The Ethernet switch can act as an FTP client. You can use an emulation program or 
Telnet to log in to the switch and then use the ftp command to log in the FTP 
server and access the files on the server.
Network Diagram
Figure 103   Network diagram for configuring a switch as FTP client
 
Networking and
Configuration
Requirements
A switch operates as an FTP client and a remote PC as the FTP server.
Configure the IP address of VLAN-interface 1 on the switch as 1.1.1.1/16, and 
that of the PC as 2.2.2.2/16. Ensure that the switch and PC can reach each 
other.
Create an FTP user with the username switch and password hello on the FTP 
server, and allow the user to read and write under the directory switch of the 
PC.
An application named switch.bin is stored on the PC. The switch downloads 
switch.bin from the PC through FTP to upgrade the application.
The switch uploads the configuration file config.cfg to the PC for backup.
IP network
Switch
PC