432 CHAPTER 38: FTP AND SFTP CONFIGURATION
Figure 147 Process of displaying a shell banner
n
For details about the header command, refer to “Logging into an Ethernet
Switch” on page 21.
Displaying FTP server information
After the above configurations, you can execute the display commands in any
view to display the running status of the FTP server and verify your configurations.
FTP Configuration: A
Switch Operating as an
FTP Client
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.
Table 332
lists the operations that can be performed on an FTP client.
Tabl e 330 Configure the banner display for an FTP server
Operation Command Description
Enter system view system-view -
Configure a login banner header login text Required
Use either command or both.
By default, no banner is
configured.
Configure a shell banner header shell text
Tabl e 331 Display FTP server information
Operation Command Description
Display the information about
FTP server configurations on a
switch
display ftp-server Available in any view
Display the login FTP client on
an FTP server
display ftp-user
Tabl e 332 Basic configurations on an FTP client
Operation Command Description
Enter FTP client view ftp [ cluster | remote-server [
port-number ] ]
-