Operation Manual – File System Management
H3C S3610&S5510 Series Ethernet Switches
Chapter 2 FTP Configuration
2-3
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.
Follow these steps to establish an FTP connection (In IPv4 networking):
To do…
Use the command…
Remarks
Enter system view
system-view
—
Configure the source
address of the FTP client
ftp client source
{
interface
interface-type
interface-number
|
ip
source-ip-address
}
Optional
A device uses the IP
address of the interface
determined by the routing
protocol as the source IP
address to communicate
with the FTP server by
default.
Exit to system view
quit
—
Log onto the remote FTP
server directly in user
view
ftp
[
server-address
[
service-port
] [
source
{
interface
interface-type
interface-number
|
ip
source-ip-address
} ] ]
ftp
Log onto the remote FTP
server indirectly in FTP
client view
open
server-address
[
service-port
]
Use either approach.
Available in user view
Note:
z
If no primary IP address is configured on the source interface, the FTP connection
fails.
z
If you use the
ftp client source
command to first configure the source interface and
then the source IP address of the transmitted packets, the new source IP address
will overwrite the current one, and vice versa.
Follow these steps to establish an FTP connection (In IPv6 networking):
To do…
Use the command…
Remarks
Log onto the remote FTP
server directly in user
view
ftp ipv6
[
server-address
[
service-port
] [
source ipv6
source-ipv6-address
] [
-i
interface-type interface-number
] ]
Log onto the remote FTP
ftp ipv6
Use either
approach.
Available in user
view