Operation Manual – FTP and TFTP
Quidway S3100 Series Ethernet Switches
Chapter 1 FTP and TFTP Configuration
Huawei Technologies Proprietary
1-8
Password:*****
230 Logged in successfully
[ftp]
# Enter the authorized directory on the FTP server.
[ftp] cd switch
# Upload the configuration file named vrpcfg.cfg to the FTP server.
[ftp] put vrpcfg.cfg
# Download the file named switch.bin.
[ftp] get switch.bin
# Terminate the FTP connection and quit to user view.
[ftp] quit
<Quidway>
# Specify the downloaded file (the file named switch.bin) to be the startup file used
when the switch starts the next time and restart the switch. Thus the switch application
is upgraded.
<Quidway> boot boot-loader switch.bin
<Quidway> reboot
1.1.5 Configuration Example: A Switch Operating as an FTP Server
I. Network requirements
A switch and a PC operate as an FTP server and an FTP client.
z
Create a user account on the FTP server, with the user name being switch,
password being hello, and the permission to access the root directory of the Flash
assigned to the user account.
z
The IP address of a VLAN interface on the switch is 1.1.1.1. The IP address of the
PC is 2.2.2.2. And the route between the two is reachable.
The PC uploads the application named switch.bin to the FTP server through FTP and
downloads the configuration file named vrpcfg.cfg from the switch to backup the
configuration file.
II. Network diagram
Switch
PC
Network
Network
Switch
PC
Network
Network
Figure 1-3
Network diagram for FTP configuration (B)