キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 
cancel
8475
閲覧回数
5
いいね!
0
コメント
haorzhao
Cisco Employee
Cisco Employee

C9800のCLIより、下記の手順でバージョンアップを実施します。

 

Step 1 次のコマンドを実行して以前のインストールファイルをクリーンアップします。

Command:install remove inactive

出力例

98wlc#install remove inactive

install_remove: START Mon Sep 27 07:26:56 UTC 2021




*Sep 27 07:26:57.575: %INSTALL-5-INSTALL_START_INFO: Chassis 1 R0/0: install_engine: Started install removeCleaning up unnecessary package files

No path specified, will use booted path bootflash:packages.conf

Cleaning bootflash:

  Scanning boot directory for packages ... done.

  Preparing packages list to delete ...

    C9800-L-mono-universalk9_wlc.16.12.04a.SPA.pkg

      File is in use, will not delete.

    C9800-L-rpboot.16.12.04a.SPA.pkg

      File is in use, will not delete.

    packages.conf

      File is in use, will not delete.

  done.




The following files will be deleted:

[chassis 1]:

/bootflash/C9800-L-hw-programmables.16.12.04a.SPA.pkg

/bootflash/C9800-L-mono-universalk9_wlc.17.05.01.SPA.pkg

/bootflash/C9800-L-rpboot.17.05.01.SPA.pkg

/bootflash/C9800-L-universalk9_wlc.16.12.04a.SPA.bin

/bootflash/C9800-L-universalk9_wlc.16.12.04a.SPA.conf




Do you want to remove the above files? [y/n]y

[chassis 1]:

Deleting file bootflash:C9800-L-hw-programmables.16.12.04a.SPA.pkg ... done.

Deleting file bootflash:C9800-L-mono-universalk9_wlc.17.05.01.SPA.pkg ... done.

Deleting file bootflash:C9800-L-rpboot.17.05.01.SPA.pkg ... done.

Deleting file bootflash:C9800-L-universalk9_wlc.16.12.04a.SPA.bin ... done.

Deleting file bootflash:C9800-L-universalk9_wlc.16.12.04a.SPA.conf ... done.

SUCCESS: Files deleted.

--- Starting Post_Remove_Cleanup ---

Performing Post_Remove_Cleanup on all members

  [1] Post_Remove_Cleanup package(s) on chassis 1

  [1] Finished Post_Remove_Cleanup on chassis 1

Checking status of Post_Remove_Cleanup on [1]

Post_Remove_Cleanup: Passed on [1]

Finished Post_Remove_Cleanup




SUCCESS: install_remove  Mon Sep 27 07:29:25 UTC 2021

 

Step 2 新しいイメージをフラッシュにコピーします。

Command:copy tftp://<TFTP Server IP>/<image name> flash:

出力例

98wlc#copy tftp://192.168.100.245/C9800-L-universalk9_wlc.16.12.05.SPA.bin flash:

Destination filename [C9800-L-universalk9_wlc.16.12.05.SPA.bin]?

Accessing tftp://192.168.100.245/C9800-L-universalk9_wlc.16.12.05.SPA.bin...

Loading C9800-L-universalk9_wlc.16.12.05.SPA.bin from 192.168.100.245 (via Vlan100): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

[OK - 959214528 bytes]




959214528 bytes copied in 1563.134 secs (613648 bytes/sec)

 

Step3 イメージがフラッシュに正常にコピーされていることを確認します。

Command:dir flash:*.bin

出力例

98wlc#dir flash:*.bin
Directory of bootflash:/*.bin




Directory of bootflash:/




   12  -rw-   959214528  Sep 27 2021 08:06:07 +00:00  C9800-L-universalk9_wlc.16.12.05.SPA.bin

26458804224 bytes total (23021490176 bytes free)

 

Step 4 ソフトウェアイメージをフラッシュにインストールします。システムは自動的にリロードします

Command:install add file bootflash:image activate commit

出力例

98wlc#install add file bootflash:C9800-L-universalk9_wlc.16.12.05.SPA.bin activate commit       

install_add_activate_commit: START Mon Sep 27 08:09:47 UTC 2021




System configuration has been modified.

Press Yes(y) to save the configuration and proceed.

Press No(n) for proceeding without saving the configuration.

Press Quit(q) to exit, you may save configuration and re-enter the command. [y/n/q]yBuilding configuration...




[OK]Modified configuration has been saved




*Sep 27 08:10:00.285: %SYS-2-PRIVCFG_ENCRYPT: Successfully encrypted private config file

*Sep 27 08:10:01.735: %INSTALL-5-INSTALL_START_INFO: Chassis 1 R0/0: install_engine: Started install one-shot bootflash:C9800-L-universalk9_wlc.16.12.05.SPA.bininstall_add_activate_commit: Adding PACKAGE

install_add_activate_commit: Checking whether new add is allowed ....




--- Starting initial file syncing ---

Info: Finished copying bootflash:C9800-L-universalk9_wlc.16.12.05.SPA.bin to the selected chassis

Finished initial file syncing




--- Starting Add ---

Performing Add on all members

  [1] Add package(s) on chassis 1

  [1] Finished Add on chassis 1

Checking status of Add on [1]

Add: Passed on [1]

Finished Add




Image added. Version: 16.12.5.0.5625

install_add_activate_commit: Activating PACKAGE

Following packages shall be activated:

/bootflash/C9800-L-rpboot.16.12.05.SPA.pkg

/bootflash/C9800-L-mono-universalk9_wlc.16.12.05.SPA.pkg

/bootflash/C9800-L-hw-programmables.16.12.05.SPA.pkg




This operation may require a reload of the system. Do you want to proceed? [y/n]y

--- Starting Activate ---

Performing Activate on all members




  [1] Activate package(s) on chassis 1

    --- Starting list of software package changes ---

    Old files list:

      Removed C9800-L-mono-universalk9_wlc.16.12.04a.SPA.pkg

      Removed C9800-L-rpboot.16.12.04a.SPA.pkg

    New files list:

      Added C9800-L-mono-universalk9_wlc.16.12.05.SPA.pkg

      Added C9800-L-rpboot.16.12.05.SPA.pkg

    Finished list of software package changes

  [1] Finished Activate on chassis 1

Checking status of Activate on [1]

Activate: Passed on [1]

Finished Activate







*Sep 27 08:19:02.632: %INSTALL-5-INSTALL_AUTO_ABORT_TIMER_PROGRESS: Chassis 1 R0/0: rollback_timer: Install auto abort timer will expire in 21600 seconds--- Starting Commit ---

Performing Commit on all members

  [1] Commit package(s) on chassis 1

  [1] Finished Commit on chassis 1

Checking status of Commit on [1]

Commit: Passed on [1]

Finished Commit




Install will reload the system now!

SUCCESS: install_add_activate_commit  Mon Sep 27 08:19:50 UTC 2021

 

Step 5 バージョンアップが成功したかどうかを確認します。

Command:show version & show install summary

出力例

98wlc#show version

Cisco IOS XE Software, Version 16.12.05

Cisco IOS Software [Gibraltar], C9800 Software (C9800_IOSXE-K9), Version 16.12.5, RELEASE SOFTWARE (fc3)




98wlc#show install summary

[ Chassis 1 ] Installed Package(s) Information:

State (St): I - Inactive, U - Activated & Uncommitted,

            C - Activated & Committed, D - Deactivated & Uncommitted

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

Type  St   Filename/Version   

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

IMG   C    16.12.5.0.5625                                                     



 

 

※ show install summaryより、下記のように St が U と表示される場合は、Commit が完了できない状態となるため『install commit』を実施して、Commit を完了させます。

98wlc#show install summary

[ Chassis 1 ] Installed Package(s) Information:

State (St): I - Inactive, U - Activated & Uncommitted,

            C - Activated & Committed, D - Deactivated & Uncommitted

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

Type  St   Filename/Version   

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

IMG   U    16.12.04a.0.9                                                      



 

以上です。

Getting Started

検索バーにキーワード、フレーズ、または質問を入力し、お探しのものを見つけましょう

シスコ コミュニティをいち早く使いこなしていただけるよう役立つリンクをまとめました。みなさんのジャーニーがより良いものとなるようお手伝いします