3com MSR 20-20 참조 매뉴얼

다운로드
페이지 2742
2380
C
HAPTER
 158: FTP C
LIENT
 C
ONFIGURATION
 C
OMMANDS
FTP. If no primary IP address is configured on the source interface, the connection 
fails.
ip source-ip-address: Source IP address of the FTP connection. It must be an IP 
address configured on the device.
Description
Use the ftp client source command to configure the source address of the 
transmitted FTP packets from the FTP client.
Use the undo telnet client source command to restore the default.
By default, a device uses the IP address of the interface determined by the routing 
protocol as the source IP address to communicate with an FTP server.
Note that:
The source address includes the source interface and the source IP address. If 
you use the ftp client source command to specify the source interface and the 
source IP address, the newly specified source IP address overwrites the original 
one and vice versa.
If the source address is specified with the ftp client source command and 
then with the ftp command, the source address specified with the latter one is 
used to communicate with the FTP server.
The source address specified with the ftp client source command is valid for 
all ftp connections and the source address specified with the ftp command is 
valid only for the current ftp connection.
Related command:
Example
# Specify the source IP address of the FTP client as 2.2.2.2.
<Sysname> system-view
[Sysname] ftp client source ip 2.2.2.2 
# Specify the source interface of the FTP client as Ethernet1/0.
<Sysname> system-view
[Sysname] ftp client source interface ethernet 1/0 
ftp ipv6
Syntax
ftp ipv6 [ server-address [ service-port ] [ source ipv6 source-ipv6-address ] [ -i 
interface-type interface-number ] ]
View
User view
Parameter
server-address: IP address or host name of the remote FTP server.
service-port: Port number of the FTP server, in the range 0 to 65535. The default 
value is 21.