Operation Manual – FTP-SFTP-TFTP
H3C S3100 Series Ethernet Switches
Chapter 1 FTP and SFTP Configuration
1-10
<Sysname> boot boot-loader switch.bin
<Sysname> reboot
Note:
For information about the
boot boot-loader
command and how to specify the startup
file for a switch, refer to the System Maintenance and Debugging part of this manual.
1.2.4 FTP Banner Display Configuration Example
I. Network requirements
Configure the Ethernet switch as an FTP server and the remote PC as an FTP client.
After a connection between the FTP client and the FTP server is established and login
succeeds, the banner is displayed on the FTP client.
z
An FTP user named “switch” and the password “hello” have been configured on
the FTP server.
z
The IP addresses 1.1.1.1 for a VLAN interface on the switch and 2.2.2.2 for the
PC have been configured. Ensure that a route exists between the switch and the
PC.
z
Configure the login banner of the switch as “login banner appears” and the shell
banner as “shell banner appears”.
II. Network diagram
IP network
FTP Server
FTP Client
SwitchA
PC
VLAN-Int1
1.1.1.1/8
2.2.2.2/8
Figure 1-4
Network diagram for FTP banner display configuration
III. Configuration procedure
1)
Configure the switch (FTP server)
# Configure the login banner of the switch as “login banner appears” and the shell
banner as “shell banner appears”. For detailed configuration of other network
requirements, see section
1.2.3 Configuration Example: A Switch Operating as an FTP
Server
.
<Sysname> system-view
[Sysname] header login %login banner appears%
[Sysname] header shell %shell banner appears%