340
C
HAPTER
38: FTP
AND
TFTP C
ONFIGURATION
Table 293 describes the operations needed when a switch operates as an TFTP client.
TFTP Configuration
Prerequisites
A switch operates as a TFTP client. A PC operates as the TFTP server. The network
operates properly, as shown in Figure 108 4.
Configuration procedure
TFTP Configuration
Example
Network requirements
A switch and a PC operate as a TFTP client and the TFTP server.
■
The TFTP work directory is configured on the TFTP server.
■
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.
Download the application named switch.bin from the PC to the switch and upload
the configuration file named vrpcfg.txt to the directory named Switch on the PC to
backup the configuration file.
Table 293
Configurations needed when a switch operates as a TFTP client
Device
Configuration
Default
Description
Switch
Configure an IP address for the
VLAN interface of the switch so
that it is reachable for TFTP
server.
—
TFTP applies to networks where
client-server interactions are
comparatively simple. It requires the
routes between TFTP clients TFTP
servers are reachable.
You can log into a TFTP server
directly for file accessing
through TFTP commands.
—
—
PC
The TFTP server is started and
the TFTP work directory is
configured.
—
—
Table 294
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
Summary of Contents for 4200G 12-Port
Page 10: ...8 CONTENTS...
Page 14: ...4 ABOUT THIS GUIDE...
Page 46: ...32 CHAPTER 5 LOGGING IN THROUGH WEB BASED NETWORK MANAGEMENT SYSTEM...
Page 48: ...34 CHAPTER 6 LOGGING IN THROUGH NMS...
Page 60: ...46 CHAPTER 9 VLAN CONFIGURATION...
Page 64: ...50 CHAPTER 10 MANAGEMENT VLAN CONFIGURATION...
Page 80: ...66 CHAPTER 13 GVRP CONFIGURATION...
Page 98: ...84 CHAPTER 15 LINK AGGREGATION CONFIGURATION...
Page 112: ...98 CHAPTER 18 MAC ADDRESS TABLE MANAGEMENT...
Page 126: ...112 CHAPTER 19 LOGGING IN THROUGH TELNET...
Page 162: ...148 CHAPTER 20 MSTP CONFIGURATION...
Page 274: ...260 CHAPTER 29 IGMP SNOOPING CONFIGURATION...
Page 276: ...262 CHAPTER 30 ROUTING PORT JOIN TO MULTICAST GROUP CONFIGURATION...
Page 298: ...284 CHAPTER 33 SNMP CONFIGURATION...
Page 304: ...290 CHAPTER 34 RMON CONFIGURATION...
Page 338: ...324 CHAPTER 36 SSH TERMINAL SERVICES...
Page 356: ...342 CHAPTER 38 FTP AND TFTP CONFIGURATION...
Page 365: ...Information Center Configuration Example 351 S4200G terminal logging...
Page 366: ...352 CHAPTER 39 INFORMATION CENTER...
Page 378: ...364 CHAPTER 40 BOOTROM AND HOST SOFTWARE LOADING...
Page 384: ...370 CHAPTER 41 Basic System Configuration and Debugging...
Page 388: ...374 CHAPTER 43 NETWORK CONNECTIVITY TEST...
Page 406: ...392 CHAPTER 45 CONFIGURATION OF NEWLY ADDED CLUSTER FUNCTIONS...