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

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

  • 实验环境: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,一经查实,立即删除!

相关文章

【绝对有用】c++ 将应该整型数组的值字符串化拼接、将字符串通过逗号分割开来并转化为整型、如何查找逗号的位置、字符串中根据区间取值

在 C 中&#xff0c;你可以使用 std::ostringstream 将整型数组的值转换为字符串并进行拼接。下面是一个简单的示例代码&#xff1a; #include <iostream> #include <sstream> #include <vector>std::string joinIntegers(const std::vector<int>&…

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…

解析json字符串的方法

java,json的序列化库&#xff1a; fastjsongson&#xff08;相对安全&#xff09;jacksonjsonlibkryo gson 反序列化fronjson 序列化&#xff1a;tojson

第二十八周代码

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,…

Java高手的30k之路|面试宝典|精通MySQL(一)

MySQL Server架构 组件详解 连接管理 连接处理&#xff1a;通过TCP/IP、Unix Socket、Named Pipe等协议接受客户端连接。使用线程池技术来高效地管理连接。认证和授权&#xff1a;在连接建立后&#xff0c;MySQL对用户进行认证&#xff0c;并根据用户权限执行相应操作。 查询…

高考成绩加分,西藏学生推荐使用的《藏文翻译词典》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;如何优化…

浏览器插件的开发

文章目录 构成使用vue编写插件插件中向其他服务器发送请求 官方文档地址&#xff1a; https://developer.chrome.com/docs/extensions/get-started/tutorial/hello-world?hlzh-cn 构成 插件目录的主要构成&#xff1a; manifest.json文件&#xff1a;描述了扩展程序的功能和…

刚体力学基础

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

【LeetCode 122】买卖股票的最佳时机

1. 题目 2. 分析 合理地改造原数据&#xff0c;这样会使得代码逻辑大大简化。 为了让代码走相同的逻辑&#xff0c;这里需要在原数据后面追加一个price 0。这个price 0大大地简化了处理[1,2,3,4,5] 这类型数据的复杂度。 3. 代码 class Solution:def maxProfit(self, pri…

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

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

【java】常见问题-自用

一、作用域 1.let 在JavaScript中&#xff0c;let 关键字用于声明一个块级作用域的本地变量。这意味着 let 声明的变量只在它所在的代码块&#xff08;例如&#xff0c;if 语句、函数体或任何被花括号 {} 包围的代码块&#xff09;中可用。 if (this.currentView point) {/…

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

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;我们将通过一个…

39.客户端与服务端断开事件handler

客户端与服务端断开有两种情况&#xff1a; 1.正常断开&#xff0c;客户端调用了ctx.channel().close(); 2.异常断开&#xff0c;比如客户端挂掉了 服务端定义handler来处理连接断开情况下要进行的逻辑操作&#xff1a; package com.xkj.server.handler;import com.xkj.ser…

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

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

组合式api和选项式api该怎么选

Vue的组合式API&#xff08;Composition API&#xff09;和选项式API&#xff08;Options API&#xff09;在Vue.js框架中提供了两种不同的组件开发方式。下面我将从区别和联系、开发中如何选择两个方面进行详细解释。 区别 设计思想&#xff1a; 选项式API&#xff1a;基于组…