Ftp Client Source; Ftp Ipv6 - HPE D6020 Maintenance And Service Manual

Hide thumbs Also See for HPE D6020:
Table of Contents

Advertisement

ftp client source

Use ftp client source to specify the source IPv4 address for FTP packets sent to an IPv4 FTP
server.
Use undo ftp client source to restore the default.
Syntax
ftp client source { interface interface-type interface-number | ip source-ip-address }
undo ftp client source
Default
No source IPv4 address is specified for FTP packets sent to an IPv4 FTP server. The device uses the
primary IPv4 address of the output interface for the route to the server as the source address.
Views
System view
Predefined user roles
network-admin
Parameters
interface interface-type interface-number: Specifies an interface by its type and number. The device
will use the interface's primary IPv4 address as the source address. For successful FTP packet
transmission, make sure the interface is up and has the primary IPv4 address configured.
ip source-ip-address: Specifies an IPv4 address. For successful FTP packet transmission, make
sure this address is the IPv4 address of an interface in up state on the device.
Usage guidelines
If you execute this command multiple times, the most recent configuration takes effect.
The source address specified with the ftp command takes precedence over the source address
specified with the ftp client source command.
The source address specified with the ftp client source command applies to all FTP connections.
The source address specified with the ftp command applies only to the FTP connection that is being
established.
Examples
# Specify the source IPv4 address of 192.168.20.222 for FTP packets sent to an IPv4 FTP server.
<Sysname> system-view
[Sysname] ftp client source ip 192.168.20.222
Related commands
ftp

ftp ipv6

Use ftp ipv6 to log in to an FTP server and enter FTP client view.
Syntax
ftp ipv6 [ ftp-server [ service-port ] [ vpn-instance vpn-instance-name ] [ dscp dscp-value | source
{ ipv6 source-ipv6-address | interface interface-type interface-number } ] * [ -i interface-type
interface-number ] ]
123

Advertisement

Table of Contents
loading

Table of Contents