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.
FTP Banner Display Configuration Example
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.
An FTP user named "switch" and the password "hello" have been configured on the FTP server.
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.
Configure the login banner of the switch as "login banner appears" and the shell banner as "shell
banner appears".
Network diagram
Figure 1-4 Network diagram for FTP banner display configuration
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
Example: A Switch Operating as an FTP
<Sysname> system-view
[Sysname] header login %login banner appears%
[Sysname] header shell %shell banner appears%
2)
Configure the PC (FTP client)
# Access the Ethernet switch through FTP. Enter the user name "switch" and the password "hello" to log
in to the switch, and then enter FTP view. Login banner appears after FTP connection is established.
Shell banner appears after the user passes the authentication.
C:\> ftp 1.1.1.1
Connected to 1.1.1.1.
220-login banner appears
220 FTP service ready.
User (1.1.1.1:(none)): switch
Server.
1-9
Configuration
Need help?
Do you have a question about the 4210 9-Port and is the answer not in the manual?
Questions and answers