H3C交换机升级步骤_交换机升级步骤


下载H3C交换机的系统文件:用户名:01230123、密码:yx800


1、H3C S5500
(系统进入完成)
2、进入System View(系统视界)界面
<H3C>system-view

3、为交换机添加IP
[H3C]interface Vlan-interface 1 (回车进入Vlan-interface1设置)
[H3C-Vlan-interface1]ip address 1.1.1.2 255.0.0.0 (因为我的本机IP是1.1.1.1所以添加为IP1.1.1.2 还要设置子网掩码我这里的是255.0.0.0 然后回车)
上面显示交换机IP设置完成
4、下面我们来PING以下我的计算机,确认网络连接已建立
[H3C-Vlan-interface1]ping 1.1.1.1 (交换机1.1.1.2 PING 1.1.1.1)
PING 1.1.1.1: 56
data bytes, press CTRL_C to break
Reply from 1.1.1.1: bytes=56 Sequence=1 ttl=128 time=6 ms
通讯正常
5、配置PC上的tftp服务

H3C交换机升级步骤_交换机升级步骤_02


H3C交换机升级步骤_交换机升级步骤_03


6、在交换机系统视界下敲,通过TFTP从1.1.1.1 (我的计算机)获取系统文件

原先系统文件S5500EI-CMW520-R2208-S168.bin 新系统文件S5500EI-CMW520-R2208-S168.ipe

步骤都一样

<H3C>tftp 1.1.1.1 get S5500EI-CMW520-R2208-S168.bin 

tftp tftp-server { get | put } source-filename [ destination-filename ]
get:表示进行下载文件操作
put:表示进行上传文件操作

File will be transferred in binary mode Downloading file from remote TFTP server, please
wait...........................................................................................................................
TFTP: 12397691 bytes received in 612 second(s)
File downloaded successfully.
获取完成
7、将获取成功的文件定义为主系统文件
[H3C]quit 退出到系统底层< 括号>表示使用boot-loader 命令操作
boot-loader file flash:/s5500ei-cmw520-r2208-s168.bin slot 1 main 定义插槽1中闪存的文件s5500ei-cmw520-r2208-s168.bin 为主(main)
This command will set the boot file of the specified board. Continue? [Y/N]:y 回车
The specified file will be used as the main boot file at the next reboot on slot 1!
quit
******************************************************************************
* Copyright (c) 2004-2010 Hangzhou H3C Tech. Co., Ltd. All rights reserved.
*
* Without the owner's prior written consent,
*
* no decompiling or reverse-engineering shall be allowed.
*
******************************************************************************
User interface aux0 is available.
Please press ENTER.
reboot
Start to check configuration with next startup configuration file, please wait.........DONE!
This command will reboot the device. Current configuration may be lost
in next startup if you
continue. Continue? [Y/N]:y
#Apr 26 12:19:00:744 2000 H3C DEV/1/REBOOT:
Reboot device by command.
%Apr 26 12:19:00:836 2000 H3C DEV/4/SYSTEM REBOOT:
System is rebooting now.
8、完成设置然后重启交换机
Starting......
***********************************************************
*
*
*
H3C S5500-28C-EI BOOTROM, V
ersion 609
*
*
*
***********************************************************
Copyright (c) 2004-2010 Hangzhou H3C Tech. Co., Ltd.
Creation date
: Aug 10 2010, 18:57:57
CPU Clock Speed : 533MHz
BUS Clock Speed : 133MHz
Memory Size
: 256MB
Mac Address
: c4cad94a97de
Press Ctrl-B to enter Boot Menu... 0
Auto-booting...
Decompress
Image....................................................................................................................................................
..............................................................................................................................................................
..............................................................................................................................................................
...............................OK!
Startup configuration file does not exist.
It will take a long time to get configuration file, please wait...
Retrieving configuration file failed!
User interface aux0 is available.
重启完成
9、查看版本号
[H3C]dis ver
(版本查看命令)
H3C Comware Platform Software
Comware Software,
Version 5.20, Release 2208
对的
Copyright (c) 2004-2010 Hangzhou H3C Tech. Co., Ltd. All rights reserved.
H3C S5500-28C-EI uptime is 0 week, 0 day, 0 hour, 2 minutes
H3C S5500-28C-EI with 1 Processor
256M
bytes SDRAM
32768K
bytes Flash Memory
Hardware V
ersion is REV
.C
CPLD V
ersion is 002
Bootrom V
ersion is 609
[SubSlot 0] 24GE+4SFP Hardware V
ersion is REV
.C
全部完成


拷贝交换机系统文件步骤

H3C交换机升级步骤_交换机升级步骤_04

H3C交换机升级步骤_交换机升级步骤_05

<H3C>tftp 192.168.0.68 put flash:/S7500E-CMW710-SYSTEM-R7536P02.bin

H3C交换机升级步骤_交换机升级步骤_06

补丁是一种与设备系统软件兼容的软件,用于解决设备系统软件少量且急需解决的问题,如改正系统中存在的缺陷,优化某些功能以适应业务需求等
补丁通常以补丁文件的形式发布,一个补丁文件可能包含一个或多个补丁,不同的补丁具有不同的功能。当补丁文件被用户从存储器加载到内存补丁区中时,补丁文件中的补丁将被分配一个在此内存补丁区中唯一的单元序号,用于标志、管理和操作各补丁

针对业务补丁分类
热补丁:补丁生效不中断业务,不影响业务,同时可以降低设备升级成本,避免升级风险
冷补丁:要使补丁生效需要重启设备,影响业务的运行

针对依赖关系补丁分
增量型补丁:是指对在其前面的补丁有依赖性补丁,一个新的补丁文件必须包含前一个补丁文件中的所有补丁文件的所有补丁信息。用户可以在不卸载原补丁文件的情况下直接安装新的补丁文件
非增量型补丁:只允许当前系统安装一个补丁文件。如果用户安装完补丁之后希望重新安装另一个补丁文件,则需要先卸载当前的补丁文件,然后再重新安装并运行新的补丁文件


华为S9306升级过程

1、通过dir查看内存空间(比对目前系统版本与内存空间的的大小)

2、通过ftp或tftp上传系统文件,上传速度较慢(tftp -a 1.1.1.1(PC) 1.1.1.2(SW) get 交换机系统文件)
FTP:基于TCP,传输速度太慢
TFTP:基于UDP,数据完整性得不到保障
<S9306>ftp 10.1.1.2
Trying 10.1.1.2 ...
Press CTRL+K to abort
User(10.1.1.2):admin
enter password:admin@123
get S9300-V200R010C00SPC600.cc

<S9306>tftp 10.1.1.2 get S9300-V200R010C00SPC600.cc

3、激活系统文件

<S9306>startup system-software S9300-V200R010C00SPC600.cc #指定下次启动时加载的VRP

<S9306>startup system-software S9300-V200R010C00SPC600.cc slave-board

<S9306>display startup

4、重启(重新加载系统)

<S9306>reboot