通过介绍设备升级的具体步骤,帮助用户顺利完成系统设备升级。
设备当前系统软件版本已经不能满足用户需要,用户需要更大的规格和部署更多的特性,此时用户需要对系统软件进行升级。
如图1所示,网络中的某设备的软件版本无法满足用户需求需要更新,华为公司提供了系统软件升级的配套软件文件,此时,用户可以为设备进行软件升级。
采用以下思路升级设备:
为完成此配置项,需准备如下的数据:
system-view
[Huawei] ftp server enable
Info: Succeeded in starting the FTP server.
[Huawei] aaa
[Huawei-aaa] local-user user1 password cipher huawei
info: A new user added
[Huawei-aaa] local-user user1 service-type ftp
[Huawei-aaa] local-user user1 ftp-directory sd1:/
[Huawei-aaa] quit
[Huawei] quit
display local-user
- ----------------------------------------------------------------------------
- User-name State AuthMask AdminLevel
- ----------------------------------------------------------------------------
- user1 A H -
- user2 A A -
- ----------------------------------------------------------------------------
- Total 2 user(s)
- C:\Documents and Settings\Administrator> ftp 10.1.1.1
- Connect to 10.1.1.1.
- 220 FTP server ready.
- User <10.1.1.1:
>: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 V200R002C00.cc
- 200 Port command okay.
- 226 Transfer complete.
# 指定下次启动时运行的系统软件。
startup system-software sd1:/V200R002C00.cc
- This operation will take several minutes, please wait..........
- Info: Succeeded in setting the file for booting system
# 指定下次启动时运行的配置文件。
startup saved-configuration aa.cfg
- This operation will take several minutes, please wait...
- Info: Succeeded in setting the file for booting system
# 查看下次重新启动时的系统软件和配置文件,确认下次启动软件为指定的软件版本。
display startup
- MainBoard:
- Startup system software : sd1:/V200R001C00.cc
- Next startup system software : sd1:/V200R002C00.cc
- Backup system software for next startup: null
- Startup saved-configuration file: sd1:/iascfg.zip
- Next startup saved-configuration file : sd1:/aa.cfg
- Startup license file: null
- Next startup license file: null
- Startup patch package: null
- Next startup patch package: null
- Startup voice-files: null
- Next startup voice-files: null
# 配置系统的备份启动软件包,确保系统在出现故障的情况下能重新正常启动。
startup system-software sd1:/V200R001C00_backup.cc backup
- This operation will take several minutes, please wait...
- Info: Succeeded in setting the backup file for booting system
# 保存配置文件。
save
- The current configuration will be written to the device.
- Are you sure to continue? [Y/N]:y
- It will take several minutes to save configuration file, please wait...
- Configuration file had been saved successfully
- Note: The configuration file will take effect after being activated
# 重启设备。
reboot
- Info: The system is comparing the configuration, please wait.
- Warning: All the configuration will be saved to the next startup configuration.
- Continue ? [y/n]:y
- It will take several minutes to save configuration file, please wait........
- Configuration file had been saved successfully
- Note: The configuration file will take effect after being activated
- System will reboot! Continue ? [y/n]:y
- Info: system is rebooting ,please wait...
设备重启后,执行命令display startup可以看到设备当前的系统软件版本为新的版本,表明升级完成。
display startup
- MainBoard:
- Startup system software : sd1:/V200R002C00.cc
- Next startup system software : sd1:/V200R002C00.cc
- Backup system software for next startup: sd1:/V200R001C00_backup.cc
- Startup saved-configuration file: sd1:/aa.cfg
- Next startup saved-configuration file : sd1:/aa.cfg
- Startup license file: null
- Next startup license file: null
- Startup patch package: null
- Next startup patch package: null
- Startup voice-files: null
- Next startup voice-files: null
- #
- ftp server enable
- #
- aaa
- local-user user1 cipher password N`C55QK<`=/Q=^Q`MAF4<1!!
- local-user user1 ftp-directory sd1:/
- local-user user1 service-type ftp
- #
- Startup system software: sd1:/V200R001C00.cc
- Next startup system software: sd1:/V200R002C00.cc
- #
- return