Command Reference Guide
180 ● ftphost source-ip 3Com Router 5000 Family and Router 6000 Family
Command Reference
ftphost source-ip
Purpose Use the ftp host source-ip command to specify the source IP address that the
FTP client uses when accessing the specified FTP server.
Syntax ftp host source-ip ip-address
Parameters host
IP address or name of an FTP server.
ip-address
Source IP address.
Default By default, the FTP client uses the IP address of the outbound interface to access the
specified FTP server.
Example Use 192.168.0.1 as the source IP address that the FTP client uses when accessing the
FTP server at 192.168.0.2.
<Router> ftp 192.168.0.2 source-ip 192.168.0.1
View This command can be used in the following views:
■ User view
Description The source IP address must be a local address.