华为交换机S9300升级系统版本
1、将S9300交换机作为ftp服务器上传对应的版本到cfcard:/下
<Quidway> system-view
[Quidway] ftp server enable
Warning: FTP is not a secure protocol, and it is recommended to use SFTP.
Info: Succeeded in starting the FTP server.
[Quidway] aaa
[Quidway-aaa] local-user s9300 password irreversible-cipher admin@123456
Info: Add a new user
[Quidway-aaa] local-user s9300 privilege level 3
[Quidway-aaa] local-user s9300 ftp-directory cfcard:
[Quidway-aaa] local-user s9300 service-type ftp
[Quidway-aaa] quit
2、使用cmd连接ftp服务器也就是交换机,使用put将对应的版本上传到cfcard:/
ftp 10.164.30.20
put S9300-V200R020C00-SRUA&B.cc
3、设置设备启动时使用的系统软件
4、更改主用主控板的启动程序为新上传的系统软件。
<Quidway> startup system-software S9300-V200R020C00-SRUA&B.cc
Info: Succeeded in setting the software for booting system.
5、如果有备用主控板,向备用主控板拷贝系统软件和设置备用主控板的启动系统软件步骤必须要做。如果没有备用主控板,则可以略过。
如果有备用主控板,需要通过命令行将新的系统软件拷贝到备用主控板。以CF卡为例。
<Quidway> copy S9300-V200R020C00-SRUA&B.cc slave#cfcard:/
Copy cfcard:/S9300-V200R020C00-SRUA&B.cc to slave#cfcard:/ S9300-V200R020C00-SRUA&B.cc?[Y/N]:y
100% complete/
Info: Copied file cfcard:/ S9300-V200R020C00-SRUA&B.cc to slave#cfcard:/ S9300-V200R020C00-SRUA&B.cc...Done.
当文件过大时,拷贝耗时可能超过3分钟,请耐心等待。
6、更改备用主控板的启动系统软件为新上传的系统软件。
<Quidway> startup system-software S9300-V200R020C00-SRUA&B.cc slave-board
The file cfcard:/S9300-V200R020C00-SRUA&B.cc already exists in the board 8. Overwrite? [Y/N]:n
Info: Succeeded in setting the software for booting system
使用display startup命令查看下次启动所用的系统软件是否为新上传的系统软件。
<Quidway> display startup
MainBoard:
Configured startup system software: cfcard:/S9300-V200R019C10SPC500.cc
Startup system software: cfcard:/S9300-V200R019C10SPC500.cc
Next startup system software: cfcard:/S9300-V200R020C00-SRUA&B.cc
Startup saved-configuration file: cfcard:/vrpcfg.zip
Next startup saved-configuration file: cfcard:/vrpcfg.zip
Startup paf file: default
Next startup paf file: default
Startup license file: default
Next startup license file: default
Startup patch package: NULL
Next startup patch package: NULL
SlaveBoard:
Configured startup system software: cfcard:/S9300-V200R019C10SPC500.cc
Startup system software: cfcard:/S9300-V200R019C10SPC500.cc
Next startup system software: cfcard:/S9300-V200R020C00-SRUA&B.cc
Startup saved-configuration file: cfcard:/vrpcfg.zip
Next startup saved-configuration file: cfcard:/vrpcfg.zip
Startup paf file: default
Next startup paf file: default
Startup license file: default
Next startup license file: default
Startup patch package: NULL
Next startup patch package: NULL
reboot 重启
检查配置版本是否升级完成!!!