Figure 1-2 Network diagram for remote scheduled automatic upgrade
Configuration on the FTP server (Note that configurations may vary with different types of servers)
Set the access parameters for the FTP client (including enabling the FTP server function, setting
the FTP username to aaa and password to hello, and setting the user to have access to the
[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:/aaa
Use text editor on the FTP server to edit batch file auto-update.txt. The following is the content of
the batch file:
startup saved-configuration new-config.cfg
boot-loader file soft-version2.bin main
Configuration on Device
# Log in to the FTP server (note that the prompt may vary with servers.)
<Device> ftp 126.96.36.199
Trying 188.8.131.52 ...
Press CTRL+K to abort
Connected to 184.108.40.206.
220 WFTPD 2.0 service (by Texas Imperial Software) ready for new user
331 Give me your password, please
230 Logged in successfully
# Download file auto-update.txt on the FTP server.