Software upgrade configuration examples
Immediate upgrade configuration example (for standalone
mode)
Network requirements
As shown in
•
bootrom-version1 for the device. Immediately upgrade the software version and Boot ROM version
of the device to soft-version2 and bootrom-version2 respectively through remote operations.
The latest system software images soft-version2.app and bootrom-version2.btw are both saved in
•
the aaa directory of the FTP server.
The IP address of the device is 1.1.1.1/24, the IP address of the FTP server is 2.2.2.2/24, and the
•
device and the FTP server can reach each other.
A user has logged in to the device via Telnet and the user and device can reach each other.
•
Figure 46 Network diagram for immediate upgrade
Configuration procedure
Configuration on the FTP server (configurations may vary with different types of servers)
•
# Enable the FTP server.
<FTP-Server> system-view
[FTP-Server] ftp server enable
# Set the FTP username to aaa and password to hello.
[FTP-Server] local-user aaa
[FTP-Server-luser-aaa] password cipher hello
# Configure the user to have access to the aaa directory.
[FTP-Server-luser-aaa] service-type ftp
[FTP-Server-luser-aaa] authorization-attribute work-directory flash:/aaa
•
Configuration on the device
Figure
46, the current software version is soft-version1, and Boot ROM version is
124