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

news2025/2/23 6:29:04

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

  • 实验环境: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>

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

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

相关文章

UFS协议—新手快速入门(五)【11-13】

目录 十一、逻辑单元&#xff08;Logical Unit, LU&#xff09; 1、概念 2、UFS逻辑单元的独立特性 3、Well known LU &#xff08;1&#xff09;Boot Logical Units&#xff08;BOOT LUs&#xff09; &#xff08;2&#xff09;RPMB&#xff08;Replay Protected Memory…

27. 高级特性(下)

目录 一、为了类型安全和抽象而使用 newtype 模式二、使用类型别名创建类型同义词2.1 使用type关键赋予现有类型一个别名2.2 减少重复2.3 与Result<T, E>结合使用2.4 从不返回的 never type 三、高级函数和闭包3.1 函数指针3.2 返回闭包 四、宏4.1 宏和函数的区别4.2 mac…

ElasticSearch8.X查询DSL语法案例进阶实战

什么是Query DSL Query DSL主要由两部分组成&#xff1a;查询和过滤。 查询部分&#xff1a;用于指定搜索条件和匹配规则。例如&#xff0c;可以使用match查询进行全文检索&#xff0c;term查询进行精确匹配&#xff0c;range查询进行范围匹配等。过滤部分&#xff1a;用于对查…

【八股系列】探索响应式布局的奥秘:关键技术与实战代码示例

&#x1f389; 博客主页&#xff1a;【剑九 六千里-CSDN博客】 &#x1f3a8; 上一篇文章&#xff1a;【为什么组件中的 data 必须是一个函数&#xff0c;然后 return 一个对象&#xff0c;而 new Vue 实例里&#xff0c;data 可以直接是一个对象&#xff1f;】 &#x1f3a0; …

【python】eval函数

1.eval函数的语法及用法 &#xff08;1&#xff09;语法&#xff1a;eval(expression) 参数说明&#xff1a; expression&#xff1a;必须为字符串表达式&#xff0c;可为算法&#xff0c;也可为input函数等。 说明&#xff1a;表达式必需是字符串&#xff0c;否则会报错&a…

(2024,稀疏高秩适配器(SHiRA),适配器快速切换和多适配器融合,稀疏掩码,稀疏高秩且正交的适配器,移动场景部署)

Sparse High Rank Adapters 公和众与号&#xff1a;EDPJ&#xff08;进 Q 交流群&#xff1a;922230617 或加 VX&#xff1a;CV_EDPJ 进 V 交流群&#xff09; 目录 0. 摘要 1. 介绍 2. 背景&#xff1a;LoRA 的边缘部署挑战 3. 提议的方法 3.1 稀疏高秩适配器&#xff0…

共享资源,共谋协同发展新机遇

树莓集团在资源共享与协同发展方面取得了显著成效。通过优化资源配置、构建产业服务平台、校企合作育人、推动产业转型升级以及主导产业园运营与建设等举措&#xff0c;树莓集团不仅促进了数字产业的快速发展&#xff0c;也为各数字产业园区和合作企业提供了更多的发展机会和合…

Compiled blocks

目录 一&#xff0c;编译块 Compiled Block 二&#xff0c;编译循环 三&#xff0c;调用编译块 Invoke 四&#xff0c;Tips and notes 一&#xff0c;编译块 Compiled Block 在几何体网络内&#xff0c;可将网络的一部分放入编译块&#xff08;compiled block&#xff09;内…

天润融通:AI赋能客户体验,推动企业收入和业绩增长

“客户体验已经成为全球企业差异化的关键。人工智能与数据分析等创新技术正在加速推动企业在客户体验计划中取得成功&#xff0c;以保持领先地位”。Customer Insights & Analysis 研究经理Craig Simpson说道。 客户体验 (CX&#xff0c;Customer Experience) 是客户在与企…

基于PHP+MySql的留言管理系统的设计与实现

功能概述 网页留言板管理系统&#xff0c;用户层面分为普通用户和管理员&#xff0c;并设权限&#xff08;即后台留言管理系统普通用户不能访问&#xff0c;别人的留言自己不可以修改删除&#xff0c;未登录不能使用留言功能&#xff09;&#xff0c;功能包括用户登录注册、留…

鸿蒙开发HarmonyOS NEXT(一)

最近总听见大家讨论鸿蒙&#xff0c;前端转型的好方向&#xff1f;先入门学习下 目前官方版本和文档持续更新中 一、开发环境 提示&#xff1a;要占用的空间比较多&#xff0c;建议安装在剩余空间多的盘 1、下载&#xff1a;官网最新工具 - 下载中心 - 华为开发者联盟 (huaw…

【Mac】王国保卫战:起源 for mac(塔防策略游戏)游戏介绍和安装教程

游戏介绍 《王国保卫战&#xff1a;起源》&#xff08;Kingdom: Origins&#xff09;是一款策略塔防游戏&#xff0c;其核心玩法融合了塔防、策略管理和资源管理元素。游戏的主要目标是在一个开放的像素化世界中建立和管理自己的王国&#xff0c;并抵御夜晚来袭的怪物入侵。 …

c语言学习记录(十)———函数

文章目录 前言一、函数的基本用法二、函数的参数传递1.基本方式2 数组在函数中的传参 前言 一个学习C语言的小白~ 有问题评论区或私信指出~ 提示&#xff1a;以下是本篇文章正文内容&#xff0c;下面案例可供参考 一、函数的基本用法 函数是一个完成特定功能的代码模块&…

使用Dropout大幅优化PyTorch模型,实现图像识别

大家好&#xff0c;在机器学习模型中&#xff0c;如果模型的参数太多&#xff0c;而训练样本又太少&#xff0c;训练出来的模型很容易产生过拟合的现象。在训练神经网络时&#xff0c;过拟合具体表现在模型训练数据损失函数较小&#xff0c;预测准确率较高&#xff0c;但是在测…

gc.log中 CMS-concurrent-abortable-preclean

问题 在gc日志中看到 2024-06-26T16:16:07.5040800: 64690272.666: [CMS-concurrent-abortable-preclean-start]CMS: abort preclean due to time 2024-06-26T16:16:12.5530800: 64690277.716: [CMS-concurrent-abortable-preclean: 1.052/5.049 secs] [Times: user1.33 sys0…

点云处理实战 PCL求解点云表面曲率

目录 一、什么是曲率 二、曲率计算过程 三、pcl 求解点云局部曲率 四、思考?为何曲率计算会使用协方差矩阵? 五、推荐阅读 一、什么是曲率 曲率是几何学中用来描述曲线或曲面形状变化的一个量。它反映了曲线或曲面的弯曲程度。在不同的上下文中,曲率的定义和计算方式有…

C语言 指针——向函数传递字符串

目录 向函数传递字符串 计算实际字符个数 用字符数组编程实现字符串复制 用字符指针编程实现字符串复制 关于程序的效率的几点建议 向函数传递字符串 向函数传递字符串时  既可用 字符数组 作函数参数  也可用 字符指针 作函数参数 Simulating Call by reference &…

第二期书生·浦语大模型实战营优秀项目一览

书生浦语社区于 2023 年年底正式推出了书生浦语大模型实战营系列活动&#xff0c;至今已有两期五批次同学参加大模型学习、实战&#xff0c;线上课程累计学习超过 10 万人次。 实战营特设项目实践环节&#xff0c;提供 A100 算力支持&#xff0c;鼓励学员动手开发。第 2 期实战…

51单片机STC89C52RC——9.1 DS1302涓流充电计时芯片

目录 目的/效果 一&#xff0c;STC单片机模块 二&#xff0c;DS1302计时器 2.1 特性/板子位置 2.1.1 特性 2.1.2 板子上的位置 2.2 针脚定义 2.3 数据传输 2.3.1 读数据 2.3.2 写数据 2.4 BCD码 2.5 可编程涓流充电器 2.6 时钟动态设置 三&#xff0c;创建Keil项目…

算法导论 总结索引 | 第四部分 第十六章:贪心算法

1、求解最优化问题的算法 通常需要经过一系列的步骤&#xff0c;在每个步骤都面临多种选择。对于许多最优化问题&#xff0c;使用动态规划算法求最优解有些杀鸡用牛刀了&#xff0c;可以使用更简单、更高效的算法 贪心算法&#xff08;greedy algorithm&#xff09;就是这样的算…