Operation Manual – FTP and TFTP
Quidway S3100 Series Ethernet Switches
Chapter 1 FTP and TFTP Configuration
Huawei Technologies Proprietary
1-11
Device
Configuration
Default
Description
PC
The TFTP server is started
and the TFTP work directory
is configured.
— —
1.2.2 TFTP Configuration
I. Prerequisites
A switch operates as a TFTP client. A PC operates as the TFTP server. The network
operates properly, as shown in Figure 1-4.
II. Configuration procedure
Table 1-7
Configure TFTP
Operation
Command
Description
Set the TFTP file
transmission mode
tftp
{
ascii
|
binary
}
Optional
By default, the
binary
file
transmission mode is
adopted.
Download a file
tftp
tftp-server get
source-file
[
dest-file
]
Optional
Upload a file
tftp
tftp-server put
source-file
[
dest-file
]
Optional
Enter system view
system-view
—
Specify the ACL
adopted when a
switch attempts to
connect a TFTP
server
tftp-server acl acl-number
Optional
1.2.3 Configuration Example
I. Network requirements
A switch and a PC operate as a TFTP client and the TFTP server.
z
The TFTP work directory is configured on the TFTP server.
z
The IP address of a VLAN interface on the switch is 1.1.1.1. The port through
which the switch connects with the PC belongs to the VLAN. The IP address of the
PC is 1.1.1.2.