热补丁打完就生效,不需要重启!
方法很简单:
一。单设备升级热补丁(一步式)
1.利用tftp之类的将补丁文件上传到设备根目录
热补丁安装方法:
将TFTP server上的补丁文件patch_mpu.bin和patch_lpu.bin下载到交换机存储介质的根目录下。
一般为两个文件。
=============
2.安装补丁:
[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.验证补丁:
显示热补丁的信息。
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设备存储介质的根目录下。
# 将TFTP server上的文件patch_mpu.bin和patch_lpu.bin下载到Slave设备存储介质的根目录下。
# 设置补丁文件加载路径为flash的根目录。
[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 验证配置
# 显示热补丁的信息。
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