1-10Device Management Configuration ExamplesRemote Scheduled Automatic Upgrade Configuration Example (Centralized Device)Network requirementz As shown in Figure 1-2, the current software version is soft-version1 for Device. Upgrade thesoftware version of Device to soft-version2 and configuration file to new-config at a time whenfew services are processed (for example, at 3 am) through remote operations.z The newest application soft-version2.bin and the newest configuration file new-config.cfg areboth saved under the aaa directory of the FTP server.z The IP address of Device is 1.1.1.1/24, the IP address of the FTP server is 2.2.2.2/24, and the FTPserver is reachable.z User can log in to Device via Telnet and a route exists between User and Device.Figure 1-2 Network diagram for remote scheduled automatic upgradeFTP ClientFTP ServerUserTelnetDevice1.1.1.1/242.2.2.2/24InternetConfiguration procedure1) Configuration on the FTP server (Note that configurations may vary with different types of servers)z Set the access parameters for the FTP client (including enabling the FTP server function, settingthe FTP username to aaa and password to hello, and setting the user to have access to theflash:/aaa directory). system-view[FTP-Server] ftp server enable[FTP-Server] local-user aaa[FTP-Server-luser-aaa] password cipher hello[FTP-Server-luser-aaa] service-type ftp[FTP-Server-luser-aaa] authorization-attribute work-directory flash:/aaaz Use text editor on the FTP server to edit batch file auto-update.txt. The following is the content ofthe batch file:returnstartup saved-configuration new-config.cfgboot-loader file soft-version2.bin mainreboot2) Configuration on Device# Log in to the FTP server (note that the prompt may vary with servers.)