3com 5500-ei pwr Reference Guide

Page of 1314
 
1-15 
ftp source-interface 
Syntax 
ftp source-interface interface-type interface-number 
undo ftp source-interface 
View 
System view 
Parameters 
interface-type: Type of the source interface, which can be VLAN interface or loopback interface. 
interface-number: Number of the source interface. 
Description 
Use the ftp source-interface command to specify a source interface as the source interface the switch 
uses every time it connects to an FTP server, and the configuration will be saved to the configuration 
file of the system. 
Use the undo ftp source-interface command to cancel the source interface setting. After you execute 
this command, the FTP client system decides which interface will be used for accessing FTP servers. 
By default, the switch uses the IP address of the outbound interface in the local routing table as the 
source IP address for connecting to an FTP server. The destination of the outbound interface is the 
subnet where the FTP server resides. 
To configure the source interface used only for the current connection to an FTP server, use the ftp 
{ cluster | remote-server } source-interface command. 
Examples 
# Specify VLAN-interface 1 as the source interface to be used in each connection between the switch 
and an FTP server. 
<Sysname> system-view 
System View: return to User View with Ctrl+Z. 
[Sysname] ftp source-interface Vlan-interface 1   
ftp source-ip 
Syntax 
ftp source-ip ip-address 
undo ftp source-ip 
View 
System view 
Parameters 
ip-address: IP address that is to be specified as the source IP address.