Displaying and maintaining the software upgrade

To do…

Use the command…

Remarks

Display information about system

display boot-loader [ slot

 

slot-number] [ { begin exclude

Available in any view

software

include } regular-expression ]

 

 

 

 

 

 

 

display patch information [

 

Display the patch information

{ begin exclude include }

Available in any view

 

regular-expression ]

 

 

 

 

Software upgrade configuration examples

Scheduled upgrade configuration example

Network requirement

As shown in Figure 47, the current software version is soft-version1 for Device. Upgrade the software version of Device to soft-version2 and configuration file to new-config at a time when few services are processed (for example, at 3 am) through remote operations.

The latest application soft-version2.bin and the latest configuration file new-config.cfg are both saved in the aaa directory of the FTP server.

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 Device and FTP server can reach each other.

A user can log in to Device via Telnet, and the user and Device can reach each other.

Figure 47 Network diagram for scheduled upgrade

Configuration procedure

1.Configure the FTP server (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 flash:/aaa directory).

<FTP-Server> system-view [FTP-Server] ftp server enable

123