Command Reference Guide

3Com Router 3000 Ethernet Family
Command Reference Guide Chapter 4 File Management Commands
3Com Corporation
4-35
Description
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.
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
4.4.14 ftp host source-ip
Syntax
ftp host source-ip ip-address
View
User view
Parameter
host: IP address or name of an FTP server.
ip-address: Source IP address.
Description
Use the ftp host source-ip command to specify the source IP address that the FTP
client uses when accessing the specified FTP server. This source IP address must be a
local address.
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
4.4.15 ftp source-interface
Syntax
ftp source-interface interface-type interface-number