锐捷(七)设备软件版本升级更新

更新前的准备:
准备一根网线,一根 console 线,设备对应版本包,Ruijie TFTP Server 传输软件。
在这里插入图片描述
步骤1:使用 console 线配置交换机的接口地址,然后哦将笔记本的任意(物理)网卡配置为对应更新版本设备同网段地址,并能 ping 通。
注:
1.笔记本使用网线连接交换机任意物理接口即可(即所有接口都含有 Vlan 1,所以交换机仅配置 Vlan 1 地址即可)
2.路由器配置物理接口地址最好,连接对应端口即可。
3.此文章设备为交换机。
在这里插入图片描述

Ruijie> enable                                               ------>进入特权模式
Ruijie# configure terminal                                   ------>进入全局配置模式
Ruijie(config)# interface vlan 1                             ------>进入vlan 1接口
Ruijie(config-if)# ip address 192.168.1.1 255.255.255.0          ------>为vlan 1接口上设置管理ip
Ruijie(config-if)# exit                                      ------>退回到全局配置模式

ping 测试

Ruijie# ping 192.168.1.2
Sending 5, 100-byte ICMP Echoes to 192.168.1.2, timeout is 2 seconds:
  < press Ctrl+C to break >
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/2 ms.

查看当前版本

Ruijie# show version
System description      : Ruijie Full Gigabit Security & Intelligence Access Switch (S2952G-E V3) By Ruijie Networks
System start time       : 2021-11-18 15:36:41
System uptime           : 0:00:16:41
System hardware version : 1.40
System software version : S29_RGOS 11.4(1)B12P8
System patch number     : NA
System serial number    : G1NW25400XXXX
System boot version     : 1.2.30
Module information:
  Slot 0 : S2952G-E V3
    Hardware version    : 1.40
    Boot version        : 1.2
    Software version    : S29_RGOS 11.4(1)B12P8
    Serial number       : G1NW25400XXXX

步骤2:将 Ruijie TFTP Server 传输软件与设备对应版本包放在同一目录下。
在这里插入图片描述
步骤3:打开 TFTP Server 传输软件,选择文件所在目录,默认即可。

步骤4:使用 console 线将笔记本连接交换机 console 口,然后使用 CRT 软件登录交换机,并将软件包复制到设备中。
1.查看是否存在相同文件

# 该命令为显示设备中的文件
Ruijie# dir flash:

2.通过TFTP拷贝 RGOS.bin 文件至交换机flash:目录里

# 格式为 copy tftp://ip地址/软件包名 flash:软件包名
Ruijie#copy tftp://192.168.1.2/S29_RGOS11.4(1)B74P1_install.bin flash:S29_RGOS11.4(1)B74P1_install.bin

在这里插入图片描述
3.查看拷贝完成后 FLASH 里面内容

Ruijie# dir flash
Directory of flash:/
Number  Properties   Size               Time                    Name
------  ----------  ------    ------------------------  --------------------
  1       drw-      288B      Wed Feb 20 23:49:48 2019  at                 
  2       drwx      160B      Wed Feb 20 23:49:43 2019  dev                
  3       drwx      160B      Wed Feb 20 23:49:35 2019  rep                
  4       drwx      224B      Wed Feb 20 23:49:36 2019  var                
  5       drwx      160B      Wed Feb 20 23:49:44 2019  addr               
  6       -rw-      0B        Wed Feb 20 23:49:50 2019  msg_rtp_lvl2.txt   
  7       -rw-      0B        Wed Feb 20 23:51:22 2019  msg_rtp_lvl3.txt   
  8       -rw-      0B        Wed Feb 20 23:51:05 2019  ssc_fp_appmng_debug.txt
  9       -rwx      82B       Wed Mar  3 17:35:51 2021  config_vsu.dat     
 10       -rw-      0B        Wed Feb 20 23:49:52 2019  ss_ds_debug.txt    
 11       -rw-      135.0k    Thu Feb 21 04:27:31 2019  tech_vsd0_20190221042730.tar.gz
 12       -rwx      696B      Wed Feb 20 23:49:44 2019  httpd_cert.crt     
 13       -rwx      21B       Wed Mar  3 17:35:51 2021  syslog_rfc5424_flag.txt
 14       -rwx      616B      Wed Feb 20 23:49:45 2019  rsa_private.bin    
 15       -rwx      336B      Sun Sep 29 07:03:16 2019  dsa_private.bin    
 16       -rwx      616B      Wed Feb 20 23:49:45 2019  rsa1_private.bin   
 17       -rw-      0B        Wed Feb 20 23:49:48 2019  ss_comm.txt        
 18       drwx      160B      Wed Feb 20 23:49:45 2019  upgrade            
 19       drwx      4.4k      Thu Feb 21 05:16:25 2019  tech_vsd0          
 20       drwx      384B      Sun Sep 22 16:27:16 2019  syslog             
 21       -rw-      0B        Wed Feb 20 23:50:53 2019  policy_adjust_debug.txt
 22       -rw-      0B        Wed Feb 20 23:49:52 2019  ss_ds_timeout.txt  
 23       -rw-      72.2M     Thu Nov 18 16:01:26 2021  S29_RGOS11.4(1)B74P1_install.bin
 24       -rwx      887B      Wed Feb 20 23:49:44 2019  httpd_key.pem      
16 files, 8 directories
6,103,040 bytes data total (4,841,472 bytes free)
266,338,304 bytes flash total (4,841,472 bytes free)

4.升级

Ruijie#upgrade  flash:S29_RGOS11.4(1)B74P1_install.bin
Upgrade the device must be auto-reset after finish, are you sure upgrading now?[Y/N]y
Ruijie#*Nov 18 16:07:23: %UPGRADE-6-INFO:
*Nov 18 16:07:23: %UPGRADE-6-INFO: [Slot 0]:Upgrade processing is 10%
*Nov 18 16:07:28: %UPGRADE-6-INFO:
*Nov 18 16:07:28: %UPGRADE-6-INFO: [Slot 0]:Upgrade processing is 20%
*Nov 18 16:07:28: %UPGRADE-6-INFO:
*Nov 18 16:07:28: %UPGRADE-6-INFO: [Slot 0]:Upgrade processing is 30%
*Nov 18 16:07:28: %UPGRADE-6-INFO:
*Nov 18 16:07:28: %UPGRADE-6-INFO: [Slot 0]:Upgrade processing is 40%
*Nov 18 16:07:28: %UPGRADE-6-INFO:
*Nov 18 16:07:28: %UPGRADE-6-INFO: [Slot 0]:Upgrade processing is 50%
*Nov 18 16:07:29: %UPGRADE-6-INFO:
*Nov 18 16:07:29: %UPGRADE-6-INFO: [Slot 0]:Upgrade processing is 60%
*Nov 18 16:07:59: %UPGRADE-6-INFO:
Upgrade info [OK]

5.等待10分钟左右,升级完成后交换机会自动重新启动。

6.查看升级后版本信息。

Ruijie# show version
System description      : Ruijie Full Gigabit Security & Intelligence Access Switch (S2952G-E V3) By Ruijie Networks
System start time       : 2021-11-18 16:09:59
System uptime           : 0:00:07:13
System hardware version : 1.40
System software version : S29_RGOS 11.4(1)B74P1
System patch number     : NA
System serial number    : G1NW25400XXXX
System boot version     : 1.2.30
Module information:
  Slot 0 : S2952G-E V3
    Hardware version    : 1.40
    Boot version        : 1.2
    Software version    : S29_RGOS 11.4(1)B74P1
    Serial number       : G1NW25400XXXX

7、升级成功完成。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值