Ftp Client Source - HP MSR Series Command Reference Manual

Hide thumbs Also See for MSR Series:
Table of Contents

Advertisement

source { interface interface-type interface-number | ip source-ip-address }: Specifies the source address
used to establish the FTP connection.
interface interface-type interface-number: Specifies an interface by its type and number. The
primary IPv4 address of this interface will be used as the source address for outgoing FTP packets.
If no primary IPv4 address is configured on the source interface, the connection cannot be
established.
ip source-ip-address: Specifies an IPv4 address. This address must have already been configured
on the device.
Usage guidelines
This command is only applicable to IPv4 networks.
If no parameters are specified, this command enters the FTP client view without logging in to the FTP
server.
If the server parameters are specified, you are prompted to enter the username and password for logging
in to the FTP server.
Examples
# Log in to the FTP server 192.168.0.21 1, and specify the source IPv4 address for outgoing FTP packets
as 192.168.0.212.
<Sysname>ftp 192.168.0.211 source ip 192.168.0.212
Press CTRL+C to abort.
Connected to 192.168.0.211 (192.168.0.211).
220 WFTPD 2.0 service (by Texas Imperial Software) ready for new user
User (192.168.0.211:(none)): abc
331 Give me your password, please
Password:
230 Logged in successfully
Remote system type is MSDOS.
ftp>

ftp client source

Use ftp client source to specify the source IPv4 address for outgoing FTP packets.
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 configured for outgoing FTP packets. The device uses the primary IPv4 address
of the output interface for the route to the server as the source IP address.
Views
System view
Predefined user roles
network-admin
106

Advertisement

Table of Contents
loading

Table of Contents