Ftp Client Source - HP 6125XLG Command Reference Manual

Blade switch fundamentals command reference
Table of Contents

Advertisement

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 IP address of sent FTP packets as
192.168.0.212.
<Sysname>ftp 192.168.0.211 source ip 192.168.0.212
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 FTP packets sent by the FTP client.
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 IP address is configured for sent FTP packets. The device uses the primary IP address of the
output interface of the route to the server as the source IP address.
Views
System view
Predefined user roles
network-admin
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 a FTP
server. Make sure the interface is up and has the primary IP address configured. Otherwise, the
transmission fails.
ip source-ip-address: Specifies the source IP address of sent FTP packets. It must be the IP address of an
interface in up state. Otherwise, the transmission fails.
Usages 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 one specified with the ftp
client source command.
79

Advertisement

Table of Contents
loading

Table of Contents