01-Fundamentals Configuration Examples

HomeSupportConfigure & DeployConfiguration ExamplesH3C S12500G-AF&S12500CR&S10500X-G&S7500X-G Switch Series Configuration Examples-R7753Pxx[R8053Pxx]-6W10001-Fundamentals Configuration Examples
05-Software Upgrade Examples
Title Size Download
05-Software Upgrade Examples 195.37 KB

Introduction

This document provides software upgrade examples.

Prerequisites

This document is not restricted to specific software or hardware versions.

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 FTP and TFTP.

General restrictions and guidelines

When you upgrade software, follow these restrictions and guidelines:

·     Make sure the switch has sufficient storage space for the upgrade file. If the switch does not have sufficient storage space, delete unused files by using the delete /unreserved file-url command.

·     Save the configuration before the upgrade for the configuration to survive a reboot.

·     Make sure the FTP or TFTP username, password, and file name are the same on the host the switch.

Example: Using the switch as a TFTP client to upgrade software

Network configuration

As shown in Figure 1, use TFTP to download a software upgrade file from a TFTP server to upgrade 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

S12500G-AF

Release 8053P05 and later

S12500CR

Release 8053P05 and later

S10500X-G

Release 7753P05 and later

S7500X-G

Release 7753P05 and later

 

Procedures

1.     Configure the TFTP server:

# Assign the IP address 192.168.100.14/24 to the TFTP server. (Details not shown.)

# Start the TFTP server and specify a working directory. This example uses the 3CDaemon TFTP server. (Details not shown.)

Figure 2 Configuring the TFTP server

 

2.     Upgrade the switch:

# Assign an IP address to M-GigabitEthernet 0/0/0. Make sure the switch can reach the TFTP server.

<Switch> system-view

System View: return to User View with Ctrl+Z.

[Switch] interface m-gigabitethernet 0/0/0

[Switch-M-GigabitEthernet0/0/0] ip address 192.168.100.66 255.255.255.0

[Switch-M-GigabitEthernet0/0/0] quit

[Switch] quit

# Verify that the switch can ping the TFTP server.

<Switch> ping 192.168.100.14

Ping 192.168.100.14 (192.168.100.14): 56 data bytes, press CTRL_C to break

56 bytes from 192.168.100.14: icmp_seq=0 ttl=64 time=10.701 ms

56 bytes from 192.168.100.14: icmp_seq=1 ttl=64 time=2.678 ms

56 bytes from 192.168.100.14: icmp_seq=2 ttl=64 time=2.282 ms

56 bytes from 192.168.100.14: icmp_seq=3 ttl=64 time=1.617 ms

56 bytes from 192.168.100.14: icmp_seq=4 ttl=64 time=1.701 ms

 

--- Ping statistics for 192.168.100.14 ---

5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss

round-trip min/avg/max/std-dev = 1.617/3.796/10.701/3.474 ms

# Save the configuration.

<Switch> save

The current configuration will be written to the device. Are you sure? [Y/N]:y

Please input the file name(*.cfg)[flash:/startup.cfg]

(To leave the existing filename unchanged, press the enter key):

flash:/startup.cfg exists, overwrite? [Y/N]:y

Validating file. Please wait...

Saved the current configuration to mainboard device successfully.

# Use TFTP to download the upgrade file switch.ipe from the TFTP server to the root directory of the storage medium on the switch.

<Switch> tftp 192.168.100.14 get switch.ipe

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                 Dload  Upload   Total   Spent    Left  Speed

100 58.7M  100 58.7M    0     0  1193k      0  0:00:50  0:00:50 --:--:-- 1127k

# Specify switch.ipe as the main startup image file.

<Switch> boot-loader file flash:/switch.ipe slot 1 main

Verifying the file flash:/switch.ipe on slot 1.....Done.

Images in IPE:

  boot.bin

  system.bin

This command will set the main startup software images. Continue? [Y/N]:y

Add images to slot 1.

Decompressing file switch.bin to flash:/boot.bin.........Done.

Decompressing file switch.bin to flash:/system.bin...........................Done.

The images that have passed all examinations will be used as the main startup software images at the next reboot on slot 1.

# Reboot the switch.

<Switch> reboot

Verifying the configuration

# Verify that the software has been upgraded.

<Switch> display version

H3C Comware Software, Version 7.1.070, Release xxxx

Copyright (c) 2004-2019 New H3C Technologies Co., Ltd. All rights reserved.

H3C S10506X-G uptime is 0 weeks, 0 days, 0 hours, 19 minutes

Last reboot reason : User reboot

 

Boot image: flash:/boot.bin

Boot image version: 7.1.070, Release xxxx

  Compiled Jun 18 2019 17:52:09

System image: flash:/system.bin

System image version: 7.1.070, Release xxxx

  Compiled Jun 18 2019 17:52:09

---- More ----

# Display the current software images and startup software images.

<Switch> display boot-loader

Software images on slot 1:

Current software images:

  flash:/boot.bin

  flash:/system.bin

Main startup software images:

  flash:/boot.bin

  flash:/system.bin

Backup startup software images:

None

Configuration files

#

interface M-GigabitEthernet0/0/0

ip address 192.168.100.66 255.255.255.0

#

Example: Using the switch as an FTP client to upgrade software

Network configuration

As shown in Figure 3, use FTP to download a software upgrade file from an FTP server to upgrade the switch.

Figure 3 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

S12500G-AF

Release 8053P05 and later

S12500CR

Release 8053P05 and later

S10500X-G

Release 7753P05 and later

S7500X-G

Release 7753P05 and later

 

Procedures

1.     Configure the FTP server:

# Assign the IP address 192.168.100.14/24 to the FTP server. (Details not shown.)

# Start the FTP server and specify a working directory. This example uses the 3CDaemon FTP server. (Details not shown.)

# Add a local user account. (Details not shown.)

# Set the username to 123456 and the password to 123456 for the user account.

Figure 4 Configuring the FTP server

 

2.     Upgrade the switch:

# Assign an IP address to M-GigabitEthernet 0/0/0. Make sure the switch can reach the FTP server.

<Switch> system-view

System View: return to User View with Ctrl+Z.

[Switch] interface m-gigabitethernet 0/0/0

[Switch-M-GigabitEthernet0/0/0] ip address 192.168.100.66 255.255.255.0

[Switch-M-GigabitEthernet0/0/0] quit

[Switch] quit

# Verify that the switch can ping the FTP server.

<Switch> ping 192.168.100.14

Ping 192.168.100.14 (192.168.100.14): 56 data bytes, press CTRL_C to break

56 bytes from 192.168.100.14: icmp_seq=0 ttl=64 time=10.701 ms

56 bytes from 192.168.100.14: icmp_seq=1 ttl=64 time=2.678 ms

56 bytes from 192.168.100.14: icmp_seq=2 ttl=64 time=2.282 ms

56 bytes from 192.168.100.14: icmp_seq=3 ttl=64 time=1.617 ms

56 bytes from 192.168.100.14: icmp_seq=4 ttl=64 time=1.701 ms

 

--- Ping statistics for 192.168.100.14 ---

5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss

round-trip min/avg/max/std-dev = 1.617/3.796/10.701/3.474 ms

# Save the configuration.

<Switch> save

The current configuration will be written to the device. Are you sure? [Y/N]:y

Please input the file name(*.cfg)[flash:/startup.cfg]

(To leave the existing filename unchanged, press the enter key):

flash:/startup.cfg exists, overwrite? [Y/N]:y

Validating file. Please wait...

Configuration is saved to  mainboard device successfully.

# Use the username 123456 and the password 123456 to log in to the FTP server.

<Switch> ftp 192.168.100.14

Connected to 192.168.100.14 (192.168.100.14).

220 3Com 3CDaemon FTP Server Version 2.0

User (192.168.100.14:(none)): 123456

331 User name ok, need password

Password:

230 User logged in

Remote system type is UNIX.

Using binary mode to transfer files.

# Use FTP to download the upgrade file switch.ipe from the FTP server to the root directory of the storage medium on the switch.

ftp> get switch.ipe

227 Entering passive mode (192,168,100,14,8,86)

125 Using existing data connection

226 Closing data connection; File transfer successful.

50445056 bytes received in 53.6 seconds (1.25 Mbyte/s)

ftp> quit

# Specify switch.ipe as the main startup image file.

<Switch> boot-loader file flash:/switch.ipe slot 1 main

Verifying the file flash:/switch.ipe on slot 1.....Done.

Images in IPE:

  boot.bin

  system.bin

This command will set the main startup software images. Continue? [Y/N]:y

Add images to slot 1.

Decompressing file switch.bin to flash:/boot.bin.........Done.

Decompressing file switch.bin to flash:/system.bin.................................Done.

The images that have passed all examinations will be used as the main startup software images at the next reboot on on slot 1.

# Reboot the switch.

<Switch> reboot

Verifying the configuration

# Verify that the software has been upgraded.

<Switch> display version

H3C Comware Software, Version 7.1.070, Release xxxx

Copyright (c) 2004-2019 New H3C Technologies Co., Ltd. All rights reserved.

H3C S10506X-G uptime is 0 weeks, 0 days, 0 hours, 19 minutes

Last reboot reason : User reboot

 

Boot image: flash:/boot.bin

Boot image version: 7.1.070, Release xxxx

  Compiled Jun 18 2019 17:52:09

System image: flash:/system.bin

System image version: 7.1.070, Release xxxx

  Compiled Jun 18 2019 17:52:09

---- More ----

# Display the current software images and startup software images.

<Switch> display boot-loader

Software images on slot 1:

Current software images:

  flash:/boot.bin

  flash:/system.bin

Main startup software images:

  flash:/boot.bin

  flash:/system.bin

Backup startup software images:

None

Configuration files

#

interface M-GigabitEthernet0/0/0

ip address 192.168.100.66 255.255.255.0

#

Example: Using the switch as an FTP server to upgrade software

Network configuration

As shown in Figure 5:

·     Enable the FTP server on the switch.

·     Use FTP to upload a software upgrade file from an FTP client to upgrade the switch.

Figure 5 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

S12500G-AF

Release 8053P05 and later

S12500CR

Release 8053P05 and later

S10500X-G

Release 7753P05 and later

S7500X-G

Release 7753P05 and later

 

Analysis

To use the switch as an FTP server, you must create a local user account on the switch to provide FTP service.

Restrictions and guidelines

You must set the file transfer mode to binary for FTP to transfer files correctly.

Procedures

1.     Configure the FTP server:

# Assign an IP address to M-GigabitEthernet 0/0/0.

<Switch> system-view

System View: return to User View with Ctrl+Z.

[Switch] interface m-gigabitethernet 0/0/0

[Switch-M-GigabitEthernet0/0/0] ip address 192.168.100.66 255.255.255.0

[Switch-M-GigabitEthernet0/0/0] quit

# Add a local user account. Set the username to abc and the password to hello123456.

[Switch] local-user abc

[Switch-luser-abc] password simple hello123456

# Assign the network-admin user role to the user account.

[Switch-luser-abc] authorization-attribute user-role network-admin

# Remove the default network-operator user role.

[Switch-luser-abc] undo authorization-attribute user-role network-operator

# Assign FTP service to the user account.

[Switch-luser-abc] service-type ftp

[Switch-luser-abc] quit

# Enable the FTP server.

[Switch] ftp server enable

[Switch] quit

# Save the configuration.

<Switch> save

The current configuration will be written to the device. Are you sure? [Y/N]:y

Please input the file name(*.cfg)[flash:/startup.cfg]

(To leave the existing filename unchanged, press the enter key):

flash:/startup.cfg exists, overwrite? [Y/N]:y

Validating file. Please wait...

Saved the current configuration to mainboard device successfully.

2.     Configure the FTP client:

# Assign the IP address 192.168.100.14/24 to the FTP client. Make sure the FTP client can reach the switch. (Details not shown.)

# Use the username abc and the password 123456 to log in to the FTP server.

C:\Documents and Settings\Administrator> ftp 192.168.100.66

Connected to 192.168.100.66.

220 FTP service ready.

User (192.168.100.66:(none)): abc

331 Password required for abc.

Password:

230 User logged in.

# Access the directory that contains the upgrade file.

ftp> lcd E:\

Local directory now E:\

# Set the file transfer mode to binary.

ftp> binary

200 TYPE is now 8-bit binary

# Transfer the upgrade file switch.ipe to the root directory of the storage medium on the FTP server.

ftp> put switch.ipe

200 PORT command successful

150 Connecting to port 2903

226 File successfully transferred

ftp: 50445056 sent in 1.05Seconds 67282.77Kbytes/sec.

# Verify that the image file is saved on the FTP server.

ftp> ls switch.ipe

200 PORT command successful

150 Connecting to port 3391

switch.ipe

226 1 matches total

ftp: 24 bytes received in 0.00Seconds 24000.00Kbytes/sec.

# Close the FTP connection.

ftp> bye

3.     Upgrade the switch:

# Specify switch.ipe as the main startup image file.

<Switch> boot-loader file flash:/switch.ipe slot 1 main

Verifying the IPE file and the images.....Done.

Verifying the file flash:/switch.ipe on slot 1.....Done.

Images in IPE:

  boot.bin

  system.bin

This command will set the main startup software images. Continue? [Y/N]:y

Add images to slot 1.

Decompressing file switch.bin to flash:/boot.bin.........Done.

Decompressing file switch.bin to flash:/system.bin.................................Done.

The images that have passed all examinations will be used as the main startup software images at the next reboot on slot 1.

# Reboot the switch.

<Switch> reboot

Verifying the configuration

# Verify that the software has been upgraded.

<Switch> display version

H3C Comware Software, Version 7.1.070, Release xxxx

Copyright (c) 2004-2019 New H3C Technologies Co., Ltd. All rights reserved.

H3C S10506X-G uptime is 0 weeks, 0 days, 0 hours, 19 minutes

Last reboot reason : User reboot

 

Boot image: flash:/boot.bin

Boot image version: 7.1.070, Release xxxx

  Compiled Jun 18 2019 17:52:09

System image: flash:/system.bin

System image version: 7.1.070, Release xxxx

  Compiled Jun 18 2019 17:52:09

---- More ----

# Display the current software images and startup software images.

<Switch> display boot-loader

Software images on slot 1:

Current software images:

  flash:/boot.bin

  flash:/system.bin

Main startup software images:

  flash:/boot.bin

  flash:/system.bin

Backup startup software images:

None

Configuration files

#

interface M-GigabitEthernet0/0/0

ip address 192.168.100.66 255.255.255.0

#

local-user abc class manage

 password hash $h$6$YMVbbwFL/vviWcQu$+CuTbYCehNZtZo5RCXiadpYbXYWa2omt5TUtEh3UPCg3fZjxYCp5WzbuE2GoowVi2YA/BK+mnSZJZqi5jRDuCg==

 service-type ftp

 authorization-attribute user-role network-admin

#

 ftp server enable

#

Using the device as a TFTP client to upgrade software from the BootWare menu

Network configuration

As shown in Figure 6, the device cannot start up.

Use TFTP to upgrade the device from the BootWare menu.

Figure 6 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

S12500G-AF

Release 8053P05 and later

S12500CR

Release 8053P05 and later

S10500X-G

Release 7753P05 and later

S7500X-G

Release 7753P05 and later

 

Restrictions and guidelines

Make sure the TFTP server is enabled on the file server.

Copy the upgrade file to the file server, and set a correct working directory on the file server.

Procedures

1.     Configure the host:

# Use a console cable to connect console port 1 on the device to the configuration terminal. (Details not shown.)

# To access the device through the console port, you must run a terminal emulator program (HyperTerminal, PuTTY, or Tera Term) on the host. For information about using a terminal emulator program, see the program's user guide.

The following are the required terminal settings:

¡     Baud rate—9600.

¡     Data bits—8.

¡     Stop bits—1.

¡     Paritynone.

¡     Flow controlnone.

2.     Configure the TFTP server:

# Assign IP address 192.168.100.14/24 to the TFTP server. (Details not shown.)

# Start the TFTP server and specify a working directory.

3.     Upgrade the device:

a.     Upgrade the standby MPU:

# Use a straight-through Ethernet cable to connect the management Ethernet interface (M-GigabitEthernet 0/0/0) on the standby MPU to the TFTP server.

# Disable the system to examine the standby MPU's startup software images for version inconsistency with the active MPU's current software images when the standby MPU starts up.

<Device> system-view

[Device] version check ignore

# Save the running configuration.

[Device] save

The current configuration will be written to the device. Are you sure? [Y/N]:y

Please input the file name(*.cfg)[flash:/startup.cfg]

(To leave the existing filename unchanged, press the enter key):

flash:/startup.cfg exists, overwrite? [Y/N]:y

Validating file. Please wait...

Saved the current configuration to mainboard device successfully.

[Device] quit

# Reboot the standby MPU.

<Device> reboot slot 7

System is Starting....

Press Ctrl+D to access BASIC-BOOTWARE MENU

Press Ctrl+T to access BOOTWARE DIAG-TEST MENU

Booting Normal Extend Bootware

 

****************************************************************************

*                                                                          *

*                         BootWare, Version 1.23                           *

*                                                                          *

****************************************************************************

Compiled Date         : Aug 26 2020

Memory Type           : DDR4 SDRAM

Memory Size           : 16384MB

Memory Speed          : 2133MHz

flash Size            : 7296MB

CPLD 1 Version        : 4.0

CPLD 2 Version        : 4.0

CPLD 3 Version        : 2.0

PCB 1 Version         : Ver.A

PCB 2 Version         : Ver.A

 

 

BootWare Validating...

Press Ctrl+B to access EXTENDED-BOOTWARE MENU...

# Press Ctrl+B at prompt to access the EXTEND-BOOTWARE menu.

Password recovery capability is enabled.

Note: The current operating device is flash

Enter < Storage Device Operation > to select device.

 

==========================<EXTENDED-BOOTWARE MENU>==========================

|<1> Boot System                                                           |

|<2> Enter Serial SubMenu                                                  |

|<3> Enter Ethernet SubMenu                                                |

|<4> File Control                                                          |

|<5> Restore to Factory Default Configuration                              |

|<6> Skip Current System Configuration                                     |

|<7> BootWare Operation Menu                                               |

|<8> Skip Authentication for Console Login                                 |

|<9> Storage Device Operation                                              |

|<0> Reboot                                                                |

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

Ctrl+Z: Access EXTENDED ASSISTANT MENU

Ctrl+C: Display Copyright

Ctrl+F: Format File System

Enter your choice(0-9):

# Enter 3 in the EXTEND-BOOTWARE menu to access the Ethernet submenu.

Enter your choice(0-9): 3

==========================<Enter Ethernet SubMenu>==========================

|Note:the operating device is flash                                        |

|<1> Download Image Program To SDRAM And Run                               |

|<2> Update Main Image File                                                |

|<3> Update Backup Image File                                              |

|<4> Download Files(*.*)                                                   |

|<5> Modify Ethernet Parameter                                             |

|<0> Exit To Main Menu                                                     |

|<Ensure The Parameter Be Modified Before Downloading!>                    |

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

Enter your choice(0-5):

# Enter 5 in the Ethernet submenu to configure the network settings.

Enter your choice(0-5): 5                                                              

                                                                                            

==========================<ETHERNET PARAMETER SET>==========================

|Note:       '.' = Clear field.                                                       |

|            '-' = Go to previous field.                                             |

|         Ctrl+D = Quit.                                                                |

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

Protocol (FTP or TFTP) :tftp             //Use TFTP to download software images.

Load File Name         : new.ipe     //Load the image file new.ipe.     

                          :                                                                  

Target File Name       : new.ipe                                                   

                          :                                                                  

Server IP Address      :192.168.1.100 192.168.100.14  //Enter the TFTP server IP address.                                                                                   

Local IP Address       :192.168.1.1 192.168.100.66    //Enter the management IP address of the device.                                                                  

Subnet Mask             :255.255.255.0      // Enter the subnet mask.             

Gateway IP Address     :0.0.0.0

Table 1 Network parameter fields

Field

Description

'.' = Clear field

Press the dot (.), and then press Enter to clear the setting for a field.

'-' = Go to previous field

Press the hyphen (-), and then press Enter to return to the previous field.

Ctrl+D = Quit

Press Ctrl+D to exit the Ethernet parameter settings menu.

Load File Name

Set the name of the file to be downloaded.

Target File Name

Set a file name for saving the file on the device. By default, the target file name is the same as the source file name.

Server IP Address

Set the IP address of the TFTP server.

Local IP Address

Set the IP address of the Ethernet interface that connects to the TFTP server.

Subnet Mask

Set the IP address mask.

Gateway IP Address

Set a gateway IP address if the device is on a different network from the server.

 

# Press Enter in the ETHERNET PARAMETER SET menu to access the Ethernet submenu.

==========================<Enter Ethernet SubMenu>==========================

|Note:the operating device is flash                                        |

|<1> Download Image Program To SDRAM And Run                               |

|<2> Update Main Image File                                                |

|<3> Update Backup Image File                                              |

|<4> Download Files(*.*)                                                   |

|<5> Modify Ethernet Parameter                                             |

|<0> Exit To Main Menu                                                     |

|<Ensure The Parameter Be Modified Before Downloading!>                    |

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

# Enter 2 in the Ethernet submenu to upgrade the main startup images.

Enter your choice(0-5): 2

Loading.....................................................................

............................................................................

............................................................................

.................................................Done.

227301376 bytes downloaded!

Image file BOOT-test.bin is self-decompressing...

Saving file flash:/BOOT-test.bin ..........................

........................................................Done.

Image file SYSTEM-test.bin is self-decompressing...

Saving file flash:/SYSTEM-test.bin .........................................

............................................................................

............................................................................

............................................................................

............Done.

==========================<Enter Ethernet SubMenu>==========================

|Note:the operating device is flash                                        |

|<1> Download Image Program To SDRAM And Run                               |

|<2> Update Main Image File                                                |

|<3> Update Backup Image File                                              |

|<4> Download Files(*.*)                                                   |

|<5> Modify Ethernet Parameter                                             |

|<0> Exit To Main Menu                                                     |

|<Ensure The Parameter Be Modified Before Downloading!>                    |

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

# Enter 0 in the Ethernet submenu to return to the EXTEND-BOOTWARE menu.

Enter your choice(0-5): 0

==========================<EXTENDED-BOOTWARE MENU>==========================

|<1> Boot System                                                           |

|<2> Enter Serial SubMenu                                                  |

|<3> Enter Ethernet SubMenu                                                |

|<4> File Control                                                          |

|<5> Restore to Factory Default Configuration                              |

|<6> Skip Current System Configuration                                     |

|<7> BootWare Operation Menu                                               |

|<8> Skip Authentication for Console Login                                 |

|<9> Storage Device Operation                                              |

|<0> Reboot                                                                |

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

Ctrl+Z: Access EXTENDED ASSISTANT MENU

Ctrl+C: Display Copyright

Ctrl+F: Format File System

Enter your choice(0-9):

# Enter 1 in the EXTEND-BOOTWARE menu to boot the standby MPU.

Enter your choice(0-9): 1

Loading the main image files...

Loading file flash:/SYSTEM-test.bin........................

............................................................................

............................................................................

.........................Done.

Loading file flash:/BOOT-test.bin..........................

....Done.

Image file flash:/BOOT-test.bin is self-decompressing......

....................................................Done.

System image is starting...

Line aux1 is available.

Press ENTER to get started.

b.     Upgrade software on the active MPU:

# Use a console cable to connect console port 0 on the active MPU to the TFTP server. (Details not shown.)

# Upgrade the active MPU in the same way you upgrade the standby MPU. (Details not shown.)

Verifying the configuration

1.     Verify that the software has been upgraded.

<Device> display version

H3C Comware Software, Version 7.1.070, Release 7595

Copyright (c) 2004-2020 New H3C Technologies Co., Ltd. All rights reserved.

H3C S12508G-AF uptime is 0 weeks, 0 days, 0 hours, 4 minutes

Last reboot reason : USER reboot

Boot image: flash:/BOOT-R7595.bin

Boot image version: 7.1.070, Release 7595

  Compiled Aug 04 2020 11:00:00

System image: flash:/SYSTEM-R7595.bin

System image version: 7.1.070, Release 7595

  Compiled Aug 04 2020 11:00:00

---- More ----

2.     Verify that the MPUs run the same set of software images:

# Display the current software images and startup software images on the active MPU.

<Device> display boot-loader slot 6

Software images on slot 6:

Current software images:

  flash:/BOOT-test.bin

  flash:/SYSTEM-test.bin

Main startup software images:

  flash:/BOOT-test.bin

  flash:/SYSTEM-test.bin

Backup startup software images:

  flash:/BOOT-old.bin

  flash:/SYSTEM-old.bin

# Display the current software images and startup software images on the standby MPU.

<Device> display boot-loader slot 7

Software images on slot 7:

Current software images:

  flash:/BOOT-test.bin

  flash:/SYSTEM-test.bin

Main startup software images:

  flash:/BOOT-test.bin

  flash:/SYSTEM-test.bin

Backup startup software images:

  flash:/BOOT-old.bin

  flash:/SYSTEM-old.bin

Configuration files

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

Upgrading a feature

Network configuration

As shown in Figure 7, upgrade the Feature feature image from T0001015 to T0001016. The two versions are compatible.

Figure 7 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

S12500G-AF

Release 8053P05 and later

S12500CR

Release 8053P05 and later

S10500X-G

Release 7753P05 and later

S7500X-G

Release 7753P05 and later

 

Procedures

1.     Configure the TFTP server:

# Assign the IP address 192.168.100.14/24 to the TFTP server. (Details not shown.)

# Start the TFTP server and specify a working directory. This example uses the 3CDaemon TFTP server. (Details not shown.)

Figure 8 Configuring the TFTP server

 

2.     Upgrade the switch:

# Assign an IP address to M-GigabitEthernet 0/0/0. Make sure the switch can reach the TFTP server.

<Switch> system-view

System View: return to User View with Ctrl+Z.

[Switch] interface m-gigabitethernet 0/0/0

[Switch-M-GigabitEthernet0/0/0] ip address 192.168.100.66 255.255.255.0

[Switch-M-GigabitEthernet0/0/0] quit

[Switch] quit

# Verify that the switch can ping the TFTP server.

<Switch> ping 192.168.100.14

Ping 192.168.100.14 (192.168.100.14): 56 data bytes, press CTRL_C to break

56 bytes from 192.168.100.14: icmp_seq=0 ttl=64 time=10.701 ms

56 bytes from 192.168.100.14: icmp_seq=1 ttl=64 time=2.678 ms

56 bytes from 192.168.100.14: icmp_seq=2 ttl=64 time=2.282 ms

56 bytes from 192.168.100.14: icmp_seq=3 ttl=64 time=1.617 ms

56 bytes from 192.168.100.14: icmp_seq=4 ttl=64 time=1.701 ms

 

--- Ping statistics for 192.168.100.14 ---

5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss

round-trip min/avg/max/std-dev = 1.617/3.796/10.701/3.474 ms

# Save the configuration.

<Switch> save

The current configuration will be written to the device. Are you sure? [Y/N]:y

Please input the file name(*.cfg)[flash:/startup.cfg]

(To leave the existing filename unchanged, press the enter key):

flash:/startup.cfg exists, overwrite? [Y/N]:y

Validating file. Please wait...

Saved the current configuration to mainboard device successfully.

# Download the .ipe file that contains the T0001016 Feature feature image from the TFTP server.

<Sysname> tftp 192.168.100.14 get feature-t0001016.ipe

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                 Dload  Upload   Total   Spent    Left  Speed

100   256  100  256     0     0    764      0 --:--:-- --:--:-- --:--:--   810

Writing file...Done.

# Decompress the .ipe file.

<Sysname> install add flash:/feature-t0001016.ipe flash:

Verifying the file flash:/feature-t0001016.ipe on slot 1...Done.

Decompressing file feature-t0001016.bin to flash:/feature-t0001016.bin.......................Done.

# Display active software images before the upgrade.

<Sysname> display install active

Active packages on slot 1:

  flash:/boot-t0001015.bin

  flash:/system-t0001015.bin

  flash:/feature-t0001015.bin

# Identify the recommended upgrade method.

<Sysname> install activate feature flash:/feature-t0001016.bin slot 1 test

Verifying the file flash:/feature-t0001016.bin on slot 1...Done.

Upgrade summary according to following table:

 

flash:/feature-t0001016.bin

  Running Version             New Version

  Test 0001015                Test 0001016

 

Upgrade Way: Service Upgrade

 

Influenced service according to following table on slot 1:

  flash:/feature-t0001016.bin

         Feature

The output shows that a service upgrade is recommended and the Feature module will be rebooted during the upgrade process.

# Activate the new Feature image to upgrade the Feature feature.

<Sysname> install activate feature flash:/feature-t0001016.bin slot 1

Verifying the file flash:/feature-t0001016.bin on slot 1...Done.

Upgrade summary according to following table:

 

flash:/feature-t0001016.bin

  Running Version             New Version

  Test 0001015                Test 0001016

 

Upgrade Way: Service Upgrade

Upgrading software images to compatible versions. Continue? [Y/N]:y

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

# Verify that the new Feature image has been activated.

<Sysname> display install active

Active packages on slot 1:

  flash:/boot-t0001015.bin

  flash:/system-t0001015.bin

  flash:/feature-t0001016.bin

# Commit the software changes.

<Sysname> install commit

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

The current software images have been saved as the startup software images.

Current software images on slot 1:

  flash:/boot-t0001015.bin

  flash:/system-t0001015.bin

  flash:/feature-t0001016.bin

# Reboot the switch.

<Switch> reboot

Configuration files

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

 

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