
2-6
FTP Client Configuration Example
Single Device Upgrade
Network requirements
z
As shown in
, use Device as an FTP client and PC as the FTP server. Their IP addresses
are 10.2.1.1/16 and 10.1.1.1/16 respectively. An available route exists between Device and PC.
z
Device downloads a startup file from PC for device upgrade, and uploads the configuration file to
PC for backup.
z
On PC, an FTP user account has been created for the FTP client, with the username being
abc
and the password being
pwd
.
Figure 2-2
Network diagram for FTPing a startup file from an FTP server
Configuration procedure
If the available memory space of the device is not enough, use the
fixdisk
command to clear the
memory or use the
delete
/unreserved
file
-
url
command to delete the files not in use and then perform
the following operations.
# Log in to the server through FTP.
<Sysname> ftp 10.1.1.1
Trying 10.1.1.1
Connected to 10.1.1.1
220 WFTPD 2.0 service (by Texas Imperial Software) ready for new user
User(10.1.1.1:(none)):abc
331 Give me your password, please
Password:
230 Logged in successfully
# Set the file transmission mode to binary to transmit startup file.
[ftp] binary
200 Type set to I.
# Download the startup file
newest.bin
from PC to Device.
[ftp] get newest.bin
# Upload the configuration file
config.cfg
of Device to the server for backup.
[ftp] ascii
Summary of Contents for S5120-EI Series
Page 139: ...ii...
Page 578: ...1 21 C...
Page 739: ...1 12 Enable ARP detection based on 802 1X security entries SwitchB arp detection mode dot1x...
Page 926: ...2 8...
Page 942: ...ii Single Device Upgrade 3 4 IRF System Upgrade 3 5...
Page 985: ...1 1...
Page 1018: ...1 6...