当前位置:网站首页>初试为锐捷交换机跨设备型号升级版本(以RG-S2952G-E为例)
初试为锐捷交换机跨设备型号升级版本(以RG-S2952G-E为例)
2022-07-04 22:53:00 【筐瓢大师小吕】
省流,从10.x妄想升级到11.x失败了。
背景
锐捷交换机某些版本在Show Run时查看Vlan会相当麻烦,如下:
先查看版本,如下,为RGOS 10.4
Ruijie#show version
System description : Ruijie Full Gigabit Security & Intelligence Access Switch (S2952G-E) By Ruijie Networks
System start time : 2022-07-01 1:10:55
System uptime : 0:0:25:10
System hardware version : 1.01
System software version : RGOS 10.4(2b11)p1 Release(134566)
System BOOT version : 10.4(2b11) Release(112896)
System CTRL version : 10.4(2b11) Release(112896)
System serial number : 8912EH9C50635
Device information:
Device-1
Hardware version : 1.01
Software version : RGOS 10.4(2b11)p1 Release(134566)
BOOT version : 10.4(2b11) Release(112896)
CTRL version : 10.4(2b11) Release(112896)
Serial Number : 8912EH9C50635
在这一版本下,Show Run时Vlan会逐行显示,查看起来非常麻烦:
Ruijie#con
Enter configuration commands, one per line. End with CNTL/Z.
Ruijie(config)#vlan range 2-20
Ruijie(config-vlan-range)#exi
Ruijie(config)#show run
Building configuration...
Current configuration : 2501 bytes
!
version RGOS 10.4(2b11)p1 Release(134566)(Wed Apr 25 21:08:21 CST 2012 -ngcf63)
!
!
!
nfpp
!
!
vlan 1
!
vlan 2
!
vlan 3
!
vlan 4
!
vlan 5
!
vlan 6
!
vlan 7
!
vlan 8
!
vlan 9
!
vlan 10
!
vlan 11
!
vlan 12
!
vlan 13
!
vlan 14
!
vlan 15
!
vlan 16
!
vlan 17
!
vlan 18
!
vlan 19
!
vlan 20
!
在官网上找到RGOS 11版本(RG-S2900G-E V3)
都是S2900系列,四舍五入系统应该能用吧
环境准备
笔记本电脑、Console线、跳线、RG-S2952G-E交换机、官方下载的升级包(该压缩包下包含官方工具Ruijie TFTP Server)
用Console线连接交换机Console口与笔记本的Com4口连接;
用网线连接交换机Gigabitethernet 0/1口与笔记本RJ45网口。
为交换机创建管理地址(Vlanif1)
Ruijie#con
Enter configuration commands, one per line. End with CNTL/Z.
Ruijie(config)#int vlan 1
Ruijie(config-if-VLAN 1)#ip add 1.1.1.1 255.255.255.0
Ruijie(config-if-VLAN 1)#exi
为主机配置地址
为笔记本以太网卡配置地址:1.1.1.2 /24
在CMD上输入ipconfig/all如下:
以太网适配器 以太网:
连接特定的 DNS 后缀 . . . . . . . :
描述. . . . . . . . . . . . . . . : Realtek PCIe GbE Family Controller
物理地址. . . . . . . . . . . . . : 80-FA-5B-63-49-27
DHCP 已启用 . . . . . . . . . . . : 否
自动配置已启用. . . . . . . . . . : 是
本地链接 IPv6 地址. . . . . . . . : fe80::f15d:afb9:33e5:979c%22(首选)
IPv4 地址 . . . . . . . . . . . . : 1.1.1.2(首选)
子网掩码 . . . . . . . . . . . . : 255.255.255.0
默认网关. . . . . . . . . . . . . :
测试连通性
通过ping来测试交换机与主机间的连通性,如下,正常
Ruijie#ping 1.1.1.2
Sending 5, 100-byte ICMP Echoes to 1.1.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/1 ms
连通性没有问题,现在由笔者的笔记本做TFTP Server,交换机从Server上获取到RGOS11.4升级包。
传输升级包(以及排错)
dir命令:显示Flash中的文件列表
Ruijie#dir
Directory of flash:/
Mode Link Size MTime Name
-------- ---- --------- ------------------- ------------------
1 203 2022-06-28 03:23:27 config.text
<DIR> 1 0 1970-01-01 00:00:00 dev/
<DIR> 2 0 2007-01-01 15:13:50 mnt/
1 8 2022-06-28 00:32:13 priority.dat
<DIR> 0 0 1970-01-01 00:00:00 proc/
<DIR> 1 0 2022-07-01 01:10:59 ram/
1 10017120 2012-10-16 06:21:44 rgos.bin
<DIR> 2 0 2022-06-28 03:23:17 tmp/
1 2243136 2012-10-16 06:26:01 web_management_pack.upd
--------------------------------------------------------------
4 Files (Total size 12260467 Bytes), 5 Directories.
Total 132120576 bytes (126MB) in this device, 115417088 bytes (110MB) available.
如上,四个文件,目前有110MB空间可以使用。
copy命令:复制或传输文件
Ruijie#copy tftp://1.1.1.2/rgos.bin flash:S29_RGOS11.4(1)B74P2_install.bin
Accessing tftp://1.1.1.2/rgos.bin...
System is running defragment,please waitting....
Press Ctrl+C to quit
% File transmission failure
Ruijie#copy tftp://1.1.1.2/S29_RGOS11.4(1)B74P2_install.bin flash:rgos.bin
Accessing tftp://1.1.1.2/S29_RGOS11.4(1)B74P2_install.bin...
System is running defragment,please waitting....
Press Ctrl+C to quit
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!File is Too Long! Failed!
% File transmission failure
报错“File is too long”,笔者觉得是如下三个问题:
不支持跨设备升级版本;不正确的语法导致升级失败;空间不足
文件太大了吗?如下图,该文件是72M,对于设备而言还是有足够空间的吧
关于这条命令:
Ruijie#copy tftp://1.1.1.2/S29_RGOS11.4(1)B74P2_install.bin flash:rgos.bin
笔者参照了两篇文章,一篇是锐捷官方的《锐捷交换机从10.X升级到10.K升级指南》,另一篇是网上博主的博文锐捷(七)设备软件版本升级更新_iCdo_X.的博客-CSDN博客_锐捷交换机升级,前者是写10.x到10.k的升级,后者是由11.4(1)B12P8到11.4(1)B74P1,设备为RG-S2900G-E V3。
第一篇文章中,对于TFTP获取获取升级包的命令是
Ruijie#copy tftp://192.168.1.2/rgos.bin flash:rgos.bin
//文档中第一个rgos.bin为本机文件夹中的文件名(新版本),另一个rgos.bin为原主程序的名称(老版本)
在第二篇博文中,作者的命令是:
Ruijie#copy tftp://192.168.1.2/S29_RGOS11.4(1)B74P1_install.bin flash:S29_RGOS11.4(1)B74P1_install.bin
//格式为 copy tftp://ip地址/软件包名 flash:软件包名
即前后两个文件名都是要升级的新版本包。
笔者尝试了两种写法,均报错(还是File is Too Long! Failed!)。遂百度大法:
【S86】S86升级10.4(3)软件,提示File is Too Long! Failed 或者The binary file crc was not correct - 锐捷网络
【S86】S86交换机从RGNOS 10.1 升级到RGOS 10.4推荐采用的软件及升级步骤 - 锐捷网络
说白了就是:
RGOS10.4(3)之前的版本中,TFTP协议无法传输超过35MB的文件,建议先升级到S8600_V10.4(3) _R118208_NOEC_CMII.bin,笔者没有找到这个版本,在官方找的10.4(3b18)版本,先试试再说
笔者想起之前学习CentOS基本语法时,cd命令是将前者文件名复制到后者文件夹或替代后者文件,故笔者语法如下:
Ruijie#copy tftp://1.1.1.2/10.4(3b18)_R205507.bin flash:rgos.bin
Accessing tftp://1.1.1.2/10.4(3b18)_R205507.bin...
System is running defragment,please waitting....
Press Ctrl+C to quit
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Transmission finished, file length 12892544 bytes.
Verify the image ...[ok]
CURRENT PRODUCT INFORMATION :
PRODUCT ID: 0x20140060
PRODUCT DESCRIPTION: Ruijie Full Gigabit Security & Intelligence Access Switch (S2952G-E) By Ruijie Networks
ERROR: THE BINARY FILE CANNOT BE USED IN CURRENT PRODUCT !!!
恁娘,合着还是型号不支持呗。写这么多感觉白写了我急了
边栏推荐
- 智力考验看成语猜古诗句微信小程序源码
- A complete tutorial for getting started with redis: understanding and using APIs
- LIst 相关待整理的知识点
- Three stage operations in the attack and defense drill of the blue team
- Redis入门完整教程:初识Redis
- Install the gold warehouse database of NPC
- Duplicate ADMAS part name
- MariaDB的Galera集群应用场景--数据库多主多活
- 【taichi】用最少的修改将太极的pbf2d(基于位置的流体模拟)改为pbf3d
- Google Earth engine (GEE) -- take modis/006/mcd19a2 as an example to batch download the daily mean, maximum, minimum, standard deviation, statistical analysis of variance and CSV download of daily AOD
猜你喜欢
PS style JS webpage graffiti board plug-in
Duplicate ADMAS part name
JS card style countdown days
MariaDB的Galera集群-双主双活安装设置
Redis入门完整教程:Redis Shell
Redis introduction complete tutorial: List explanation
Attack and defense world misc master advanced zone 001 normal_ png
Google Earth engine (GEE) - tasks upgrade enables run all to download all images in task types with one click
【室友用一局王者荣耀的时间学会了用BI报表数据处理】
【剑指Offer】6-10题
随机推荐
ffmpeg快速剪辑
S32 Design Studio for ARM 2.2 快速入门
LabVIEW中比较两个VI
【剑指offer】1-5题
9 - class
qt绘制网络拓补图(连接数据库,递归函数,无限绘制,可拖动节点)
VIM editor knowledge summary
[odx Studio Edit pdx] - 0.2 - Comment comparer deux fichiers pdx / odx
Sword finger offer 68 - ii The nearest common ancestor of binary tree
C语言快速解决反转链表
Pagoda 7.9.2 pagoda control panel bypasses mobile phone binding authentication bypasses official authentication
P2181 对角线和P1030 [NOIP2001 普及组] 求先序排列
Analog rocker controlled steering gear
Redis démarrer le tutoriel complet: Pipeline
D3.js+Three. JS data visualization 3D Earth JS special effect
Record: how to scroll screenshots of web pages on Microsoft edge in win10 system?
JS 3D explosive fragment image switching JS special effect
【ODX Studio编辑PDX】-0.3-如何删除/修改Variant变体中继承的(Inherited)元素
Excel 快捷键-随时补充
HMS core unified scanning service