- Table of Contents
-
- H3C S12500X-AF & S12500-X & S9800 Switch Series Configuration Examples-Release 27xx-6W100
- 00-Preface
- 01-CLI configuration
- 02-RBAC configuration
- 03-Login management configuration
- 04-FTP and TFTP configuration
- 05-File system management configuration
- 06-Configuration file management configuration
- 07-Software upgrade configuration
- 08-Emergency shell configuration
- 09-Automatic configuration
- 10-Device management configuration
- 11-Tcl configuration
- 12-Python configuration
- 13-License management
- Related Documents
-
Title | Size | Download |
---|---|---|
05-Software Patching Examples | 63.24 KB |
|
H3C S12500X-AF & S12500-X & S9800 |
Software Patching Examples |
|
S12500X-AF Switch Series
S12500-X Switch Series
S9800 Switch Series
Document version: 6W100-20190628
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.
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 CMW710-SYSTEM-R2712, and they have not been patched before.
Use the patch image file CMW710-SYSTEM-R2712H04.bin to fix bugs without rebooting the members.
Software versions used
Table 1 shows the software versions used in this configuration example.
Table 1 Product and software version compatibility
Product | Software version |
S12500X-AF Switch Series | S12500X-CMW710-R2712 |
S12500-X Switch Series | S12500X-CMW710-R2712 |
S9800 Switch Series | S9800-CMW710-R2712 |
Restrictions and guidelines
When you patch software for a centralized IRF device, follow these restrictions and guidelines:
· The first time you install patch images, you must start with the master. For subsequent patch installations, you must start with the subordinate members.
· The patch image version must match the device model and Comware version. For example, to fix bugs in CMW710-SYSTEM-R2712, you must use CMW710-SYSTEM-R2712H04.bin.
Procedures
# Download the patch image file CMW710-SYSTEM-R2712H04.bin from the TFTP server to the root directory of the flash memory on the master.
<Sysname> tftp 2.2.2.2 get CMW710-SYSTEM-R2712H04.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 the master first and then on the subordinate member. This sequence is used because no patch images have been activated on the IRF fabric.
<Sysname> install activate patch flash:/CMW710-SYSTEM-R2712H04.bin slot 1
This operation maybe take several minutes, please wait.............Done.
<Sysname> install activate patch flash:/CMW710-SYSTEM-R2712H04.bin slot 2
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:/CMW710-BOOT-R2712.bin
flash:/CMW710-SYSTEM-R2712.bin
flash:/CMW710-SYSTEM-R2712H04.bin
Active packages on slot 2:
flash:/CMW710-BOOT-R2712.bin
flash:/CMW710-SYSTEM-R2712.bin
flash:/CMW710-SYSTEM-R2712H04.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:/CMW710-BOOT-R2712.bin
flash:/CMW710-SYSTEM-R2712.bin
flash:/CMW710-SYSTEM-R2712H04.bin
Committed packages on slot 2:
flash:/CMW710-BOOT-R2712.bin
flash:/CMW710-SYSTEM-R2712.bin
flash:/CMW710-SYSTEM-R2712H04.bin
Configuration files
The system does not save the commands used in the configuration procedures to a configuration file.
Related documentation
· H3C S12500X-AF & S12500-X & S9800 Switch Series Fundamentals Command Reference (R27xx)
· H3C S12500X-AF & S12500-X & S9800 Switch Series Fundamentals Configuration Guide (R27xx)