Operation Manual - File System Management 
Quidway S5100-EI Series Ethernet Switches-Release 1510  Chapter 2  FTP/TFTP Lighting Configuration
 
Huawei Technologies Proprietary 
2-3 
Table 2-2 Download file from an FTP server to the switch acting as an FTP client 
Operation  Command  Description 
Enable FTP server  — 
Required 
For detailed configuration, refer 
to the configuration instruction 
relevant to FTP server. 
FTP 
server 
Configure 
authentication/auth
orization of the FTP 
server 
— 
Required 
For detailed configuration, refer 
to the configuration instruction 
relevant to FTP server. 
Log into the remote 
FTP server 
ftp 
[  ipaddress 
[ port ] ] 
Required 
z  The switch is an FTP client 
by default. 
z  The user should first obtain 
an FTP user name and 
password, then log into the 
remote FTP server. Only 
after that, can the user obtain 
the access rights of 
corresponding directory and 
file. 
z  At the same time the user 
logs into the FTP server, the 
switch enters FTP client 
command view. 
FTP 
client 
Download files from 
the remote FTP 
server and save the 
files to the local 
device 
get 
remotefile 
[ localfile ] 
Required 
If no local file name is specified, 
the system will consider that the 
local file name is identical with 
the file name on the remote FTP 
server by default. 
 
2.2  TFTP Lighting Configuration 
2.2.1  Introduction to TFTP 
Trivial file transfer protocol (TFTP) is a simple protocol. Compared with FTP, TFTP 
does not provide complex interactive access interface and authentication control, and 
is suitable for the environments that do not need complex interaction. Generally, TFTP 
is implemented based on UDP. 
The TFTP file transfer is initiated by a client: 
z  When a file needs to be downloaded, the client sends a read request to the TFTP 
server. It then receives data from the server and sends acknowledgement to the 
server.