Command Reference Guide
3Com Router 5000 Family and Router 6000 Family ftphost source-interface ● 179
Command Reference
ftphost source-interface
Purpose Use the ftp host source-interface command to specify the source interface
that the FTP client uses when accessing the specified FTP server. This interface must be
an exiting local interface.
Syntax ftp host source-interface interface-type interface-number
Parameters host
IP address or name of an FTP server.
interface-type
interface-number
Specifies a source interface by its type and number.
Default By default, the FTP client uses the IP address of the outbound interface to access the
specified FTP server.
Example Set the source IP address that the FTP client uses when accessing a specified FTP server
to ethernet0/0/0.
<Router> ftp 192.168.0.2 source-interface ethernet0/0/0
View This command can be used in the following views:
■ User view