Ftp Ipv - H3C S7500E Series Command Manual

Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

Command Manual – File System Management
H3C S7500E Series Ethernet Switches
Parameters
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 FTP. If no primary
IP address is configured on the source interface, the connection fails.
ip source-ip-address: Source IP address of the FTP connection. It must be an IP
address that has been configured on the device.
Description
Use the ftp client source command to configure the source address of the transmitted
FTP packets from the FTP client.
Use the undo telnet client source command to restore the default.
By default, a device uses the IP address of the interface determined by the routing
protocol as the source IP address to communicate with an FTP server.
Note that:
The source address includes the source interface and the source IP address. If
you use the ftp client source command to specify the source interface and the
source IP address, the newly specified source IP address overwrites the original
one and vice versa.
If the source address is specified with the ftp client source command and then
with the ftp command, the source address specified with the latter one is used to
communicate with the FTP server.
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.
Related commands: display ftp client configuration.
Examples
# Specify the source IP address of the FTP client as 2.2.2.2.
<Sysname> system-view
[Sysname] ftp client source ip 2.2.2.2
# Specify the source interface of the FTP client as VLAN-interface 1.
<Sysname> system-view
[Sysname] ftp client source interface Vlan-interface 1

2.2.14 ftp ipv6

Syntax
ftp ipv6 [ server-address [ service-port ] [ source ipv6 source-ipv6-address ] [ -i
interface-type interface-number ] ]
Chapter 2 FTP Configuration Commands
2-14

Advertisement

Table of Contents
loading

Table of Contents