3com 5500-ei pwr Guia De Referência

Página de 1314
 
1-6 
ftp-server source-interface 
Syntax 
ftp-server source-interface interface-type interface-number 
undo ftp-server source-interface 
View 
System view 
Parameters 
interface-type: Type of the interface serving as the source interface of an FTP server. The interface type 
can be a loopback interface or a VLAN interface. 
interface-number: Number of the source interface of an FTP server. 
Description 
Use the ftp-server source-interface command to specify the source interface for an FTP server. After 
you execute this command, users can only use the IP address of the specified source interface as the 
destination address to connect to an FTP server, which can enhance security of the FTP server. 
Use the undo ftp-server source-interface command to cancel the source interface setting. 
By default, no source interface is specified for an FTP server, and an FTP client can use any reachable 
interface address on the FTP server as the destination address to connect to the FTP server. 
Related commands: ftp-server source-ip
Examples 
# Specify VLAN-interface 1 as the source interface of the FTP server. 
<Sysname> system-view 
System View: return to User View with Ctrl+Z. 
[Sysname] ftp-server source-interface Vlan-interface 1 
ftp-server source-ip 
Syntax 
ftp-server source-ip ip-address 
undo ftp-server source-ip 
View 
System view 
Parameters 
ip-address: The source IP address of an FTP server. 
Description 
Use the ftp-server source-ip command to specify the source IP address for an FTP server. After you 
execute this command, users can only use the specified source IP address as the destination address 
to connect to the FTP server. The value of argument ip-address must be an IP address on the device 
where the configuration is performed. Otherwise, a prompt appears to show the configuration fails.