01-Fundamentals Configuration Examples

HomeSupportResource CenterConfigure & DeployConfiguration ExamplesH3C Fixed Port Campus Switches Configuration Examples-R11xx[R9126Pxx]-6W10001-Fundamentals Configuration Examples
04-Software Patching Examples
Title Size Download
04-Software Patching Examples 49.55 KB

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 that uses install commands.

Example: Patching software

Network configuration

As shown in Figure 1, the switch and the TFTP server can reach each other. The switch is running CMW910-SYSTEM-R1116, and it is not been patched before.

Use the patch image file CMW910-SYSTEM-R1116H04.bin to fix bugs without rebooting the switch.

Figure 1 Network diagram

 

Applicable hardware and software versions

The following matrix shows the hardware and software versions to which this configuration example is applicable:

 

Hardware

Software version

S6550X-HI switch series

Release 1116 and later

S6880 switch series

Release 1116 and later

S9820-8M switch

Release 1116 and later

S9855 switch series

Release 9126 and later

S9825 switch series

Release 9126 and later

 

Restrictions and guidelines

The patch image version must match the device model and Comware version. For example, to fix bugs in CMW910-SYSTEM-R1116.bin, you must use CMW910-SYSTEM-R1116H04.bin.

Procedures

# Download the patch image file CMW910-SYSTEM-R1116H04.bin from the TFTP server to the root directory of the flash memory on the master.

<Sysname> tftp 2.2.2.2 get CMW910-SYSTEM-R1116H04.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 image on the switch.

<Sysname> install activate patch flash:/CMW910-SYSTEM-R1116H04.bin slot 1

This operation maybe take several minutes, please wait.............Done.

The patch image takes effect immediately after it is activated.

# For the patch image to take effect after a reboot, commit the software change.

<Sysname> install commit

Verifying the configuration

# Verify that the patch image has been activated successfully.

<Sysname> display install active

Active packages on slot 1:

  flash:/CMW910-BOOT-R1116.bin

  flash:/CMW910-SYSTEM-R1116.bin

  flash:/CMW910-SYSTEM-R1116H04.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:/CMW910-BOOT-R1116.bin

  flash:/CMW910-SYSTEM-R1116.bin

  flash:/CMW910-SYSTEM-R1116H04.bin

Configuration files

The system does not save the commands used in the configuration procedures to a configuration file.

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网