
FTP Configuration
437
FTP Configuration: A
Switch Operating as an
FTP Client
Network requirements
A switch operates as an FTP client and a remote PC as an FTP server. The switch
application named
switch.bin
is stored on the PC. Download it to the switch
through FTP and use the
boot boot-loader
command to specify
switch.bin
as
the application for next startup. Reboot the switch to upgrade the switch
application, and then upload the switch configuration file named
config.cfg
to
the "switch" directory of the PC to back up the configuration file.
■
Create a user account on the FTP server with the user name "switch" and
password "hello", and grant the user "switch" read and write permissions for
the directory named "Switch" on the PC.
■
Configure the IP address 1.1.1.1 for a VLAN interface on the switch, and
2.2.2.2 for the PC. Ensure a route exists between the switch and the PC.
Network diagram
Figure 150
Network diagram for FTP configurations: a switch operating as an FTP client
Configuration procedure
1
Configure the PC (FTP server)
Perform FTP server-related configurations on the PC, that is, create a user account
on the FTP server with user name "switch" and password "hello".
2
Configure the switch (FTP client)
# Log in to the switch. (You can log in to a switch through the Console port or by
telnetting the switch. See the "Login" module for detailed information.)
<4210>
c
CAUTION:
If available space on the Flash memory of the switch is not enough to
hold the file to be uploaded, you need to delete files not in use from the Flash
memory to make room for the file, and then upload the file again. The files in use
cannot be deleted. If you have to delete the files in use to make room for the file
to be uploaded, you can only delete/download them through the Boot ROM
menu.
# Connect to the FTP server using the
ftp
command in user view. You need to
provide the IP address of the FTP server, the user name and the password as well to
enter FTP view.
<4210> ftp 2.2.2.2
Trying ...
Press CTRL+K to abort
Connected.
220 FTP service ready.
User(none):switch
331 Password required for swwitch.
Switch A
FTP Client
FTP Server
Vlan -Int1
1.1.1.1/8
2.2.2 .2/8
Network
PC
Summary of Contents for 4210 PWR
Page 22: ...20 CHAPTER 1 CLI CONFIGURATION...
Page 74: ...72 CHAPTER 3 CONFIGURATION FILE MANAGEMENT...
Page 84: ...82 CHAPTER 5 VLAN CONFIGURATION...
Page 96: ...94 CHAPTER 8 IP PERFORMANCE CONFIGURATION...
Page 108: ...106 CHAPTER 9 PORT BASIC CONFIGURATION...
Page 122: ...120 CHAPTER 11 PORT ISOLATION CONFIGURATION...
Page 140: ...138 CHAPTER 13 MAC ADDRESS TABLE MANAGEMENT...
Page 234: ...232 CHAPTER 17 802 1X CONFIGURATION...
Page 246: ...244 CHAPTER 20 AAA OVERVIEW...
Page 270: ...268 CHAPTER 21 AAA CONFIGURATION...
Page 292: ...290 CHAPTER 26 DHCP BOOTP CLIENT CONFIGURATION...
Page 318: ...316 CHAPTER 29 MIRRORING CONFIGURATION...
Page 340: ...338 CHAPTER 30 CLUSTER...
Page 362: ...360 CHAPTER 33 SNMP CONFIGURATION...
Page 368: ...366 CHAPTER 34 RMON CONFIGURATION...
Page 450: ...448 CHAPTER 39 TFTP CONFIGURATION...
Page 451: ......
Page 452: ...450 CHAPTER 39 TFTP CONFIGURATION...
Page 470: ...468 CHAPTER 40 INFORMATION CENTER...
Page 496: ...494 CHAPTER 44 DEVICE MANAGEMENT...