华三交换机的软件版本升级操作

升级操作很常见,掌握方法是关键

  • 实验环境:1台华三S6520-EI交换机,版本从2432P03升级成2432P05。
    在这里插入图片描述
    在这里插入图片描述
    整体思路:
    1.先查验软件版本
    2.官网下载对于设备型号的软件版本
    3.配置交换机地址使得与电脑进行通信,使用TFTP/FTP工具传输
    4.指定下次启动文件
    5.重启及验证
Press ENTER to get started.
<H3C>%Jan  1 00:02:42:340 2011 H3C SHELL/5/SHELL_LOGIN: TTY logged in from aux0.
<H3C>sys            //进入系统视图
System View: return to User View with Ctrl+Z.
[H3C]//插入光转电模块
%Jan  1 00:03:19:902 2011 H3C IFNET/3/PHY_UPDOWN: Ten-GigabitEthernet1/0/40 link status is up.
%Jan  1 00:03:19:903 2011 H3C IFNET/5/LINK_UPDOWN: Line protocol on the interface Ten-GigabitEthernet1/0/40 is up.
%Jan  1 00:03:19:913 2011 H3C LLDP/6/LLDP_CREATE_NEIGHBOR: Nearest bridge agent new neighbor created on Port Ten-GigabitEthernet1/0/40 (IfIndex 40), Chassis ID is e86a-64e1-88f2, Port ID is e86a-64e1-88f2.[H3C]dis int brie                 //检查接口状态,将电脑与设备40口连接。
Brief information on interfaces in route mode:
Link: ADM - administratively down; Stby - standby
Protocol: (s) - spoofing
Interface            Link Protocol Primary IP      Description
InLoop0              UP   UP(s)    --
M-GE0/0/0            DOWN DOWN     --
NULL0                UP   UP(s)    --
REG0                 UP   --       --Brief information on interfaces in bridge mode:
Link: ADM - administratively down; Stby - standby
Speed: (a) - auto
Duplex: (a)/A - auto; H - half; F - full
Type: A - access; T - trunk; H - hybrid
Interface            Link Speed   Duplex Type PVID Description
FGE1/0/41            DOWN auto    A      A    1
FGE1/0/42            DOWN auto    A      A    1
XGE1/0/1             DOWN auto    A      A    1
............................
XGE1/0/40            UP   1G(a)   F(a)   A    1[H3C]
%Jan  1 00:03:50:717 2011 H3C STP/6/STP_DETECTED_TC: Instance 0's port Ten-GigabitEthernet1/0/40 detected a topology change.[H3C]dis int Ten-GigabitEthernet 1/0/40   //查看40口状态
Ten-GigabitEthernet1/0/40
Current state: UP
Line protocol state: UP
IP packet frame type: Ethernet II, hardware address: 38ad-bea1-3926
Description: Ten-GigabitEthernet1/0/40 Interface
Bandwidth: 1000000 kbps
Loopback is not set
Media type is twisted pair, port hardware type is 1000_BASE_T_AN_SFP
1000Mbps-speed mode, full-duplex mode
Link speed type is autonegotiation, link duplex type is autonegotiation
Flow-control is not enabled
Maximum frame length: 10000
Allow jumbo frames to pass
Broadcast max-ratio: 100%
Multicast max-ratio: 100%
Unicast max-ratio: 100%
PVID: 1
MDI type: Automdix
Port link-type: AccessTagged VLANs:   NoneUntagged VLANs: 1
Port priority: 0
Last link flapping: 0 hours 1 minutes 54 seconds
Last clearing of counters: NeverPeak input rate: 47 bytes/sec, at 2011-01-01 00:05:09Peak output rate: 34 bytes/sec, at 2011-01-01 00:05:09Last 300 second input: 0 packets/sec 47 bytes/sec 0%Last 300 second output: 0 packets/sec 34 bytes/sec 0%Input (total):  175 packets, 14500 bytes0 unicasts, 125 broadcasts, 50 multicasts, 0 pausesInput (normal):  175 packets, - bytes0 unicasts, 125 broadcasts, 50 multicasts, 0 pausesInput:  0 input errors, 0 runts, 0 giants, 0 throttles0 CRC, 0 frame, - overruns, 0 aborts- ignored, - parity errorsOutput (total): 66 packets, 10644 bytes0 unicasts, 0 broadcasts, 66 multicasts, 0 pausesOutput (normal): 66 packets, - bytes0 unicasts, 0 broadcasts, 66 multicasts, 0 pausesOutput: 0 output errors, - underruns, - buffer failures0 aborts, 0 deferred, 0 collisions, 0 late collisions0 lost carrier, - no carrier[H3C]qu       //退出,进入用户视图
<H3C>dir       //检查软件信息
Directory of flash:0 drw-           - Jan 01 2011 00:00:29   diagfile1 -rw-        1363 Jan 01 2011 00:12:42   ifindex.dat2 drw-           - Jan 01 2011 00:00:29   license3 drw-           - Jan 01 2011 00:00:29   logfile4 -rw-    11868160 Apr 07 2017 16:00:00   s6520ei-cmw710-boot-r2432p03.bin5 -rw-    76859392 Apr 07 2017 16:00:00   s6520ei-cmw710-system-r2432p03.bin6 drw-           - Jan 01 2011 00:00:29   seclog7 -rw-        4330 Jan 01 2011 00:12:42   startup.cfg8 -rw-      102455 Jan 01 2011 00:12:43   startup.mdb9 drw-           - Jan 01 2011 00:00:56   versionInfo524288 KB total (436220 KB free)
<H3C>sys
System View: return to User View with Ctrl+Z.
[H3C]int Ten-GigabitEthernet 1/0/40       //进入接口视图
[H3C-Ten-GigabitEthernet1/0/40]port link-mode route              //该设备为三层设备,将接口Switch模式改为router模式
%Jan  1 00:15:04:964 2011 H3C IFNET/3/PHY_UPDOWN: Ten-GigabitEthernet1/0/40 link status is down.
%Jan  1 00:15:04:965 2011 H3C IFNET/5/LINK_UPDOWN: Line protocol on the interface Ten-GigabitEthernet1/0/40 is down.
%Jan  1 00:15:09:200 2011 H3C IFNET/3/PHY_UPDOWN: Ten-GigabitEthernet1/0/40 link status is up.
%Jan  1 00:15:09:200 2011 H3C IFNET/5/LINK_UPDOWN: Line protocol on the interface Ten-GigabitEthernet1/0/40 is up.
%Jan  1 00:15:10:189 2011 H3C LLDP/6/LLDP_CREATE_NEIGHBOR: Nearest bridge agent new neighbor created on Port Ten-GigabitEthernet1/0/40 (IfIndex 40), Chassis ID is e86a-64e1-88f2, Port ID is e86a-64e1-88f2.
[H3C-Ten-GigabitEthernet1/0/40]ip address 192.0.0.200 24      //配置IP地址
[H3C-Ten-GigabitEthernet1/0/40]qu
[H3C]qu
<H3C>ftp 192.0.0.238                     //电脑搭建FTP工具(3cd软件),访问FTP
Press CTRL+C to abort.
Connected to 192.0.0.238 (192.0.0.238).
220 3Com 3CDaemon FTP 2.0
User (192.0.0.238:(none)): admin         //用户、密码
Remote system type is UNIX.
ftp>
Invalid filename or pathname.
ftp> get S6520EI-CMW710-R2432P05.ipe        //获取软件信息
227 ▒▒▒ڽ▒▒뱻▒▒ģʽ (192,0,0,238,204,91)
125 ▒▒▒▒ʹ▒▒▒ִ▒▒▒▒▒▒▒▒
226 ▒▒▒ڹر▒▒▒▒▒▒▒; ▒ļ▒▒▒▒▒ɹ▒▒▒▒.
88845312 bytes received in 179.950 seconds (482.15 Kbytes/s)
ftp> qu
<H3C>dir                                 //检查软件信息
Directory of flash:0 -rw-    88845312 Jan 01 2011 00:24:36   S6520EI-CMW710-R2432P05.ipe1 drw-           - Jan 01 2011 00:00:29   diagfile2 -rw-        1363 Jan 01 2011 00:12:42   ifindex.dat3 drw-           - Jan 01 2011 00:00:29   license4 drw-           - Jan 01 2011 00:00:29   logfile5 -rw-    11868160 Apr 07 2017 16:00:00   s6520ei-cmw710-boot-r2432p03.bin6 -rw-    15440896 Jan 01 2011 00:21:01   s6520ei-cmw710-packet-capture-r2432p05.bin7 -rw-    76859392 Apr 07 2017 16:00:00   s6520ei-cmw710-system-r2432p03.bin8 drw-           - Jan 01 2011 00:00:29   seclog9 -rw-        4330 Jan 01 2011 00:12:42   startup.cfg10 -rw-      102455 Jan 01 2011 00:12:43   startup.mdb11 drw-           - Jan 01 2011 00:00:56   versionInfo524288 KB total (334244 KB free)<H3C>dis version          //没升级前检查软件版本 2432P03
H3C Comware Software, Version 7.1.045, Release 2432P03
Copyright (c) 2004-2017 New H3C Technologies Co., Ltd. All rights reserved.
H3C S6520-42QF-EI uptime is 0 weeks, 0 days, 0 hours, 32 minutes
Last reboot reason : Cold rebootBoot image: flash:/s6520ei-cmw710-boot-r2432p03.bin
Boot image version: 7.1.045, Release 2432P03Compiled Apr 07 2017 16:00:00
System image: flash:/s6520ei-cmw710-system-r2432p03.bin
System image version: 7.1.045, Release 2432P03Compiled Apr 07 2017 16:00:00Slot 1:
Uptime is 0 weeks,0 days,0 hours,32 minutes
S6520-42QF-EI with 2 Processors
BOARD TYPE:         S6520-42QF-EI
DRAM:               2048M bytes
FLASH:              512M bytes
PCB 1 Version:      VER.B
Bootrom Version:    157
CPLD 1 Version:     003
CPLD 2 Version:     002
Release Version:    H3C S6520-42QF-EI-2432P03
Patch Version  :    None
Reboot Cause  :     ColdReboot
[SubSlot 0] 40SFP Plus+2QSFP Plus
<H3C>boot-loader file flash:/S6520EI-CMW710-R2432P05.ipe all main    //指定系统软件
Verifying the file flash:/s6520ei-cmw710-r2432p05.ipe on slot 1..........Done.
H3C S6520-42QF-EI images in IPE:s6520ei-cmw710-boot-r2432p05.bins6520ei-cmw710-system-r2432p05.bin
This command will set the main startup software images. Continue? [Y/N]:y       //确定
Add images to slot 1.
Decompressing file s6520ei-cmw710-boot-r2432p05.bin to flash:/s6520ei-cmw710-boot-r2432p05.bin.........................Done.
Decompressing file s6520ei-cmw710-system-r2432p05.bin to flash:/s6520ei-cmw710-system-r2432p05.bin.........................................................................................................................................................Done.
Verifying the file flash:/s6520ei-cmw710-boot-r2432p05.bin on slot 1...Done.
Verifying the file flash:/s6520ei-cmw710-system-r2432p05.bin on slot 1.........Done.
The images that have passed all examinations will be used as the main startup software images at the next reboot on slot 1.
Decompression completed.
Do you want to delete flash:/s6520ei-cmw710-r2432p05.ipe now? [Y/N]:n       //是否删除软件,释放空间。
<H3C>
<H3C>save                          //保存配置
The current configuration will be written to the device. Are you sure? [Y/N]:y
Please input the file name(*.cfg)[flash:/startup.cfg]
(To leave the existing filename unchanged, press the enter key):
flash:/startup.cfg exists, overwrite? [Y/N]:y
Validating file. Please wait...
Saved the current configuration to mainboard device successfully.
<H3C>reboot                                            //重启
Start to check configuration with next startup configuration file, please wait.........DONE!
This command will reboot the device. Continue? [Y/N]:y
Now rebooting, please wait...
%Jan  1 00:41:35:007 2011 H3C DEV/5/SYSTEM_REBOOT: System is rebooting now.Starting......
Press Ctrl+D to access BASIC BOOT MENU********************************************************************************
*                                                                              *
*                    H3C S6520-42QF-EI BOOTROM, Version 157                    *
*                                                                              *
********************************************************************************
Copyright (c) 2004-2017 New H3C Technologies Co., Ltd.Creation Date   : Apr 10 2017,09:41:12
CPU Clock Speed : 1000MHz
Memory Size     : 2048MB
Flash Size      : 512MB
CPLD Version    : 003/002
PCB Version     : Ver.B
Mac Address     : 38ADBEA138D6PEX mode is disabled.
Press Ctrl+B to access EXTENDED BOOT MENU...0
Loading the main image files...
Loading file flash:/s6520ei-cmw710-system-r2432p05.bin..........................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
....Done.
Loading file flash:/s6520ei-cmw710-boot-r2432p05.bin............................
..................................................................Done.Image file flash:/s6520ei-cmw710-boot-r2432p05.bin is self-decompressing........
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
...................................................Done.
System is starting...
Cryptographic algorithms tests passed.
Line aux0 is available.Press ENTER to get started.
<H3C>
%Jan  1 00:45:05:535 2011 H3C SHELL/5/SHELL_LOGIN: TTY logged in from aux0.
<H3C>dis version                            //升级后检查软件版本 2432P05
H3C Comware Software, Version 7.1.045, Release 2432P05
Copyright (c) 2004-2017 New H3C Technologies Co., Ltd. All rights reserved.
H3C S6520-42QF-EI uptime is 0 weeks, 0 days, 0 hours, 1 minute
Last reboot reason : USER rebootBoot image: flash:/s6520ei-cmw710-boot-r2432p05.bin
Boot image version: 7.1.045, Release 2432P05Compiled Aug 31 2017 16:00:00
System image: flash:/s6520ei-cmw710-system-r2432p05.bin
System image version: 7.1.045, Release 2432P05Compiled Aug 31 2017 16:00:00Slot 1:
Uptime is 0 weeks,0 days,0 hours,1 minute
S6520-42QF-EI with 2 Processors
BOARD TYPE:         S6520-42QF-EI
DRAM:               2048M bytes
FLASH:              512M bytes
PCB 1 Version:      VER.B
Bootrom Version:    157
CPLD 1 Version:     003
CPLD 2 Version:     002
Release Version:    H3C S6520-42QF-EI-2432P05
Patch Version  :    None
Reboot Cause  :     UserReboot
[SubSlot 0] 40SFP Plus+2QSFP Plus
<H3C>%Jan  1 00:47:47:881 2011 H3C IFNET/3/PHY_UPDOWN: Ten-GigabitEthernet1/0/40 link status is down.
%Jan  1 00:47:47:882 2011 H3C IFNET/5/LINK_UPDOWN: Line protocol on the interface Ten-GigabitEthernet1/0/40 is down.
%Jan  1 00:48:01:369 2011 H3C OPTMOD/4/MODULE_OUT: Ten-GigabitEthernet1/0/40: Transceiver absent.
<H3C>

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/861211.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

Swift 周报 第五十五期

文章目录 前言新闻和社区苹果公司据悉将推出密码管理应用三大指数涨跌不一&#xff0c;苹果重新夺回美股第二大上市公司宝座苹果iOS 18新动向&#xff1a;AI功能强化隐私保护&#xff0c;用户自主选择启用 提案通过的提案正在审查的提案 Swift论坛推荐博文话题讨论关于我们 前言…

微信小程序navigateTo异常(APP-SERVICE-SDK:Unknown URL)

背景 在开发小程序时&#xff0c;可能会用到banner&#xff0c;通过banner跳转至各种子页面。但是因为小程序自身的因素&#xff0c;有些是不允许的&#xff0c;比如通过banner跳转一个http/https链接。如果使用 wx.navigateTo完成跳转时&#xff0c;就会发生异常。 navigate…

第二十八周代码

B3631 单向链表 题目链接 【参考代码】 list的简介及使用 80%通过率 #include <bits/stdc.h> using namespace std;int main() {list<int> list;list.push_back(1);int q;cin>>q;while(q--){int operation;cin>>operation;if(operation 1){int x,…

高考成绩加分,西藏学生推荐使用的《藏文翻译词典》APP,藏文作文高考大纲,初中高中学习内容与考试同步更新!

2024年高考成绩出炉啦&#xff01;在这个特别的时刻&#xff0c;我想向大家表达最真挚的祝贺。高考不仅是一场考试&#xff0c;更是你多年学习旅程的一次总结。当你的成绩揭晓&#xff0c;无论结果如何&#xff0c;你都应该为自己感到骄傲。 在高原&#xff0c;藏语如同雪山上…

【vue scrollTo 数据无限滚动 】

vue数据无限滚动 参考来源 Vue3 实现消息无限滚动的新思路 —— 林三心不学挖掘机 完整代码中项目中使用了vuetify&#xff0c;估div内的class会代表了对应的样式&#xff0c;根据需要自行删减。 功能实现主要依赖js代码部分。 鼠标悬浮停止滚动&#xff0c;鼠标离开恢复滚动在…

C#+uni-app医院HIS预约挂号系统源码 看病挂号快人一步

​​​​​​​ 提到去大型医院机构就诊时&#xff0c;许多人都感到恐惧。有些人一旦走进医院的门诊大厅&#xff0c;就感到迷茫&#xff0c;既无法理解导医台医生的建议&#xff0c;也找不到应该去哪个科室进行检查。实际上&#xff0c;就医也是一门学问&#xff0c;如何优化…

刚体力学基础

转动惯量 刚体 转动 常见物体转动惯量 平行轴定理 转动定律 牛顿第二定律的推广 M J*α 例题 刚体的角动量守恒 刚体的动能定理 刚体与质点的对比

倍增法找lca——最近公共祖先

对于结点x和y&#xff0c;需要找他们的最近公共祖先 一个最简单的办法就是沿着x和y的父节点一个一个往上找 这样的时间复杂度是o(n)&#xff0c;对于较大的数据量会TLE 今天要使用的方法是利用倍增来加速这个找lca的过程 倍增算法&#xff1a; 按2的倍数来往上找&#xff0…

从中序与后序遍历序列构造二叉树-二叉树题型

106. 从中序与后序遍历序列构造二叉树 - 力扣&#xff08;LeetCode&#xff09; right要再left前面 如下如&#xff0c;后序为第一行&#xff0c;最后一个是根&#xff1b; 中序为第二行&#xff0c;中间的为根&#xff1b; 通过后序的最后一个元素从中序中找到根&#xff0…

利用MATLAB批量读取图像时出现名称排序错乱问题解决方法sort-nat函数

利用MATLAB批量读取图像时出现名称排序错乱问题解决方法sort-nat函数 一、问题描述二、解决方法 欢迎学习交流&#xff01; 邮箱&#xff1a; z…1…6.com 网站&#xff1a; https://zephyrhours.github.io/ 一、问题描述 使用MATLAB批量读取图像文件&#xff0c;会发现提取出…

使用Python和jieba库生成中文词云

使用Python和jieba库生成中文词云 在文本分析和数据可视化的领域中&#xff0c;词云是一种展示文本数据中关键词频率的直观方式。Python作为一种强大的编程语言&#xff0c;提供了多种库来帮助我们生成词云&#xff0c;如wordcloud和jieba。在本文中&#xff0c;我们将通过一个…

【仿真】UR机器人手眼标定与实时视觉追踪(单目)

这段代码实现了一个机器人视觉引导系统,主要功能包括: 连接仿真环境,控制UR机器人。相机标定: 使用棋盘格图案进行相机内参标定通过移动机器人采集多组图像使用calibrateCamera函数计算相机内参 手眼标定: 采集机器人末端位姿和对应的棋盘格图像使用calibrateHandEye函数计算相…

Qt小项目 | 实现迅雷设置界面

文章目录 一、手写代码实现迅雷设置界面 一、手写代码实现迅雷设置界面 使用Qt控件&#xff08;如&#xff1a;QListWidget与QScrollArea等&#xff09;与布局实现腾讯会议登陆界面。设置界面除基本设置界面外&#xff0c;其他界面都是以图片的形式嵌入到项目中并没有手写代码。…

每日一学(1)

目录 1、ConCurrentHashMap为什么不允许key为null&#xff1f; 2、ThreadLocal会出现内存泄露吗&#xff1f; 3、AQS理解 4、lock 和 synchronized的区别 1、ConCurrentHashMap为什么不允许key为null&#xff1f; 底层 putVal方法 中 如果key || value为空 抛出…

npm ERR! ..... reason: certificate has expired(淘宝镜像过期)

在执行npm install命令时&#xff0c;报错如下 npm ERR! request to https://registry.npm.taobao.org/babel/plugin-syntax-dynamic-import/download/babel/plugin-syntax-dynamic-import-7.8.3.tgz failed, reason: certificate has expired原因&#xff1a;淘宝证书过期 解…

【新闻】金融专业“免进”!私募巨头招聘涌现“新剧情”

A股市场在2024年逐渐出现新的运行特征&#xff0c;这不禁让部分主动投资的私募巨头公司重新登上招聘舞台。 但这一次&#xff0c;他们的招聘方向出现了新的变动。 有些机构有意识的为公司投研团队招聘“衔接”岗&#xff0c;有些则把重点放在了投研动作的交易层。 但这都不如…

如何使用代理 IP 防止多个 Facebook 帐户关联 - 最佳实践

在社交媒体被广泛应用的今天&#xff0c;Facebook作为全球最大的社交网络平台之一&#xff0c;面临着很多挑战&#xff0c;其中之一就是用户行为的管理和安全。 为了防止多个账户之间的关联和滥用&#xff0c;Facebook需要采取一系列措施&#xff0c;其中包括使用静态住宅代理…

云计算运维工程师的突发状况处理

云计算运维工程师在应对突发的故障和紧急情况时,需要采取一系列迅速而有效的措施来最小化服务中断的时间并恢复系统的稳定性。 以下是一些关键步骤和策略: 快速响应: 立即识别并确认故障的性质和范围。通知团队成员和相关的利益相关者,确保所有人了解当前情况。故障诊断:…

【论文阅读】-- MultiStream:探索分层时间序列的多分辨率流图方法

MultiStream: A Multiresolution Streamgraph Approach to Explore Hierarchical Time Series 摘要1 引言2相关工作2.1 堆叠图和流图可视化2.2 时间序列的层次结构2.3 交互技术 3 需求分析4 视觉映射和功能4.1 设计原理总结4.2 概述4.3 多分辨率视图4.4 控制器4.5 层次管理器 5…

探索ChatGPT在程序员日常工作的多种应用

引言 在现代科技迅猛发展的今天&#xff0c;人工智能的应用已经深入到我们生活和工作的各个方面。作为程序员&#xff0c;我们时常面临大量繁杂的任务&#xff0c;从代码编写、错误调试到项目管理和团队协作&#xff0c;每一项都需要花费大量的时间和精力。近年来&#xff0c;…