Ftp Client Source - HP A8800 Series Fundamentals Command Reference

Hide thumbs Also See for A8800 Series:
Table of Contents

Advertisement

The source IP address specified with the ftp command has higher priority than that specified with the ftp
client source command and thus is preferably used.
Related commands: ftp client source.
Examples
# Log in from the current router Sysname1 to the router Sysname2 with the IP address of 192.168.0.21 1.
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 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: Specifies the source interface for establishing FTP connections.
The primary IP address of the source interface is used as the source IP address of packets sent to an FTP
server. If the source interface has no primary IP address specified, no FTP connection can be established.
ip source-ip-address: Specifies the source IP address of packets sent to an FTP server, which is one of the
IP addresses of the device.
Description
Use ftp client source to specify a source IP address for packets sent to an FTP server.
Use undo ftp client source to restore the default.
By default, the source IP address is the IP address of the output interface of the route to the server is used
as the source IP address.
If you use the ftp client source command to first configure a source interface and then a source IP address,
the source IP address overwrites the source interface, and vice versa.
If you first use the ftp client source command to specify a source IP address and then use the ftp command
to specify another source IP address, the latter is used.
59

Advertisement

Table of Contents
loading

Table of Contents