6-15
z
If you specify the parameters, you will be prompted to enter the username and password for
accessing the FTP server.
z
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
Parameters
interface
interface-type interface-number
: Source interface for the FTP connection, including interface
type and interface number. The primary IP address configured on the source interface is the source IP
address of the packets sent by 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 that has
been 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.
Summary of Contents for E4510-48G
Page 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Page 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Page 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Page 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Page 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Page 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Page 914: ...5 17 Sysname reset oam ...
Page 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Page 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...