Command Reference Guide
3Com Router 5000 Family and Router 6000 Family ftp source-interface ● 175
Command Reference
ftp source-interface
Purpose Use the ftp source-interface command to specify a source interface, which
must be an existing local interface, for the FTP client. After that, the IP address of the
specified interface is used as the source IP address in each packet sent by the FTP
client.
Use the undo ftp source-interface command to delete the source interface
specified for the FTP client. After that, the source IP address in each packet sent by the
FTP client is that of the outgoing interface where the packet is sent out.
Syntax ftp source-interface interface-type interface-number
undo ftp source-interface
Parameters interface-type
interface-number
Specifies a source interface by its type and number.
Default By default, the source IP address in each packet sent by the FTP client is the IP address
of the interface where the packet is sent out.
Example Set the source interface for the FTP client to ethernet0/0/0.
[Router] ftp source-interface ethernet0/0/0
View This command can be used in the following views:
■ System view
Description You may specify a source IP address for the packets sent by the FTP client with the
ftp source-interface command or with the ftp source-ip command. If
both commands are configured, the one configured later overrides.