Ftp Client Source - H3C MSR 20-20 Command Reference Manual

Msr 20/30/50 series routers
Hide thumbs Also See for MSR 20-20:
Table of Contents

Advertisement

Description
Related command:
Example

ftp client source

Syntax
View
Parameter
interface interface-type interface-number: Specifies the source interface by its
type and number. The primary IP address configured on this interface is the source
address of the transmitted packets. If no primary IP address is configured on the
source interface, the connection fails.
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.
Use the
ftp
command to log onto the remote FTP server and enter FTP client view.
Note that:
This command applies to IPv4 network.
If you use this command without specifying any parameters, you will simply
enter the FTP client view without logging onto the FTP server.
If you specify the parameter, you will be asked 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.
ftp client source.
# Log from the current device Sysname1 onto 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.
<Sysname1> 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 Login OK
[ftp]
ftp client source { interface interface-type interface-number | ip source-ip-address }
undo ftp client source
System view
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
2379

Advertisement

Table of Contents
loading

This manual is also suitable for:

Msr 20-21Msr 30-16Msr 30-20Msr 30-40Msr 30-60Msr 50 ... Show all

Table of Contents