• 產品與解決方案
  • 行業解決方案
  • 服務
  • 支持
  • 合作夥伴
  • 關於我們

H3C S6890係列以太網交換機 典型配置舉例-Release 27xx係列-6W100

目錄

04-ISSU典型配置舉例

本章節下載 04-ISSU典型配置舉例  (194.31 KB)

04-ISSU典型配置舉例

H3C S6890產品ISSU典型配置舉例

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

資料版本:6W100-20190628

 

Copyright © 2019 bobty下载软件 版權所有,保留一切權利。

非經本公司書麵許可,任何單位和個人不得擅自摘抄、複製本文檔內容的部分或全部,並不得以任何形式傳播。

除bobty下载软件 的商標外,本手冊中出現的其它公司的商標、產品標識及商品名稱,由各自權利人擁有。

本文檔中的信息可能變動,恕不另行通知。

 



1  簡介

本文檔介紹了ISSU兼容和不兼容升級方式的配置舉例。

ISSU(In-Service Software Upgrade,不中斷業務升級)是一種可靠性高的升級設備啟動軟件的方式,可以在升級過程中做到業務不中斷或中斷時間較短。

進行ISSU升級前,請使用display version comp-matirx file命令查看設備將采用的ISSU升級策略,具體升級方式請見1  表1

確認ISSU升級方式:

·     對於兼容版本升級,查看顯示信息中的“Upgrade Way”字段。

·     對於非兼容版本升級,查看顯示信息末尾部分,會顯示“Incompatible upgrade”。

表1 升級方式和顯示參數對應表

升級方式

字段顯示

兼容升級

Upgrade Way字段顯示:

·     Service Upgrade

·     File Upgrade

·     Reboot

不兼容升級

Incompatible upgrade

 

2  配置前提

本文檔中的配置均是在實驗室環境下進行的配置和驗證,配置前設備的所有參數均采用出廠時的缺省配置。如果您已經對設備進行了配置,為了保證配置效果,請確認現有配置和以下舉例中的配置不衝突。

本文檔假設您已了解ISSU特性。

3  使用限製

1. ISSU升級對硬件的要求

·     請通過Console口對設備實施ISSU升級。如果通過Telnet或SSH登錄設備實施ISSU升級,在升級過程中可能會因Telnet或SSH連接中斷,導致ISSU升級無法繼續。

·     硬件升級或故障期間,請不要進行ISSU升級。否則可能會導致升級失敗或者係統異常。

2. ISSU升級需要滿足的條件

·     請仔細閱讀當前的軟件版本和待升級軟件版本的軟件版本說明書,確認前後兩個版本是否支持使用ISSU方式進行升級。

·     請通過display device命令了解設備的當前狀態。請確保此時所有設備均為正常狀態,對於故障設備請先行排除故障後,再進行ISSU升級。

·     請使用dir命令確認主控板/成員設備的存儲介質有足夠的空間來存放新的軟件包/IPE文件。如果空間不足,請刪除不需要的文件。

3. ISSU升級和其他特性之間的限製關係

表2 ISSU升級和其他特性之間的關係

特性

要求

GR或NSR

建議使能LDP、RSVP、OSPF、ISIS、BGP和FSPF等協議的GR或NSR功能,否則ISSU升級期間可能會出現業務中斷的現象

BFD

建議去使能LDP、RSVP、OSPF、ISIS、RIP、BGP、VRRP、NQA等協議的BFD功能,否則ISSU升級期間可能會出現業務中斷的現象

以太網鏈路聚合

所有動態聚合組的所有成員端口下LACP超時時間為長超時,即這些成員端口下都沒有配置lacp period short命令

IRF

·     如果需要對整個IRF進行兼容版本重啟升級,請配置IRF橋MAC地址的保留時間為6分鍾或永久保留

·     如果需要對整個IRF進行不兼容升級,並且IRF橋MAC地址為將執行issu load設備中的某台設備的MAC地址時,請在執行issu load命令前配置橋IRF橋MAC地址的保留時間為永久保留

·     如果需要對整個IRF進行不兼容升級,請先關閉IRF MAD 檢測功能,完成ISSU升級後再重新配置

 

4. ISSU升級期間的操作限製

·     ISSU升級期間,請確保網絡拓撲穩定,禁止手工重啟成員設備。

·     ISSU升級期間,請確保係統中除了當前執行ISSU升級命令的用戶外無其他用戶登錄。

·     ISSU升級期間,請不要執行ISSU之外的配置命令,以免影響配置效果。

·     禁止對啟動軟件包進行修改、刪除以及重命名等操作。

4  兼容升級典型配置舉例

4.1  組網需求

4.1  圖1所示,IRF由兩台成員設備組成,現要求通過ISSU方式進行全部成員設備啟動軟件包的升級,將設備啟動軟件包由R2710版本升級R2712版本。

圖1 ISSU兼容升級組網圖

 

4.2  使用版本

本舉例是在S6890-CMW710-R2712版本上進行配置和驗證的。

4.3  配置注意事項

升級前確保各成員設備的剩餘存儲空間大於等於新啟動軟件包大小的2倍。

4.4  配置步驟

# 從TFTP server下載R2712.ipe包到主設備的根目錄下,該IPE包中含有兩個待升級啟動軟件包boot-r2712.bin包和system-r2712.bin包。

<Sysname> tftp 2.2.2.2 get R2712.ipe

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

                                 Dload  Upload   Total   Spent    Left  Speed

100 52.2M  100 42.8M    0     0   159k      0  0:04:34  0:04:34 --:--:--  165k

# 查看各成員設備當前運行的啟動軟件包。

<Sysname> display install active

Active packages on slot 1:

  flash:/boot-r2710.bin

  flash:/system-r2710.bin

Active packages on slot 2:

  flash:/boot-r2710.bin

  flash:/system-r2710.bin

# 使用display version comp-matrix file ipe命令查看待升級啟動軟件包的ISSU升級方式以及該啟動軟件包的兼容性列表。

<Sysname> display version comp-matrix file ipe flash:/R2712.ipe

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

Identifying the upgrade methods...........Done.

 

  Slot                        Upgrade Way

  1                           Reboot

  2                           Reboot

根據顯示信息,本次ISSU升級為兼容升級,升級過程中需要重啟成員設備。

# 進行升級前,使用issu rollback-timer命令設置自動回滾定時器,本例設置為120分鍾(係統默認回滾定時器時間為45分鍾),120分鍾內沒有刪除定時器,設備會回滾到升級前的版本。

<Sysname> system-view

[Sysname] issu rollback-timer 120

<Sysname> quit

# 升級成員設備編號為2的設備。

<Sysname> issu load file ipe flash:/R2712.ipe slot 2

This operation will delete the rollback point information for the previous upgrade

 and maybe get unsaved configuration lost. Continue? [Y/N]:y

Successfully copied flash:/boot-r2712.bin to slot2#flash:/boot-r2712.bin.

Successfully copied flash:/system-r2712.bin to slot2#flash:/system-r2712.bin.

Upgrade summary according to following table:

 

flash:/boot-r2712.bin

  Running Version             New Version

  Release 2710                Release 2712

 

flash:/system-r2712.bin

  Running Version             New Version

  Release 2710                Release 2712

 

  Slot                        Upgrade Way

  2                           Reboot

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

# 成員設備1完成重啟後,使用display issu state查看ISSU升級的狀態和成員設備2當前運行的軟件版本。

<Sysname> display issu state

ISSU state: Loaded

Compatibility: Compatible

Work state: Normal

Upgrade method: Card by card

Upgraded slot: None

Current upgrading slot:

  slot 2

Previous version list:

  boot: 7.1.070 Release 2710

  system: 7.1.070 Release 2710

Upgrade version list:

  boot: 7.1.070, Release 2712

  system: 7.1.070, Release 2712

# 確認成員設備2當前運行的是待升級的軟件版本後,確認成員設備2的軟件版本後,將成員設備2切換成主設備。

<Sysname> issu run switchover

Upgrade summary according to following table:

 

flash:/boot-r2712.bin

  Running Version             New Version

  Release 2710                Release 2712

 

flash:/system-r2712.bin

  Running Version             New Version

  Release 2710                Release 2712

 

  Slot                        Switchover Way

  1                           Master subordinate switchover

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

//主備切換後,原成員設備1成為新的主設備。

# 使用display issu state查看是否切換完成。

<Sysname> display issu state

ISSU state: switchover

Compatibility: Compatible

Work state: Normal

Upgrade method: card by card

Upgraded slot: None

Current upgrading chassis: None

Current version list:

  boot: 7.1.070 Release 2710

  system: 7.1.070 Release 2710

Current software images:

  flash:/boot-r2710.bin

  flash:/system-r2710.bin

// 確認ISSU狀態為Switchover後,可進行下一步操作。

# 對成員設備1的設備進行升級。

<Sysname> issu commit slot 1

Upgrade summary according to following table:

 

flash: /boot-r2712.bin

  Running Version             New Version

  Release 2710                Release 2712

 

flash: /system-r2712.bin

  Running Version             New Version

  Release 2710                Release 2712

 

  Slot                        Upgrade Way

  1                           Reboot

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

# 成員設備2重啟完成後,使用display issu state查看ISSU升級的狀態。

<Sysname> display issu state

ISSU state: Init

Compatibility: Compatible

Work state: Normal

Upgrade method: card by card

Upgraded slot: None

Current upgrading chassis: None

Current version list:

  boot: 7.1.070, Release 2712

  system: 7.1.070, Release 2712

Current software images:

  flash:/boot-r2712.bin

  flash:/system-r2712.bin

// 當ISSU狀態為Init後,表明ISSU升級工作完成。

4.5  驗證配置

# 升級完成後,通過display install active命令查看設備當前運行的啟動軟件包版本,可以看到設備當前運行的啟動軟件包為R2712版本。

<Sysname> displayplay install active

Active packages on slot 1:

  flash:/boot-r2712.bin

  flash:/system-r2712.bin

Active packages on slot 2:

  flash:/boot-r2712.bin

  flash:/system-r2712.bin

4.6  配置文件

5  不兼容升級典型配置舉例

5.1  組網需求

5.1  圖2所示,IRF由兩台成員設備組成,現要求通過ISSU方式進行全部成員設備啟動軟件包的升級,將設備啟動軟件包由T0001015版本升級到R2712版本。

圖2 ISSU不兼容升級組網圖

 

5.2  使用版本

本舉例是在S6890-CMW710-R2712版本上進行配置和驗證的。

5.3  配置注意事項

升級前確保各成員設備的剩餘存儲空間大於等於新啟動軟件包大小的2倍。

5.4  配置步驟

# 從TFTP server下載R2712.ipe包到主設備的根目錄下,該IPE包中含有兩個待升級啟動軟件包boot-r2712.bin包和system-r2712.bin包。

<Sysname> tftp 2.2.2.2 get R2712.ipe

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

                                 Dload  Upload   Total   Spent    Left  Speed

100 50.1M  100 42.8M    0     0   159k      0  0:04:34  0:04:34 --:--:--  165k

# 查看各成員設備當前運行的啟動軟件包。

<Sysname> display install active

Active packages on slot 1:

  flash:/boot-t0001015.bin

  flash:/system-t0001015.bin

Active packages on slot 2:

  flash:/boot-t0001015.bin

  flash:/system-t0001015.bin

# 使用display version comp-matrix file ipe命令查看待升級啟動軟件包的ISSU升級方式以及該啟動軟件包的兼容性列表。

<Sysname> display version comp-matrix file ipe flash:/R2712.ipe

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

Identifying the upgrade methods...........Done.

Incompatible upgrade.

根據顯示信息Incompatible upgrade,本次ISSU升級為不兼容升級,升級過程中需要重啟設備。

# 升級成員設備編號為2的從設備。

<Sysname> issu load file ipe flash:/R2712.ipe slot 2

This operation will delete the rollback point information for the previous upgrade

and maybe get unsaved configuration lost. Continue? [Y/N]:y

Successfully copied flash:/boot-r2712.bin to slot2#flash:/boot-r2712.bin.

Successfully copied flash:/system-r2712.bin to slot2#flash:/system-r2712.bin.

 

flash:/boot-r2712.bin

  Running Version             New Version

  Test 0001015                Release 2712

 

flash:/system-r2712.bin

  Running Version             New Version

  Test 0001015                Release 2712

 

  Slot                        Upgrade Way

  2                           Reboot

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

# 成員設備2完成重啟後,使用display issu state查看ISSU升級的狀態和成員設備2當前運行的軟件版本。

<Sysname> display issu state

ISSU state: Loaded

Compatibility: Incompatible

Work state: Normal

Upgrade method: Card by card

Upgraded slot: None

Current upgrading slot:

  slot 2

Previous version list:

  boot: 7.1.070 Test 0001015

  system: 7.1.070 Test 0001015

Upgrade version list:

  boot: 7.1.070, Release 2712

  system: 7.1.070, Release 2712

# 確認成員設備2當前運行的是待升級的軟件版本後,使用issu run switchover命令進行主從設備切換的同時,同時原主設備1會加載新的軟件版本進行重啟。

<Sysname> issu run switchover

Successfully copied flash:/boot-r2712.bin to slot2#flash:/boot-r2712.bin.

Successfully copied flash:/system-r2712.bin to slot2#flash:/system-r2712.bin.

 

flash:/boot-r2712.bin

  Running Version             New Version

  Test 0001015                Release 2712

 

flash:/system-r2712.bin

  Running Version             New Version

  Test 0001015                Release 2712

 

  Slot                        Upgrade Way

  2                           Reboot

  1                           Reboot

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

# 重啟完成後,使用display issu state命令查看ISSU狀態。

<Sysname> display issu state

ISSU state: Init

Compatibility: Incompatible

Work state: Normal

Upgrade method: card by card

Upgraded slot: None

Current upgrading chassis: None

Current version list:

  boot: 7.1.070, Release 2712

  system: 7.1.070, Release 2712

Current software images:

  flash:/boot-r2712.bin

  flash:/system-r2712.bin

// 當ISSU狀態為Init後,表明ISSU升級工作完成。

5.5  驗證配置

# 升級完成後,通過display install active命令查看設備當前運行的啟動軟件包版本,可以看到設備當前運行的啟動軟件包為R2712版本。

<Sysname> display install active

Active packages on slot 1:

  flash:/boot-r2712.bin

  flash:/system-r2712.bin

Active packages on slot 2:

  flash:/boot-r2712.bin

  flash:/system-r2712.bin

5.6  配置文件

6  相關資料

·     H3C S6890係列以太網交換機 基礎配置指導(R27xx)

·     H3C S6890係列以太網交換機 基礎配置命令參考(R27xx)

不同款型規格的資料略有差異, 詳細信息請向具體銷售和400谘詢。H3C保留在沒有任何通知或提示的情況下對資料內容進行修改的權利!

BOB登陆
官網
聯係我們