欢迎来到我的博客

分享网络技术、系统运维、安全攻防等方面的知识和经验。


浪潮CN61108交换机MLAG状态下升级系统

⚠️注意需要考虑业务影响,按照以下步骤操作,可以减少业务波动:

1、需要先将slave设备升级到中间过渡版本;

   1.1、过渡版本号:CN61108PC-V-H-48-4-6.6.6.R1.41.M_FOR39T4.bin

   1.2、最终版本号:CN61108PC-V-H-48-4-6.6.6.R1.40.T33.bin flash:/boot

2、再将master设备升级到中间过渡版本再升级到最新版本;

3、再将slave设备中间版本设备升级到最新版本。

----------------------------------------------------------------

一、查看MLAG角色:

W4-CC-CN61108-A# show mlag 

MLAG configuration:

-----------------

role         : Master

local_sysid  : c0a6.6d23.1839

remote_sysid : c0a6.6d23.0a0f

mlag_sysid   : c0a6.6d23.1839

local_syspri : 32768

remote_syspri: 32768

mlag_syspri  : 32768

peer-link    : agg55

peer conf    : Yes

reload-delay : Auto(300s)

W4-CC-CN61108-A#

 

W4-CC-CN61108-B# show mlag 

MLAG configuration:

-----------------

role         : Slave

local_sysid  : c0a6.6d23.0a0f

remote_sysid : c0a6.6d23.1839

mlag_sysid   : c0a6.6d23.1839

local_syspri : 32768

remote_syspri: 32768

mlag_syspri  : 32768

peer-link    : agg55

peer conf    : Yes

reload-delay : Auto(300s)

W4-CC-CN61108-B#

二、Slave交换机上传过渡升级包过程如下:

No entry for terminal type "xterm-256color";

using dumb terminal settings.

W4-CC-CN61108-B#

W4-CC-CN61108-B#

W4-CC-CN61108-B# copy mgmt-if tftp://192.168.181.28/CN61108PC-V-H-48-4-6.6.6.R1.41.M_FOR39T4.bin flash:/boot

Download from URL to temporary file.

Get file from tftp://192.168.181.28/CN61108PC-V-H-48-4-6.6.6.R1.41.M_FOR39T4.bin

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

Received 39313948 bytes in 38.7 seconds

Copy the temporary file to its destination.

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

39313948 bytes in 0.4 seconds, 95981 kbytes/second

W4-CC-CN61108-B#

W4-CC-CN61108-B# boot system flash:/boot/CN61108PC-V-H-48-4-6.6.6.R1.41.M_FOR39T4.bin

Are you sure to use flash:/boot/CN61108PC-V-H-48-4-6.6.6.R1.41.M_FOR39T4.bin as the next boot image? [confirm]

W4-CC-CN61108-B# wr

Building configuration...

[OK]

W4-CC-CN61108-B#

Slave交换机重启

W1-CC-CN61108-B# reboot 

Building configuration...

Reboot system? [confirm]

Slave重启后查看运行版本

W1-CC-CN61108-B# show version 

Inspur INOP Software, CN61108, Version 6.6.6.R1.41.M_FOR39T4

Copyright (C) Inspur-Cisco Networking Technology Co. Ltd.  All rights reserved.

The current running image is flash:/boot/CN61108PC-V-H-48-4-6.6.6.R1.41.M_FOR39T4.bin

W1-CC-CN61108-B uptime is 0 days, 0 hours, 3 minutes

Hardware Type is CN61108

Hardware Version is 1.0

SDRAM size 1024M

Flash size  512M

EPLD Version is 0.1

BootRom Version is 8.1.5

W1-CC-CN61108-B#

三、Master设备上传过渡升级包过程如下:

No entry for terminal type "xterm-256color";

using dumb terminal settings.

W4-CC-CN61108-A# copy mgmt-if tftp://192.168.181.28/CN61108PC-V-H-48-4-6.6.6.R1.41.M_FOR39T4.bin flash:/boot

Download from URL to temporary file.

Get file from tftp://192.168.181.28/CN61108PC-V-H-48-4-6.6.6.R1.41.M_FOR39T4.bin

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

Received 39313948 bytes in 39.4 seconds

Copy the temporary file to its destination.

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

39313948 bytes in 0.3 seconds, 127975 kbytes/second

W4-CC-CN61108-A#

W4-CC-CN61108-A# boot system flash:/boot/CN61108PC-V-H-48-4-6.6.6.R1.41.M_FOR39T4.bin

Are you sure to use flash:/boot/CN61108PC-V-H-48-4-6.6.6.R1.41.M_FOR39T4.bin as the next boot image? [confirm]

W4-CC-CN61108-A# wr

Building configuration...

[OK]

W4-CC-CN61108-A#

Master设备查看下次启动版本和重启:

W1-CC-CN61108-A# show boot 

The current boot image version is: CN61108-6.6.6.R1.39.T4

The current running image is:  flash:/boot/CN61108PC-V-H-48-4-6.6.6.R1.39.T4.binThe next time boot image version is: v6.6.6.R1.41.M_FOR39T4

The next running image is:  flash:/boot/CN61108PC-V-H-48-4-6.6.6.R1.41.M_FOR39T4.bin

W1-CC-CN61108-A# reboot 

Building configuration...

Reboot system? [confirm]

  

四、Master设备第二次升级最终版本

W1-CC-CN61108-A# copy mgmt-if tftp://192.168.181.28/CN61108PC-V-H-48-4-6.6.6.R1.40.T33.bin flash:/boot

Download from URL to temporary file.

Get file from tftp://192.168.181.28/CN61108PC-V-H-48-4-6.6.6.R1.40.T33.bin

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

Received 36746564 bytes in 36.8 seconds

Copy the temporary file to its destination.

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

36746564 bytes in 0.3 seconds, 119618 kbytes/second

W1-CC-CN61108-A#

Master设备设置启动项

W1-CC-CN61108-A# boot system flash:/boot/CN61108PC-V-H-48-4-6.6.6.R1.40.T33.bin

Are you sure to use flash:/boot/CN61108PC-V-H-48-4-6.6.6.R1.40.T33.bin as the next boot image? [confirm]

W1-CC-CN61108-A#

W1-CC-CN61108-A# show boot 

The current boot image version is: CN61108-6.6.6.R1.41.M_FOR39T4

The current running image is:  flash:/boot/CN61108PC-V-H-48-4-6.6.6.R1.41.M_FOR39T4.bin

The next time boot image version is: v6.6.6.R1.40.T33

The next running image is:  flash:/boot/CN61108PC-V-H-48-4-6.6.6.R1.40.T33.bin

W1-CC-CN61108-A#

W1-CC-CN61108-A# write  

Building configuration...

[OK]

W1-CC-CN61108-A# reboot 

Building configuration...

Reboot system? [confirm]

Master设备重启后查看MLAG运行状态

W1-CC-CN61108-A#

W1-CC-CN61108-A# show mlag 

MLAG configuration:

local_version: 2

-----------------

role         : Master

local_sysid  : c0a6.6d23.01f7

remote_sysid : c0a6.6d22.fb51

mlag_sysid   : c0a6.6d23.01f7

local_syspri : 32768

remote_syspri: 32768

mlag_syspri  : 32768

peer-link    : agg55

peer conf    : Yes

reload-delay : Auto(300s)

W1-CC-CN61108-A#

W1-CC-CN61108-A#

W1-CC-CN61108-A#

 

五、Slave设备第二次升级

W1-CC-CN61108-B# copy mgmt-if tftp://192.168.181.28/CN61108PC-V-H-48-4-6.6.6.R1.40.T33.bin flash:/boot

Download from URL to temporary file.

Get file from tftp://192.168.181.28/CN61108PC-V-H-48-4-6.6.6.R1.40.T33.bin

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

Received 36746564 bytes in 37.2 seconds

Copy the temporary file to its destination.

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

36746564 bytes in 0.3 seconds, 119618 kbytes/second

W1-CC-CN61108-B#

W1-CC-CN61108-B# show boot 

The current boot image version is: CN61108-6.6.6.R1.41.M_FOR39T4

The current running image is:  flash:/boot/CN61108PC-V-H-48-4-6.6.6.R1.41.M_FOR39T4.bin

The next time boot image version is: v6.6.6.R1.40.T33

The next running image is:  flash:/boot/CN61108PC-V-H-48-4-6.6.6.R1.40.T33.bin

W1-CC-CN61108-B#

W1-CC-CN61108-B# write 

Building configuration...

[OK]

W1-CC-CN61108-B# reboot 

Building configuration...

Reboot system? [confirm]

W1-CC-CN61108-B#

Slave设备重启后查看MLAG运行状态

W1-CC-CN61108-B# show mlag 

MLAG configuration:

local_version: 2

-----------------

role         : Slave

local_sysid  : c0a6.6d22.fb51

remote_sysid : c0a6.6d23.01f7

mlag_sysid   : c0a6.6d23.01f7

local_syspri : 32768

remote_syspri: 32768

mlag_syspri  : 32768

peer-link    : agg55

peer conf    : Yes

reload-delay : Auto(300s)

W1-CC-CN61108-B#

 

posted @ 2025-01-22 09:04  闻道矣ing  阅读(68)  评论(0)    收藏  举报