FTP Overview 447
Displaying the Source IP Address of the FTP Client
Use the display command in any view to display the source IP address of the FTP client
for service packets.
FTP Client Configuration Example
Networking Requirement
The Switch serves as the FTP client and the remote PC as the FTP server. The
configuration on the FTP server: Configure a FTP user named as Switch, with the
password hello and with read and write authority over the Switch 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 Switch can
download the switch.app from the remote FTP server and upload the config.cfg to
the FTP server under the Switch directory for backup purpose.
Networking Diagram
Figure113 Networking for FTP Configuration
Configuration Procedure
1Configure the FTP server parameters on the PC: a user named as Switch, password
hello, read and write authority over the Switch directory on the PC.
2Configure the Switch
Log into the Switch (locally through the Console port or remotely using Telnet).
<SW5500>
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.
Type in the right command in User View to establish FTP connection, then correct
username and password to log into the FTP server.
<SW5500> ftp 2.2.2.2
Trying ...
Press CTRL+K to abort
Connected.
220 WFTPD 2.0 service (by Texas Imperial Software) ready for new user
User(none):switch
331 Give me your password, please
Table493 Display the source IP address of the FTP Client
Operation Command
Display the source IP address of the TFTP client display tftp source-ip
Swit ch PC
Netwo rk
Swit chSwit ch PC
Netwo rk