338
C
HAPTER
38: FTP
AND
TFTP C
ONFIGURATION
6
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.
<S4200G>
boot boot-loader switch.bin
<S4200G>
reboot
Configuration Example:
A Switch Operating as
an FTP Server
Network requirements
A switch and a PC operate as an FTP server and an FTP client.
■
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.
■
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.txt from the switch to backup the
configuration file.
Network diagram
Figure 107
Network diagram for FTP configuration (B)
Configuration procedure
1
Configure the switch.
a
Log into the switch. (You can log into a switch through the Console port or by
Telneting to the switch. See Chapter 2 for detailed information.)
<S4200G>
b
Start the FTP service on the switch and create a user account and a password.
<S4200G>
system-view
System View: return to User View with Ctrl+Z.
[4200G]
ftp server enable
[4200G]
local-user switch
[4200G-luser-switch]
password simple hello
2
Run an FTP client application on the PC to connect to the FTP server. Upload the
application named switch.bin to the root directory of the Flash and download the
configuration file named vrpcfg.txt from the FTP server.
CAUTION:
If the free space of the Flash of the switch is insufficient to hold the file to
be uploaded, you need to delete useless files in the flash to make room for the file.
S4200G series switch is not shipped with FTP client applications. You need to
purchase and install it separately.
Switch
PC
Network
Network
Switch
PC
Network
Network
Содержание 4200G 12-Port
Страница 10: ...8 CONTENTS...
Страница 14: ...4 ABOUT THIS GUIDE...
Страница 46: ...32 CHAPTER 5 LOGGING IN THROUGH WEB BASED NETWORK MANAGEMENT SYSTEM...
Страница 48: ...34 CHAPTER 6 LOGGING IN THROUGH NMS...
Страница 60: ...46 CHAPTER 9 VLAN CONFIGURATION...
Страница 64: ...50 CHAPTER 10 MANAGEMENT VLAN CONFIGURATION...
Страница 80: ...66 CHAPTER 13 GVRP CONFIGURATION...
Страница 98: ...84 CHAPTER 15 LINK AGGREGATION CONFIGURATION...
Страница 112: ...98 CHAPTER 18 MAC ADDRESS TABLE MANAGEMENT...
Страница 126: ...112 CHAPTER 19 LOGGING IN THROUGH TELNET...
Страница 162: ...148 CHAPTER 20 MSTP CONFIGURATION...
Страница 274: ...260 CHAPTER 29 IGMP SNOOPING CONFIGURATION...
Страница 276: ...262 CHAPTER 30 ROUTING PORT JOIN TO MULTICAST GROUP CONFIGURATION...
Страница 298: ...284 CHAPTER 33 SNMP CONFIGURATION...
Страница 304: ...290 CHAPTER 34 RMON CONFIGURATION...
Страница 338: ...324 CHAPTER 36 SSH TERMINAL SERVICES...
Страница 356: ...342 CHAPTER 38 FTP AND TFTP CONFIGURATION...
Страница 365: ...Information Center Configuration Example 351 S4200G terminal logging...
Страница 366: ...352 CHAPTER 39 INFORMATION CENTER...
Страница 378: ...364 CHAPTER 40 BOOTROM AND HOST SOFTWARE LOADING...
Страница 384: ...370 CHAPTER 41 Basic System Configuration and Debugging...
Страница 388: ...374 CHAPTER 43 NETWORK CONNECTIVITY TEST...
Страница 406: ...392 CHAPTER 45 CONFIGURATION OF NEWLY ADDED CLUSTER FUNCTIONS...
Страница 422: ...408 CHAPTER 48 UDP HELPER CONFIGURATION...