Command Reference Guide
176 ● ftp source-ip 3Com Router 5000 Family and Router 6000 Family
Command Reference
ftp source-ip
Purpose Use the ftp source-ip command to specify a source IP address for the packets
sent by the FTP client. This IP address must be a local IP address.
Use the undo ftp source-ip command to delete the source IP address specified
for the FTP client. After that, the source IP address of each packet sent by the FTP
client is the IP address of the interface where the packet is sent out.
Syntax ftp source-ip ip-address
undo ftp source-ip
Parameters ip-address
Source IP address.
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 Use 192.168.0.1 as the source IP address in the packets sent by the FTP client.
[Router] ftp source-ip 192.168.0.1
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.