华为交换机系统版本升级(S7706)

华为交换机系统版本升级(S7706)本案例为S7706r012升级到R019,内含X系列单板作为无线AC控制器,slot7\8分别为主备双控制器[10:28:19]GZLZ-4F-4F01-S7706-CORE-1displa

本案例为S7706 r012升级到R019,内含X系列单板作为无线AC控制器,slot7\8分别为主备双控制器

[10:28:19]<GZLZ-4F-4F01-S7706-CORE-1>display  version  
[10:28:19]Huawei Versatile Routing Platform Software
[10:28:19]VRP (R) software, Version 5.170 (S7700 V200R012C00SPC500)

[10:28:27]<GZLZ-4F-4F01-S7706-CORE-1>dis device 
[10:28:27]S7706’s Device status:
[10:28:27]Slot  Sub Type         Online    Power      Register       Status     Role  
[10:28:27]——————————————————————————-
[10:28:27]2     –   ES0DG24TFA00 Present   PowerOn    Registered     Normal     NA    
[10:28:27]5     –   ES1D2S16SX2S Present   PowerOn    Registered     Normal     NA    
[10:28:27]7     –   ES1D2SRUE000 Present   PowerOn    Registered     Normal     Master
[10:28:27]8     –   ES1D2SRUE000 Present   PowerOn    Registered     Normal     Slave 

[10:28:27]PWR1  –   –            Present   PowerOn    Registered     Normal     NA    
[10:28:27]PWR3  –   –            Present   PowerOn    Registered     Normal     NA    
[10:28:27]CMU1  –   EH1D200CMU00 Present   PowerOn    Registered     Normal     Master
[10:28:27]FAN1  –   –            Present   PowerOn    Registered     Normal     NA    
[10:28:27]FAN2  –   –            Present   PowerOn    Registered     Normal     NA    

先进行FTP把版本包上传到交换机上面

[10:29:14][GZLZ-4F-4F01-S7706-CORE-1]ftp server enable  
[10:29:14]Warning: FTP is not a secure protocol, and it is recommended to use SFTP.

开启FTP传输的目录,这里开启的为主控slot7 的flash目录

[10:29:30][GZLZ-4F-4F01-S7706-CORE-1-aaa] local-user admin  ftp-directory flash:
[10:29:30]Info: Please ensure that the configured FTP directory is valid.
[10:29:30]Info: After changing the rights (including the password, access type, FTP directory, HTTP directory, and level) of a local user, the rights of users already online do not change. The change takes effect to users who go online after the change.

由于这边双主控,所以版本包,还需要传到备主控

[11:02:50]<GZLZ-4F-4F01-S7706-CORE-1>copy s7700-v200r019c10spc500-srue&h&k.cc slave#flash:
[11:02:51]Copy flash:/s7700-v200r019c10spc500-srue&h&k.cc to slave#flash:/s7700-v200r019c10spc500-srue&h&k.cc?[Y/N]:y
[11:37:12]100%  complete.|

[10:29:30][GZLZ-4F-4F01-S7706-CORE-1-aaa] local-user admin  ftp-directory flash:
[10:29:30]Info: Please ensure that the configured FTP directory is valid.
[10:29:30]Info: After changing the rights (including the password, access type, FTP directory, HTTP directory, and level) of a local user, the rights of users already online do not change. The change takes effect to users who go online after the change.

查看版本是否已存在交换机相应存储目录下

<GZLZ-4F-4F01-S7706-CORE-1>dir flash: 
Directory of flash:/

  Idx  Attr     Size(Byte)  Date        Time       FileName 
    0  drw-              –  Mar 27 2019 04:51:23   lost+found
    1  -rw-    207,790,529  Mar 27 2019 04:52:55   s7700-v200r012c00spc500-srue&h&k.cc
    2  -rw-             36  Sep 12 2020 11:40:58   $_patchstate_reboot
    3  -rw-             14  Sep 16 2020 09:24:18   back_time_a
    4  drw-              –  Mar 27 2019 04:57:45   $_install_mod
    5  drw-              –  Sep 16 2020 03:00:08   logfile
    6  drw-              –  Jul 19 2020 19:23:01   $_user
    7  -rw-          7,779  Sep 12 2020 12:24:12   root.cer
    8  -rw-          3,094  Sep 12 2020 12:24:12   device.pem
    9  drw-              –  Mar 27 2019 04:58:19   pmdata
   10  drw-              –  Mar 27 2019 04:58:20   user
   11  drw-              –  Sep 16 2020 11:26:02   oids
   12  drw-              –  Mar 27 2019 04:58:29   unimng
   13  drw-              –  Mar 27 2019 04:58:30   sysdrv
   14  drw-              –  Jun 14 2019 10:19:58   selftest
   15  drw-              –  Sep 12 2020 10:47:48   sessionlog
   16  -rw-             14  Sep 16 2020 09:24:18   back_time_b
   17  drw-              –  May 09 2020 17:36:27   localuser
   18  -rw-            200  Mar 27 2019 04:59:28   ca_config.ini
   19  drw-              –  Mar 27 2019 04:59:25   dhcp
   20  -rw-          5,605  Sep 15 2020 15:27:12   private-data.txt
   21  -rw-         13,432  Mar 27 2019 04:59:27   default_ca.cer
   22  -rw-          1,220  Mar 27 2019 04:59:28   default_local.cer
   23  -rw-      2,591,498  Sep 14 2020 11:57:57   help.web
   24  -rw-              4  Jun 14 2019 11:08:57   snmpnotilog.txt
   25  -rw-          6,047  Sep 15 2020 15:27:11   vrpcfg.zip
   26  drw-              –  Jun 14 2019 14:26:13   $_backup
   27  -rw-          1,676  Jun 16 2019 17:55:22   lics7700_v200r010_20190616e9ge60.dat
   28  -rw-      4,548,474  Nov 27 2019 14:59:37   web_diaginfo.txt
   29  drw-              –  Sep 12 2020 12:22:53   kpistat
   30  -rw-     13,074,876  Oct 25 2019 17:22:56   fitap5x30xn_v200r008c10spce00.bin
   31  -rw-      3,496,416  Nov 20 2019 17:01:10   s7700-v200r012sph005.pat
   32  -rw-          3,684  Sep 12 2020 12:22:17   $_patch_history
   33  -rw-          1,666  Sep 04 2020 15:23:36   lics7700_v200r019_20200904hukh60.dat
   34  -rw-     30,477,839  Sep 11 2020 17:32:35   s7700-v200r019sph010.pat
   35  -rw-    357,634,355  Sep 12 2020 10:59:49   s7700-v200r019c10spc500-srue&h&k.cc

   36  -rw-          1,558  Sep 16 2020 03:24:52   radio_info.txt
   37  -rw-          3,933  Sep 14 2020 11:57:52   crl.bin

1,951,312 KB total (1,081,536 KB free)

<GZLZ-4F-4F01-S7706-CORE-1>dir sl
<GZLZ-4F-4F01-S7706-CORE-1>dir slave#flash:
Directory of slave#flash:/

  Idx  Attr     Size(Byte)  Date        Time       FileName 
    0  drw-              –  Mar 27 2019 04:51:30   lost+found
    1  -rw-    207,790,529  Mar 27 2019 04:52:32   s7700-v200r012c00spc500-srue&h&k.cc
    2  drw-              –  Mar 27 2019 04:57:03   $_install_mod
    3  drw-              –  Sep 12 2020 14:23:00   logfile
    4  -rw-          3,684  Sep 12 2020 12:24:30   $_patch_history
    5  drw-              –  Mar 27 2019 04:57:17   $_user
    6  -rw-          7,779  Sep 12 2020 12:22:49   root.cer
    7  -rw-          3,078  Sep 12 2020 12:22:50   device.pem
    8  drw-              –  Mar 27 2019 04:57:38   pmdata
    9  drw-              –  Mar 27 2019 04:57:40   user
   10  drw-              –  Mar 27 2019 05:00:14   oids
   11  drw-              –  Mar 27 2019 04:57:47   unimng
   12  drw-              –  Mar 27 2019 04:57:48   sysdrv
   13  drw-              –  Mar 27 2019 04:57:48   selftest
   14  drw-              –  Mar 27 2019 04:59:36   sessionlog
   15  -rw-             14  Sep 16 2020 09:24:11   back_time_a
   16  -rw-             14  Sep 16 2020 09:24:11   back_time_b
   17  -rw-            200  Jul 19 2020 19:24:20   ca_config.ini
   18  -rw-          5,605  Sep 15 2020 15:27:13   private-data.txt
   19  drw-              –  May 09 2020 17:36:27   localuser
   20  drw-              –  Sep 12 2020 12:24:55   dhcp
   21  -rw-         13,432  Jul 19 2020 19:24:18   default_ca.cer
   22  -rw-          1,220  Jul 19 2020 19:24:19   default_local.cer
   23  -rw-             36  Sep 12 2020 12:24:30   $_patchstate_reboot
   24  -rw-              4  Sep 12 2020 12:18:01   snmpnotilog.txt
   25  -rw-          6,047  Sep 15 2020 15:27:12   vrpcfg.zip
   26  -rw-          1,676  Jun 16 2019 17:55:32   lics7700_v200r010_20190616e9ge60.dat
   27  -rw-      3,496,416  Nov 20 2019 17:01:34   s7700-v200r012sph005.pat
   28  -rw-          1,666  Sep 05 2020 13:53:28   lics7700_v200r019_20200904hukh60.dat
   29  -rw-    357,634,355  Sep 12 2020 12:16:50   s7700-v200r019c10spc500-srue&h&k.cc
   30  -rw-     30,477,839  Sep 12 2020 11:39:25   s7700-v200r019sph010.pat

   31  drw-              –  Sep 12 2020 12:23:07   kpistat
   32  -rw-             92  Sep 12 2020 12:53:52   radio_info.txt

1,951,312 KB total (1,193,084 KB free)
 

把补丁包也备份过去

[11:38:12]<GZLZ-4F-4F01-S7706-CORE-1>copy s7700-v200r019sph010.pat slave#flash:

[11:38:14]Copy flash:/s7700-v200r019sph010.pat to slave#flash:/s7700-v200r019sph010.pat?[Y/N]:y
[11:41:11]100%  complete./

关闭交换机的FTP服务,避免被非法访问到

[11:41:20][GZLZ-4F-4F01-S7706-CORE-1]aaa

[11:41:28][GZLZ-4F-4F01-S7706-CORE-1-aaa]undo  local-user admin  ftp-directory 

[11:41:35][GZLZ-4F-4F01-S7706-CORE-1]undo ftp server

保存配置

[11:41:39]<GZLZ-4F-4F01-S7706-CORE-1>save

查看目前启动的版本,当前应该未是最新版本,更改启动版本为最新版本

[11:41:56]<GZLZ-4F-4F01-S7706-CORE-1>dis startup 
[11:41:56]MainBoard: 
[11:41:56]  Configured startup system software:        flash:/s7700-v200r012c00spc500-srue&h&k.cc
[11:41:56]  Startup system software:                   flash:/s7700-v200r012c00spc500-srue&h&k.cc
[11:41:56]  Next startup system software:              flash:/s7700-v200r012c00spc500-srue&h&k.cc
[11:41:56]  Startup saved-configuration file:          flash:/vrpcfg.zip
[11:41:56]  Next startup saved-configuration file:     flash:/vrpcfg.zip
[11:41:56]  Startup paf file:                          default
[11:41:56]  Next startup paf file:                     default
[11:41:56]  Startup license file:                      default
[11:41:56]  Next startup license file:                 default
[11:41:56]  Startup patch package:                     flash:/s7700-v200r012sph005.pat
[11:41:56]  Next startup patch package:                flash:/s7700-v200r012sph005.pat
[11:41:56]SlaveBoard:
[11:41:56]  Configured startup system software:        flash:/s7700-v200r012c00spc500-srue&h&k.cc
[11:41:56]  Startup system software:                   flash:/s7700-v200r012c00spc500-srue&h&k.cc
[11:41:56]  Next startup system software:              flash:/s7700-v200r012c00spc500-srue&h&k.cc
[11:41:56]  Startup saved-configuration file:          flash:/vrpcfg.zip
[11:41:56]  Next startup saved-configuration file:     flash:/vrpcfg.zip
[11:41:56]  Startup paf file:                          default
[11:41:56]  Next startup paf file:                     default
[11:41:56]  Startup license file:                      default
[11:41:56]  Next startup license file:                 default
[11:41:56]  Startup patch package:                     flash:/s7700-v200r012sph005.pat
[11:41:56]  Next startup patch package:                flash:/s7700-v200r012sph005.pat

设置主控板开机启动补丁

[11:42:43]<GZLZ-4F-4F01-S7706-CORE-1>startup  patch  s7700-v200r019sph010.pat  

[11:42:43]Info: Succeeded in setting main board resource file for system.

设置备控板开机启动补丁

[11:43:08]<GZLZ-4F-4F01-S7706-CORE-1>startup patch s7700-v200r019sph010.pat slave-board 
[11:43:08]Info: Succeeded in setting slave board resource file for system.

设置开机启动包为R019

[11:44:01]<GZLZ-4F-4F01-S7706-CORE-1>startup system-software  s7700-v200r019c10spc500-srue&h&k.cc all 
[11:44:07]Info: Operating, please wait for a moment……….
[11:44:07]Info: Succeeded in setting the software for booting system in the slot 7.

[11:44:26]The file flash:/s7700-v200r019c10spc500-srue&h&k.cc already exists in the board 8. Overwrite? [Y/N]:N(无需覆盖)

[12:18:40]Info: Succeeded in setting the software for booting system in the slot 8.
[12:18:40]Info: Succeeded in setting the software for booting system. (备主控也成功设置了R019版本启动)

确认一下下次开机自启的版本及补丁是否为R019了

[12:18:49]<GZLZ-4F-4F01-S7706-CORE-1>dis startup 
[12:18:49]MainBoard: 
[12:18:49]  Configured startup system software:        flash:/s7700-v200r012c00spc500-srue&h&k.cc
[12:18:49]  Startup system software:                   flash:/s7700-v200r012c00spc500-srue&h&k.cc
[12:18:49]  Next startup system software:              flash:/s7700-v200r019c10spc500-srue&h&k.cc
[12:18:49]  Startup saved-configuration file:          flash:/vrpcfg.zip
[12:18:49]  Next startup saved-configuration file:     flash:/vrpcfg.zip
[12:18:49]  Startup paf file:                          default
[12:18:49]  Next startup paf file:                     default
[12:18:49]  Startup license file:                      default
[12:18:49]  Next startup license file:                 default
[12:18:49]  Startup patch package:                     flash:/s7700-v200r012sph005.pat
[12:18:49]  Next startup patch package:                flash:/s7700-v200r019sph010.pat
[12:18:49]SlaveBoard:
[12:18:49]  Configured startup system software:        flash:/s7700-v200r012c00spc500-srue&h&k.cc
[12:18:49]  Startup system software:                   flash:/s7700-v200r012c00spc500-srue&h&k.cc
[12:18:49]  Next startup system software:              flash:/s7700-v200r019c10spc500-srue&h&k.cc
[12:18:49]  Startup saved-configuration file:          flash:/vrpcfg.zip
[12:18:49]  Next startup saved-configuration file:     flash:/vrpcfg.zip
[12:18:49]  Startup paf file:                          default
[12:18:49]  Next startup paf file:                     default
[12:18:49]  Startup license file:                      default
[12:18:49]  Next startup license file:                 default
[12:18:49]  Startup patch package:                     flash:/s7700-v200r012sph005.pat

[12:18:49]  Next startup patch package:                flash:/s7700-v200r019sph010.pat

设置成功后,记得保存一下配置,再去重启

[12:19:15]<GZLZ-4F-4F01-S7706-CORE-1> save

[12:19:38]<GZLZ-4F-4F01-S7706-CORE-1>reboot 
[12:19:41]Info: The system is now comparing the configuration, please wait……
[12:19:41]Info: If want to reboot with saving diagnostic information, input ‘N’ and then execute ‘reboot save diagnostic-information’.
[12:19:47]System will reboot! Continue?[Y/N]:y

坐等交换机设备重启,等单板全部正常工作,可检查测试各种硬件参数和配置文件是否正常完整

升级完后查看版本,已经成功升级完成

<GZLZ-4F-4F01-S7706-CORE-1>dis version
Huawei Versatile Routing Platform Software
VRP (R) software, Version 5.170 (S7700 V200R019C10SPC500)

 

<GZLZ-4F-4F01-S7706-CORE-1>dis startup 
MainBoard: 
  Configured startup system software:        flash:/s7700-v200r019c10spc500-srue&h&k.cc
  Startup system software:                   flash:/s7700-v200r019c10spc500-srue&h&k.cc
  Next startup system software:              flash:/s7700-v200r019c10spc500-srue&h&k.cc

  Startup saved-configuration file:          flash:/vrpcfg.zip
  Next startup saved-configuration file:     flash:/vrpcfg.zip
  Startup paf file:                          default
  Next startup paf file:                     default
  Startup license file:                      default
  Next startup license file:                 default
  Startup patch package:                     flash:/s7700-v200r019sph010.pat
  Next startup patch package:                flash:/s7700-v200r019sph010.pat
SlaveBoard:
  Configured startup system software:        flash:/s7700-v200r019c10spc500-srue&h&k.cc
  Startup system software:                   flash:/s7700-v200r019c10spc500-srue&h&k.cc
  Next startup system software:              flash:/s7700-v200r019c10spc500-srue&h&k.cc

  Startup saved-configuration file:          flash:/vrpcfg.zip
  Next startup saved-configuration file:     flash:/vrpcfg.zip
  Startup paf file:                          default
  Next startup paf file:                     default
  Startup license file:                      default
  Next startup license file:                 default
  Startup patch package:                     flash:/s7700-v200r019sph010.pat
  Next startup patch package:                flash:/s7700-v200r019sph010.pat
 

 

 

 

 

今天的文章华为交换机系统版本升级(S7706)分享到此就结束了,感谢您的阅读。

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。
如需转载请保留出处:https://bianchenghao.cn/64120.html

(0)
编程小号编程小号

相关推荐

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注