EasyManuals Logo
Home>HP>Switch>5120 series

HP 5120 series User Manual

HP 5120 series
161 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #92 background imageLoading...
Page #92 background image
85
NOTE:
Only users with the manage level can use the ftp command to lo
g
in to an FTP server, enter FTP client view,
and execute directory and file related commands. However, whether the commands can be executed
successfully depends on the authorizations of the FTP server.
Establishing an FTP connection
Before you can access the FTP server, you must first establish a connection from the FTP client to the FTP
server. You can either use the ftp command to establish the connection directly or use the open command
in FTP client view to establish the connection.
When using the ftp command, you can specify the source interface (such as a loopback ) or source IP
address. The primary IP address of the specified source interface or the specified source IP address is
used as the source IP address of sent FTP packets. The source address of the transmitted packets is
selected following these rules:
If no source address is specified, the FTP client uses the IP address of the interface determined by the
matched route as the source IP address to communicate with an FTP server.
If the source address is specified with the ftp client source or ftp command, this source address is
used to communicate with an FTP server.
If you use the ftp client source command and the ftp command to specify a source address
respectively, the source address specified with the ftp command is used to communicate with an 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.
Follow these steps to establish an IPv4 FTP connection:
To do… Use the command…
Remarks
Enter system view system-view
Configure the source address of
the FTP client
ftp client source { interface interface-type
interface-number | ip source-ip-address }
Optional
A switch uses the IP address
of the interface determined by
the matched route as the
source IP address to
communicate with the FTP
server by default.
Exit to system view quit
Log in to the remote FTP server
directly in user view
ftp [ server-address [ service-port ]
[ source { interface interface-type
interface-number | ip
source-ip-address } ]
Use either approach.
The ftp command is available
in user view, and the open
command is available in FTP
client view.
Log in to the remote FTP server
indirectly in FTP client view
ftp
open server-address [ service-port ]

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP 5120 series and is the answer not in the manual?

HP 5120 series Specifications

General IconGeneral
BrandHP
Model5120 series
CategorySwitch
LanguageEnglish

Related product manuals