Ftp Client Source; Ftp Ipv6 - HP A7500 Series Command Reference Manual

Fundamentals
Hide thumbs Also See for A7500 Series:
Table of Contents

Advertisement

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 the ftp client source command to specify the source IP address of packets sent to an FTP server.
Use the undo ftp client source command 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.
The source IP address specified with the ftp client source command applies to all FTP connections while
the one specified with the ftp command applies to the current FTP connection only.
Related commands: display ftp client configuration.
Examples
# Specify the source IP address of packets sent to an FTP server as 2.2.2.2.
<Sysname> system-view
[Sysname] ftp client source ip 2.2.2.2
# Specify the IP address of interface VLAN-interface 1 as the source IP address of packets sent to an FTP
server.
<Sysname> system-view
[Sysname] ftp client source interface vlan-interface 1

ftp ipv6

Syntax
ftp ipv6 [ server-address [ service-port ] [ vpn-instance vpn-instance-name ] [ source ipv6
source-ipv6-address ] [ -i interface-type interface-number ] ]
58

Advertisement

Table of Contents
loading

Table of Contents