TFTP Overview
235
FTP Server Configuration
Example
Networking Requirement
The Switch serves as FTP server and the remote PC as FTP client. The configuration
on FTP server: Configure a FTP user named as Switch, with password hello and
with read and write authority over the flash root directory on the PC. The IP
address of a VLAN interface on the Switch is 1.1.1.1, and that of the PC is 2.2.2.2.
The Switch and PC are reachable.
The Switch application
switch.app
is stored on the PC. Using FTP, the PC can
upload the
switch.app
from the remote FTP server and download the
config.cfg
from the FTP server for backup purpose.
Networking Diagram
Figure 62
N
etworking for FTP Configuration
1
Configure the Switch
Log into the Switch (locally through the Console port or remotely using Telnet).
<4500>
2
Start FTP function and set username, password and file directory.
[4500]
ftp server enable
[4500]
local-user switch
[4500-luser-switch]
service-type ftp ftp-directory flash:
[4500-luser-switch]
password simple hello
3
Run FTP client on the PC and establish FTP connection. Upload the
switch.app
to
the Switch under the Flash directory and download the
config.cfg
from the
Switch. FTP client is not shipped with the Switch, so you need to buy it separately.
CAUTION:
If the flash memory of the Switch is not enough, you need to first
delete the existing programs in the flash memory and then upload the new ones.
4
When the uploading is completed, initiate the file upgrade on the Switch.
<4500>
Use the
boot boot-loader
command to specify the downloaded program as the
application at the next login and reboot the Switch.
<4500>
boot boot-loader switch.app
<4500>
reboot
TFTP Overview
Trivial File Transfer Protocol (TFTP) is a simple protocol for file transmission.
Compared with FTP, another file transmission protocol, TFTP has no complicated
interactive access interface or authentication control, and therefore it can be used
Switch
PC
Network
Switch
Switch
PC
Network
Summary of Contents for Switch 4500 26-Port
Page 16: ...14 ABOUT THIS GUIDE...
Page 58: ...56 CHAPTER 2 PORT OPERATION...
Page 104: ...102 CHAPTER 5 NETWORK PROTOCOL OPERATION...
Page 130: ...128 CHAPTER 6 IP ROUTING PROTOCOL OPERATION...
Page 154: ...152 CHAPTER 7 ACL CONFIGURATION...
Page 228: ...226 CHAPTER 11 802 1X CONFIGURATION...
Page 250: ...248 CHAPTER 14 DEVICE MANAGEMENT...
Page 280: ...278 CHAPTER 15 SYSTEM MAINTENANCE AND DEBUGGING...
Page 312: ...310 CHAPTER 18 NTP CONFIGURATION...
Page 340: ...338 CHAPTER 19 SSH TERMINAL SERVICES...
Page 350: ...348 CHAPTER 20 PASSWORD CONTROL CONFIGURATION OPERATIONS...
Page 388: ...386 APPENDIX B RADIUS SERVER AND RADIUS CLIENT SETUP...