1-11Figure 1-4 Network diagram for FTP banner display configurationNetworkSwitch PCFTP Server FTP ClientVlan-Int11.1.1.1 /82.2 .2.2/8Configuration procedure1) Configure the switch (FTP server)# Configure the login banner of the switching engine as “login banner appears” and the shell banner as“shell banner appears”. For detailed configuration of other network requirements, see ConfigurationExample: The Device Operating as an FTP Server. system-view[device] header login %login banner appears%[device] header shell %shell banner appears%[device]2) Configure the PC (FTP client)# Access the switching engine through FTP. Enter the user name “switch“ and the password “hello” tolog in to the device, 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.1Connected to 1.1.1.1.220-login banner appears220 FTP service ready.User (1.1.1.1:(none)): switch331 Password required for switch.Password:230-shell banner appears230 User logged in.ftp>FTP Configuration: The Device Operating as an FTP ClientNetwork requirementsAs shown in Figure 1-5, the device operates as an FTP client and a remote PC as an FTP server. Theconfiguration file of the switching engine named config.cfg is stored on the PC. Download it to theswitching engine through FTP and use the startup saved-configuration command to specifyconfig.cfg as the main configuration file for next startup, and then reboot the device.z Create a user account on the FTP server with the user name “switch” and password “hello”, andgrant the user “switch” read and write permissions for the directory named “Switch” on the PC.z Configure the IP address 1.1.1.1 for a VLAN interface on the device, and 2.2.2.2 for the PC. Ensurea route exists between the device and the PC.