华三网络设备打热补丁教程

热补丁打完就生效,不需要重启!

方法很简单:

一。单设备升级热补丁(一步式)

1.利用tftp之类的将补丁文件上传到设备根目录

热补丁安装方法:
将TFTP server上的补丁文件patch_mpu.bin和patch_lpu.bin下载到交换机存储介质的根目录下。
<Switch> tftp 2.2.2.2 get patch_mpu.bin
<Switch> tftp 2.2.2.2 get patch_lpu.bin

一般为两个文件。

=============

2.安装补丁:

<Switch> system-view

[Switch] patch install flash:

Patches will be installed. Continue? [Y/N]:y

Do you want to continue running patches after reboot? [Y/N]:y

Installing patches........

Installation completed, and patches will continue to run after reboot.

=======

3.验证补丁:

 显示热补丁的信息。

<Switch> display patch information

The location of patches: flash:

Slot Version   Temporary Common Current Active Running  Start-Address

----------------------------------------------------------------------

1    MPU        0        0      0       0      0        0x86262dd8

 1.1  LPU        0        0      0       0      0        0x809533a4

 

二。IRF  设备升级热补丁(分布式)

(1)     配置Switch

# 将TFTP server上的文件patch_mpu.bin和patch_lpu.bin下载到Master设备存储介质的根目录下。

<Switch> tftp 2.2.2.2 get patch_mpu.bin

<Switch> tftp 2.2.2.2 get patch_lpu.bin

# 将TFTP server上的文件patch_mpu.bin和patch_lpu.bin下载到Slave设备存储介质的根目录下。

<Switch> tftp 2.2.2.2 get patch_mpu.bin slot2#flash:/patch_mpu.bin

<Switch> tftp 2.2.2.2 get patch_lpu.bin slot2#flash:/patch_lpu.bin

# 设置补丁文件加载路径为flash的根目录。

<Switch> system-view

[Switch] patch location flash:

# 将补丁文件从存储介质加载到内存补丁区中

[Switch] patch load slot 1

[Switch] patch load slot 2

# 激活成员设备上1号补丁。

[Switch] patch active 1 slot 1

[Switch] patch active 1 slot 2

# 确认运行成员设备上1号补丁。

[Switch] patch run 1 slot 1

[Switch] patch run 1 slot 2

1.3.5  验证配置
# 显示热补丁的信息。

<Switch> display patch information

The location of patches: flash:

Slot Version   Temporary Common Current Active Running  Start-Address

----------------------------------------------------------------------

1    MPU        0        1      1       0      1        0x86262dd8

1.1  LPU        0        1      1       0      1        0x809533a4

2    MPU        0        1      1       0      1        0x86262dd8

2.1  LPU        0        1      1       0      1        0x809533a4

  • 1
    点赞
  • 14
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值