Ftp Client Source - H3C S5120-SI Series Command Reference Manual

Hide thumbs Also See for S5120-SI Series:
Table of Contents

Advertisement

ip source-ip-address: The source IP address of the current FTP client. This source address must be the
one that has been configured on the device.
Description
Use the ftp command to log in to the remote FTP server and enter FTP client view.
Note that:
This command applies to IPv4 networks.
If you use this command without specifying any parameters, you will simply enter the FTP client
view without logging in to the FTP server.
If you specify the parameters, you will be prompted to enter the username and password for
accessing the FTP server.
The priority of the source address specified with this command is higher than that with the ftp
client source command. If you specify the source address with the ftp client source command
first and then with the ftp command, the source address specified with the ftp command is used to
communicate with the FTP server.
Related commands: ftp client source.
Examples
# Log in from the current device Sysname1 to the device Sysname2 with the IP address of
192.168.0.211. The source IP address of the packets sent is 192.168.0.212.
<Sysname> ftp 192.168.0.211 source ip 192.168.0.212
Trying 192.168.0.211 ...
Press CTRL+K to abort
Connected to 192.168.0.211.
220 FTP Server ready.
User(192.168.0.211:(none)):abc
331 Password required for abc
Password:
230 User logged in.
[ftp]

ftp client source

Syntax
ftp client source { interface interface-type interface-number | ip source-ip-address }
undo ftp client source
View
System view
Default Level
2: System level
1-15

Advertisement

Table of Contents
loading

Table of Contents