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

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

  • 实验环境: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: Access
 Tagged VLANs:   None
 Untagged VLANs: 1
Port priority: 0
Last link flapping: 0 hours 1 minutes 54 seconds
Last clearing of counters: Never
 Peak input rate: 47 bytes/sec, at 2011-01-01 00:05:09
 Peak output rate: 34 bytes/sec, at 2011-01-01 00:05:09
 Last 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 bytes
         0 unicasts, 125 broadcasts, 50 multicasts, 0 pauses
 Input (normal):  175 packets, - bytes
         0 unicasts, 125 broadcasts, 50 multicasts, 0 pauses
 Input:  0 input errors, 0 runts, 0 giants, 0 throttles
         0 CRC, 0 frame, - overruns, 0 aborts
         - ignored, - parity errors
 Output (total): 66 packets, 10644 bytes
         0 unicasts, 0 broadcasts, 66 multicasts, 0 pauses
 Output (normal): 66 packets, - bytes
         0 unicasts, 0 broadcasts, 66 multicasts, 0 pauses
 Output: 0 output errors, - underruns, - buffer failures
         0 aborts, 0 deferred, 0 collisions, 0 late collisions
         0 lost carrier, - no carrier
         
[H3C]qu       //退出,进入用户视图
<H3C>dir       //检查软件信息
Directory of flash:
   0 drw-           - Jan 01 2011 00:00:29   diagfile
   1 -rw-        1363 Jan 01 2011 00:12:42   ifindex.dat
   2 drw-           - Jan 01 2011 00:00:29   license
   3 drw-           - Jan 01 2011 00:00:29   logfile
   4 -rw-    11868160 Apr 07 2017 16:00:00   s6520ei-cmw710-boot-r2432p03.bin
   5 -rw-    76859392 Apr 07 2017 16:00:00   s6520ei-cmw710-system-r2432p03.bin
   6 drw-           - Jan 01 2011 00:00:29   seclog
   7 -rw-        4330 Jan 01 2011 00:12:42   startup.cfg
   8 -rw-      102455 Jan 01 2011 00:12:43   startup.mdb
   9 drw-           - Jan 01 2011 00:00:56   versionInfo

524288 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.ipe
   1 drw-           - Jan 01 2011 00:00:29   diagfile
   2 -rw-        1363 Jan 01 2011 00:12:42   ifindex.dat
   3 drw-           - Jan 01 2011 00:00:29   license
   4 drw-           - Jan 01 2011 00:00:29   logfile
   5 -rw-    11868160 Apr 07 2017 16:00:00   s6520ei-cmw710-boot-r2432p03.bin
   6 -rw-    15440896 Jan 01 2011 00:21:01   s6520ei-cmw710-packet-capture-r2432p05.bin
   7 -rw-    76859392 Apr 07 2017 16:00:00   s6520ei-cmw710-system-r2432p03.bin
   8 drw-           - Jan 01 2011 00:00:29   seclog
   9 -rw-        4330 Jan 01 2011 00:12:42   startup.cfg
  10 -rw-      102455 Jan 01 2011 00:12:43   startup.mdb
  11 drw-           - Jan 01 2011 00:00:56   versionInfo

524288 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 reboot

Boot image: flash:/s6520ei-cmw710-boot-r2432p03.bin
Boot image version: 7.1.045, Release 2432P03
  Compiled Apr 07 2017 16:00:00
System image: flash:/s6520ei-cmw710-system-r2432p03.bin
System image version: 7.1.045, Release 2432P03
  Compiled Apr 07 2017 16:00:00


Slot 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.bin
  s6520ei-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     : 38ADBEA138D6


PEX 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 reboot

Boot image: flash:/s6520ei-cmw710-boot-r2432p05.bin
Boot image version: 7.1.045, Release 2432P05
  Compiled Aug 31 2017 16:00:00
System image: flash:/s6520ei-cmw710-system-r2432p05.bin
System image version: 7.1.045, Release 2432P05
  Compiled Aug 31 2017 16:00:00


Slot 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>

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

如若内容造成侵权/违法违规/事实不符,请联系我们进行投诉反馈qq邮箱809451989@qq.com,一经查实,立即删除!

相关文章

宿主机无法通过ip连接wsl2解决方案

文章目录 原因排查网络模式win11防火墙关闭wsl ubuntu防火墙 如果之前能连接现在连接不上可以参考该方案 原因排查 网络模式win11防火墙(win11新增了Hyper-V防火墙)wsl2 ubuntu防火墙 网络模式 wsl2的默认网络模式是NAT&#xff0c;建议修改为镜像模式。在C:\Users\<User…

深圳,不止是“搞钱之都”

深圳又结结实实火了一把。 “建议深圳人吃饭不要谈工作”&#xff0c;这条微博话题热度飙升&#xff0c;超过五百多万人围观&#xff0c;引来无数网友吐槽“深圳人饭局的真实写照”。 从高档粤菜包间到路边小摊&#xff0c;从茶餐厅到烧烤摊&#xff0c;深圳人吃饭似乎总绕不…

Objects and Classes (对象和类)

Objects and Classes [对象和类] 1. Procedural and Object-Oriented Programming (过程性编程和面向对象编程)2. Abstraction and Classes (抽象和类)2.1. Classes in C (C 中的类)2.2. Implementing Class Member Functions (实现类成员函数)2.3. Using Classes References O…

华为---VRRP基本配置(一)

10、VRRP 10.1 VRRP基本配置 10.1.1 原理概述 随着Internet的发展&#xff0c;人们对网络可靠性的要求越来越高。对于用户来说&#xff0c;能够时刻与外部网络保持通信非常重要&#xff0c;但内部网络中的所有主机通常只能设置一个网关IP地址&#xff0c;通过该出口网关实现…

前端打包配置+nginx配置实现部署及部署地址带特定前缀的几种方式

前端打包后要部署到服务器&#xff0c;在浏览器中可以通过url访问到我们开发的系统&#xff0c;通过nginx代理在工作中是一种很常用的方式。 这里以本地为例&#xff0c;把本地电脑当作一个服务器&#xff0c;实现普通部署、带特定前缀等 前端使用vue-clivue作为例子 以下内容…

电脑突然提示dll文件丢失,怎么选择正确的恢复方法?

电脑突然提示dll文件丢失&#xff1f;其实当你的电脑使用久了&#xff0c;出现这种dll文件丢失是非常的正常的&#xff0c;毕竟你总会有不恰当的操作吧&#xff1f;这些操作都是会导致dll文件丢失的。丢失了&#xff0c;我们直接进行相关的修复就好了&#xff0c;还是比较简单的…

Qt开发 | Qt控件 | QTabWidget基本用法 | QListWidget应用详解 | QScrollArea应用详解

文章目录 一、QTabWidget基本用法二、QListWidget应用详解1.列表模式1.1 基本操作1.2 添加自定义item1.3 如何添加右键菜单1.4 QListWidget如何删除item 2.图标模式 三、QScrollArea应用详解 一、QTabWidget基本用法 QTabWidget 是 Qt 框架中的一个类&#xff0c;它提供了一个选…

C++学习/复习18----迭代器/反向迭代器及在list/vector中的应用、list与vector模拟实现复习

迭代器是一个对象&#xff0c;可以循环访问 C 标准库容器中的元素&#xff0c;并提供对各个元素的访问。 C 标准库容器全都提供迭代器&#xff0c;以便算法可以采用标准方式访问其元素&#xff0c;而不必考虑用于存储元素的容器类型。 一、反向迭代器类 基于普通迭代器构建反…

【Chapter8】文件系统,计算机操作系统教程,第四版,左万利,王英

文章目录 [toc]一、文件与文件系统1.1 文件1.2 文件系统 二、文件的访问方式2.1 顺序访问2.2 随机访问 三、文件的组织3.1 文件的逻辑组织3.2 文件的物理组织3.2.1 顺序结构3.2.2 链接结构3.2.3 索引结构3.2.4 Hash 结构3.2.5 倒排结构 3.3 UNIX文件物理结构&#xff08;索引链…

HarmonyOS Next开发学习手册——进程模型线程模型

进程模型 系统的进程模型如下图所示&#xff1a; 应用中&#xff08;同一包名&#xff09;的所有PageAbility、ServiceAbility、DataAbility、FormAbility运行在同一个独立进程中&#xff0c;即图中绿色部分的“Main Process”。 WebView拥有独立的渲染进程&#xff0c;即图中…

智能工厂中滑环应用的集成式和分立式数据接口解决方案

第四次工业革命通过在生产过程中实现新场景来推动数字化制造向前发展。这些场景依赖于基本的设计原则&#xff0c;包括器件互联、信息透明、技术协助&#xff0c;以及分散决策。没有先进的无线通信技术&#xff0c;就无法在现代智能工厂中实现所有这些原则。它们支持在广泛的领…

JM日志文件解析

研究意义 JM代码是对H264协议支持最全面的,不但还有编码还包括解码,通过它生成的trace文件可以对码流做一个很好的解读,目前很多码流分析工具也是基于JM的trace文件进行分析,研究它可以更深刻的理解H264协议。 环境搭建 先用cmake.exe 生成VS的工程文件 ●用VS 2019编译…

Modbus TCP什么场景用?

什么是Modbus TCP Modbus TCP是一种基于TCP/IP网络的通信协议&#xff0c;它允许不同的设备通过以太网进行数据交换。Modbus协议最初是为串行通信设计的&#xff0c;但随着网络技术的发展&#xff0c;Modbus TCP应运而生&#xff0c;它继承了Modbus RTU和Modbus ASCII的许多优点…

【分布式文件系统HDFS】文件操作基本命令的使用

目录 一、按照下述要求写出相应的文件操作命令&#xff0c;执行并观察结果 1. 新建目录 1.1 在本地文件系统按要求创建如下的文件夹 1.2 在HDFS文件系统按要求创建如下的文件夹 2. 编辑文件test1.txt&#xff0c;放入本地文件夹 /opt/user/myfile 3. 使用moveFromLocal命令…

沙盒在数据防泄密领域意义

在信息化快速发展的今天&#xff0c;数据已成为企业最宝贵的资产之一。然而&#xff0c;数据泄密事件频发&#xff0c;给企业的安全和发展带来了巨大威胁。SDC沙盒防泄密系统&#xff0c;作为一种创新的数据防泄密解决方案&#xff0c;正逐渐在数据防泄密领域发挥着越来越重要的…

客户端输入网址后发生的全过程解析(协议交互、缓存、渲染)

目录 1. 输入 URL 并按下回车键2. DNS 解析3. TCP 连接4. 发送 HTTP 请求5. 服务器处理请求6. 发送 HTTP 响应7. 浏览器接收响应8. 渲染网页9. 执行脚本10. 处理其他资源11. TLS/SSL 加密&#xff08;如果使用 HTTPS&#xff09;握手过程 12. 协议协商和优化 总结 1. 输入 URL …

低碳短视频:成都柏煜文化传媒有限公司

低碳短视频&#xff1a;绿色传播的新风尚 随着全球气候变化和环境问题日益严峻&#xff0c;低碳生活已经成为人们追求的新风尚。在这个背景下&#xff0c;低碳短视频应运而生&#xff0c;以其独特的方式传播绿色理念&#xff0c;推动低碳生活方式的普及。成都柏煜文化传媒有限…

如何使用sr2t将你的安全扫描报告转换为表格格式

关于sr2t sr2t是一款针对安全扫描报告的格式转换工具&#xff0c;全称为“Scanning reports to tabular”&#xff0c;该工具可以获取扫描工具的输出文件&#xff0c;并将文件数据转换为表格格式&#xff0c;例如CSV、XLSX或文本表格等&#xff0c;能够为广大研究人员提供一个…

boss直聘招聘数据可视化分析

boss直聘招聘数据可视化分析 一、数据预处理二、数据可视化三、完整代码一、数据预处理 在 上一篇博客中,笔者已经详细介绍了使用selenium爬取南昌市web前端工程师的招聘岗位数据,数据格式如下: 这里主要对薪水列进行处理,为方便处理,将日薪和周薪的数据删除,将带有13薪…

Excel 将某个序列随机重排 N 次

A 列是个随机序列&#xff0c;B2 格是参数&#xff0c;表示重排的次数。 AB1ItemsReplicates2A23B4C5D 要求将 A 列重拍 N 次 D1Result2C3D4B5A6D7A8B9C 使用 SPL XLL&#xff0c;输入公式&#xff1a; spl("?2.conj(?1.sort(rand()))",A2:A5,B2)"整数.()…