Home » Program » Cisco Catalyst 2960S IOS Update (Part 2) (Tag: )

Cisco Catalyst 2960S IOS Update (Part 1) の続きです。

IOS ソフトウェア ダウンロード -> バックアップの後はアップデートを実行します。

アップデート 12.2 系 -> 15.2 系 (archive)

archive コマンドでダウンロードすることでアップデートしますが、1 回目は失敗しました。

sw#archive download-sw /overwrite tftp://192.168.100.10/c2960s-universalk9-tar.152-1.E.tar
Loading c2960s-universalk9-tar.152-1.E.tar from 192.168.100.10 (via Vlan100): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 21596160 bytes]

Loading c2960s-universalk9-tar.152-1.E.tar from 192.168.100.10 (via Vlan100): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
examining image...
extracting info (108 bytes)
extracting c2960s-universalk9-mz.152-1.E/info (629 bytes)
extracting info (108 bytes)

Stacking Version Number: 1.51

System Type:             0x00000000
  Ios Image File Size:   0x00F9B200
  Total Image File Size: 0x01496200
  Minimum Dram required: 0x08000000
  Image Suffix:          universalk9-152-1.E
  Image Directory:       c2960s-universalk9-mz.152-1.E
  Image Name:            c2960s-universalk9-mz.152-1.E.bin
  Image Feature:         IP|LAYER_2|SSH|3DES|MIN_DRAM_MEG=128

Old image for switch 1: unknown

c2960s-universalk9-mz.152-1.E/ (directory) -- unable to create (No such file or directory)
extracting c2960s-universalk9-mz.152-1.E/c2960s-universalk9-mz.152-1.E.bin (16353536 bytes)
extracting c2960s-universalk9-mz.152-1.E/info (629 bytes)
c2960s-universalk9-mz.152-1.E/html/ (directory)
(中略)
extracting c2960s-universalk9-mz.152-1.E/html/reset.htm (6490 bytes)
extracting c2960s-universalk9-mz.152-1.E/html/back.htm (515 bytes)
extracting c2960s-universalk9-mz.152-1.E/dc_default_profiles.txt (143335 bytes)
extracting info (108 bytes)
%Error opening flash:update/c2960s-universalk9-mz.152-1.E/info (No such file or directory)

Error: Unable to extract image for box 1.  Some systems may
Error: have been left in an inconsistent state.

"Old image for switch 1: unknown" が問題の様です。試しに再度まったく同様に実行すると今度は Unable to create temp dir "flash:update" で終了しました。

flash:/update/ が存在していたので削除した後、改めて実行すると今度は成功しました。

sw#cd
sw#delete /recursive /force flash:/update/
sw#archive download-sw /overwrite tftp://192.168.100.10/c2960s-universalk9-tar.152-1.E.tar
Loading c2960s-universalk9-tar.152-1.E.tar from 192.168.100.10 (via Vlan100): !!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 21596160 bytes]

Loading c2960s-universalk9-tar.152-1.E.tar from 192.168.100.10 (via Vlan100): !!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
examining image...
extracting info (108 bytes)
extracting c2960s-universalk9-mz.152-1.E/info (629 bytes)
extracting info (108 bytes)

Stacking Version Number: 1.51

System Type:             0x00000000
  Ios Image File Size:   0x00F9B200
  Total Image File Size: 0x01496200
  Minimum Dram required: 0x08000000
  Image Suffix:          universalk9-152-1.E
  Image Directory:       c2960s-universalk9-mz.152-1.E
  Image Name:            c2960s-universalk9-mz.152-1.E.bin
  Image Feature:         IP|LAYER_2|SSH|3DES|MIN_DRAM_MEG=128

Old image for switch 1: flash:/c2960s-universalk9-mz.122-53.SE2
  Old image will be deleted after download.

c2960s-universalk9-mz.152-1.E/ (directory)
extracting c2960s-universalk9-mz.152-1.E/c2960s-universalk9-mz.152-1.E.bin (16353536 bytes)
extracting c2960s-universalk9-mz.152-1.E/info (629 bytes)
c2960s-universalk9-mz.152-1.E/html/ (directory)
(中略)
extracting c2960s-universalk9-mz.152-1.E/html/back.htm (515 bytes)
extracting c2960s-universalk9-mz.152-1.E/dc_default_profiles.txt (143335 bytes)
extracting info (108 bytes)
Installing (renaming): `flash:update/c2960s-universalk9-mz.152-1.E' ->
                                       `flash:/c2960s-universalk9-mz.152-1.E'
New software image installed in flash:/c2960s-universalk9-mz.152-1.E

Removing old image: flash:/c2960s-universalk9-mz.122-53.SE2

All software images installed.

成功する場合は Old image for switch 1: の後にソフトウェアのパスが表示されています。

失敗した場合のカレントディレクトリは flash:/ ではありませんでした。成功した場合は直前に cd (flash:/ 直下に移動) しているので成功した様です。

インストールが完了するまでに 13 分程度、再起動の完了に 5 分程度で 20 分弱要します。

Old image for の後は画面が静止したまま 10 分弱掛かりますが、慌てずに待ちましょう。以下は実際に計測した所要時間の一例です。

  • 13:29 archive コマンド実行
  • 13:34 Old image for …
  • 13:42 All software images installed.
  • 13:44 reload コマンド実行
  • 13:49 リモートログイン可能

再起動後の sh ver の結果の一部です。

Switch Ports Model              SW Version            SW Image
------ ----- -----              ----------            ----------
*    1 52    WS-C2960S-48TS-L   15.2(1)E              C2960S-UNIVERSALK9-M

flash:/c2960s-universalk9-mz.152-1.E/ を確認すると、

sw#dir flash:/c2960s-universalk9-mz.152-1.E/
Directory of flash:/c2960s-universalk9-mz.152-1.E/

  585  -rwx    16353536  Sep 24 2013 16:49:26 +09:00  c2960s-universalk9-mz.152-1.E.bin
  586  -rwx         629  Sep 24 2013 16:54:42 +09:00  info
  587  drwx        6144  Sep 24 2013 16:54:42 +09:00  html
 1224  -rwx      143335  Sep 24 2013 16:57:53 +09:00  dc_default_profiles.txt

57931776 bytes total (36151808 bytes free)

15.0 系 -> 15.2 系と異なり dc_default_profiles.txt が残っていました。

sw#delete flash:/c2960s-universalk9-mz.152-1.E/dc_default_profiles.txt

試しに削除して reload しても正常に起動しているので、特に問題ない様です。

次は 15.0 系からアップデートした際のメモです。(続く)

Random Select

brochure.pdf (PDF.js Viewer)
すでにお気づきの方も多いですし対処方法も多々報告されている様ですが、Firefox 19 から、PDF ファイルの表示に違和感を感じました。ウィンドウ自体のデザインが変わっただけでなく、フォントも変で
FreeBSD Logo
Drive Network では現在 radserv をメインに使用しています。RAID カードに Adaptec RAID 2405 または 5405 が搭載されていますが、Adaptec から F
WS-C2960S-48TS-L (1)
Cisco Catalyst 2960S IOS Update (Part 1) の続きです。IOS ソフトウェア ダウンロード -> バックアップの後はアップデートを実行します。アップデート
丸焼きチキン (2)
久高島 (No. 6 – ふたたび) の続きです。以前から 沖縄県産やんばる若鶏の丸焼き専門店ブエノチキン浦添 を試してみたいと思いつつも機会がなく、去年予約まで入れたものの 沖縄本島 (
浜比嘉大橋 (3)
沖縄本島 (No. 39 – タコス屋 <Tacos-ya> ふたたび) の続きです。09/19 ? 09/24 の 5 泊 6 日の旅程で、宿泊最終日の今日 09/23 は午
vSphere Client 5.5 Install (2)
最近 VirtualBox のゲスト OS やノート PC の買い替えに伴い、Windows 8.1 Pro を試し始めています。Vista -> 7 への移行以上に大きく戸惑っていますが、これ
ニューヨークステーキ L (1)
沖縄本島 (No. 46 – うるり クラッシュスィーツ) を朝食にした沖縄入り 2 日目のランチは、那覇に宿泊している上にニクの日だけに ジャッキー ステーキハウス と決めていました。1
FreeBSD Logo
FreeBSD kernel compile でも紹介した通り、常に kernel 再構築によりカスタムカーネルで稼動させています。私はカスタムカーネルの名称を `hostname -s` にする習慣
よくばりそば + じゅうしぃ
奥武島 (No. 1 – 中本鮮魚店) の続きです。沖縄本島 (No. 7 – 宮良そば) からほぼ半年ぶりに訪れました。前回訪れた後にサラダバーが始まったことはキャッチしてい
hp dv5
Windows 7 では Vista まで標準で表示されていた Quick Launch が非表示とされました。タスクバーに登録するだけでは見通しが悪くなりそうですので、Quick Launch を表
Valid HTML5 Valid CSS3 Another HTML Lint