Operation Manual – FTP-SFTP-TFTP
H3C S5100-SI/EI Series Ethernet Switches
Chapter 1 FTP and SFTP Configuration
1-7
To do…
Use the command…
Remarks
Enter system view
system-view
—
Configure a login banner
header login
text
Configure a shell banner
header shell
text
Required
Use either command or both.
By default, no banner is
configured.
Note:
For details about the
header
command, refer to the Login part of the manual.
VII. Displaying FTP server information
To do…
Use the command…
Remarks
Display the information about FTP
server configurations on a switch
display ftp-server
Display the source IP address set for
an FTP server
display ftp-server
source-ip
Display the login FTP client on an
FTP server
display ftp-user
Available in
any view
1.2.2 FTP Configuration: A Switch Operating as an FTP Client
I. Basic configurations on an FTP client
By default a switch can operate as an FTP client. In this case, you can connect the
switch to the FTP server to perform FTP-related operations (such as creating/removing
a directory) by executing commands on the switch.
Follow these steps to perform basic configurations on an FTP client:
To do…
Use the command…
Remarks
Enter FTP client view
ftp
[
cluster
|
remote-server
[
port-number
] ]
—
Specify to transfer files in
ASCII characters
ascii
Specify to transfer files in
binary streams
binary
Use either command.
By default, files are
transferred in ASCII
characters.
Set the data transfer
mode to passive
passive
Optional
passive
by default.