This section provides an example for installing patches without interrupting services.
In-service patch installation can be performed on a device if the device performance needs to be optimized without affecting the use of the current system software, and if the device must work uninterruptedly for a long time.
As shown in Figure 1, the performance of Device A needs to be optimized. Huawei has provided a patch file for the customer to install.
The configuration roadmap is as follows:
To complete the configuration, you need the following data:
<HUAWEI> system-view [~HUAWEI] sysname DeviceA [*HUAWEI] commit [~DeviceA] ftp server enable Info: Enabling the FTP server configuration succeeded. [*DeviceA] aaa [*DeviceA-aaa] local-user user1 password cipher Hello-huawei123 [*DeviceA-aaa] local-user user1 service-type ftp [*DeviceA-aaa] local-user user1 ftp-directory cfcard:/ [*DeviceA-aaa] commit [~DeviceA-aaa] quit [~DeviceA] quit
<DeviceA> display local-user
------------------------------------------------------------------------------------------------
Username State Type Access-limit Online AdminLevel UsergroupId
------------------------------------------------------------------------------------------------
user1 Active F No 0 - -
------------------------------------------------------------------------------------------------
Total 1, 1 printed
The following part uses the Windows system as an example.
ftp 10.1.1.1 Connect to 10.1.1.1. 220 FTP server ready. User <10.1.1.1:<none>>:user1 331 Please specify the password. Password: 230 User logged in.
ftp> binary 200 Type set to I. ftp> lcd c:\temp Local directory now c:\temp.
ftp> put V***R***SPH001.pat 200 Port command okay. 226 Transfer complete.
<DeviceA> patch load V***R***SPH001.pat all run
Info: Operating, please wait for a moment......done.
Info: Succeeded in running the patch.
After the preceding configurations, run the display patch-information command, and you can view patches in the running state on DeviceA.
<DeviceA> display patch-information
Patch Package Name :cfcard:/V***R***SPH001.PAT
Patch Package Version :V***R***SPH001
Patch Package State :Running
Patch Package Run Time:2011-11-07 11:55:01