- Table of Contents
- Related Documents
-
Title | Size | Download |
---|---|---|
04-H3C_Software_Patching_Examples | 61.84 KB |
|
H3C Software Patching Examples |
|
|
|
Software version: Release 7577P04
Document version: 6W100-20190330
Copyright © 2019 New H3C Technologies Co., Ltd. All rights reserved.
No part of this manual may be reproduced or transmitted in any form or by any means without prior written consent of New H3C Technologies Co., Ltd.
Except for the trademarks of New H3C Technologies Co., Ltd., any trademarks that may be mentioned in this document are the property of their respective owners.
The information in this document is subject to change without notice.
Contents
Introduction
This document provides software patching examples that use ISSU install commands.
Prerequisites
The configuration examples in this document were created and verified in a lab environment, and all the devices were started with the factory default configuration. When you are working on a live network, make sure you understand the potential impact of every command on your network.
This document assumes that you have basic knowledge of ISSU.
Example: Patching software
Network configuration
As shown in Figure 1, the two-chassis IRF fabric and the TFTP server can reach each other. The IRF members are running boot image BOOT-R7577P01 and system image SYSTEM-R7577P01.
Use patch image file SYSTEM-R7577P01H01.bin to fix bugs without rebooting the members.
Restrictions and guidelines
When you patch software, follow these restrictions and guidelines:
· To install an image, you must begin with the master. To upgrade an image, you must begin with a subordinate device.
· The patch image version must match the device model and Comware version. For example, to fix bugs in R7577P01, you must use SYSTEM-R7577P01H01.bin.
Procedures
# Download patch image file SYSTEM-R7577P01H01.bin from the TFTP server to the root directory on the master.
<Sysname> tftp 2.2.2.2 get SYSTEM-R7577P01H01.bin
Press CTRL+C to abort.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 25.2M 0 25.2M 0 0 210k 0 --:--:-- 0:02:02 --:--:-- 209k
# Activate the patch images on member devices.
<Sysname> install activate patch flash:/SYSTEM-R7577P01H01.bin slot 2
This operation maybe take several minutes, please wait.............Done.
<Sysname> install activate patch flash:/SYSTEM-R7577P01H01.bin slot 1
This operation maybe take several minutes, please wait.............Done.
The patch images take effect immediately after they are activated.
# For the patch images to take effect after a reboot, commit the software changes.
<Sysname> install commit
Verifying the configuration
# Verify that the patch images have been activated successfully.
<Sysname> display install active
Active packages on slot 1:
flash:/BOOT-R7577P01.bin
flash:/SYSTEM-R7577P01.bin
flash:/SYSTEM-R7577P01H01.bin
Active packages on slot 2:
flash:/BOOT-R7577P01.bin
flash:/SYSTEM-R7577P01.bin
flash:/SYSTEM-R7577P01H01.bin
# Verify that the patch image file has been added to the main startup software image list so the images can take effect after a reboot.
<Sysname> display install committed
Committed packages on slot 1:
flash:/BOOT-R7577P01.bin
flash:/SYSTEM-R7577P01.bin
flash:/SYSTEM-R7577P01H01.bin
Committed packages on slot 2:
flash:/BOOT-R7577P01.bin
flash:/SYSTEM-R7577P01.bin
flash:/SYSTEM-R7577P01H01.bin
Configuration files
The system does not save the commands used in the configuration procedures to a configuration file.
Related documentation
· H3C S7500E-XS Switch Series Fundamentals Command Reference-R757X
· H3C S7500E-XS Switch Series Fundamentals Configuration Guide-R757X