Cisco Catalyst 3750 Cisco IOSのアップデート(tarファイル)

シェアする

Cisco IOSのアップデートをしてみます。

Catalyst 3750では、binファイルのものとtarファイルのもの2種類ありますが、今回は、tarファイルになっているもので、アップデートします。

binファイル・・・Cisco IOSの単体イメージファイル
tarファイル・・・ブラウザーで操作可能なhtmlファイルを含んだもの

tftpサーバーを利用しますが、適当なものが準備できている前提です。

tftpサーバーのIPアドレスは、「192.168.1.12」です。

Cisco IOSのバックアップ (tftpサーバーへアップロード)

現在、インストールされているCisco IOSのバックアップを取得します。

Switch#show flash: <= フラッシュ内の確認

Directory of flash:/

  2 -rwx 1836 Mar 1 1993 06:37:56 +00:00 config.text
  3 -rwx 3096 Mar 1 1993 06:37:56 +00:00 multiple-fs
  4 drwx  512 Mar 1 1993 06:28:26 +00:00 c3750-ipservicesk9-mz.122-52.SE
427 -rwx 1932 Mar 1 1993 06:37:56 +00:00 private-config.text

27998208 bytes total (12584960 bytes free)
Switch#archive upload-sw tftp://192.168.1.12/c3750-ipservicesk9-mz.122-52.SE.tar <= アップロード
System software to be uploaded:
System Type: 0x00000000
archiving c3750-ipservicesk9-mz.122-52.SE (directory)
archiving c3750-ipservicesk9-mz.122-52.SE/c3750-ipservicesk9-mz.122-52.SE.bin (12305677 bytes)
archiving c3750-ipservicesk9-mz.122-52.SE/html (directory)
   : (省略)
archiving c3750-ipservicesk9-mz.122-52.SE/html/en (directory)
   : (省略)
archiving c3750-ipservicesk9-mz.122-52.SE/html/help (directory)
   : (省略)
archiving c3750-ipservicesk9-mz.122-52.SE/html/help2 (directory)
   : (省略)
archiving c3750-ipservicesk9-mz.122-52.SE/html/help3 (directory)
   : (省略)
archiving c3750-ipservicesk9-mz.122-52.SE/html/images (directory)
   : (省略)
archiving c3750-ipservicesk9-mz.122-52.SE (directory)
   : (省略)
archiving info (110 bytes)

Cisco IOSのアップデート (tftpサーバーからダウンロード)

tftpサーバーにある新しいCisco IOSへアップデートします。

Switch#archive download-sw /overwrite tftp://192.168.1.12/c3750-ipservicesk9-tar.122-55.SE12.tar <= ダウンロード(上書き)
Loading c3750-ipservicesk9-tar.122-55.SE12.tar from 192.168.1.12 (via Vlan1): 
[OK - 16824320 bytes]

Could not buffer tarfile...using multiple downloads
examining image...
Loading c3750-ipservicesk9-tar.122-55.SE12.tar from 192.168.1.12 (via Vlan1): 
extracting info (111 bytes)
[OK - 16824320 bytes]

Loading c3750-ipservicesk9-tar.122-55.SE12.tar from 192.168.1.12 (via Vlan1): 
extracting c3750-ipservicesk9-mz.122-55.SE12/info (701 bytes)
extracting info (111 bytes)
[OK - 16824320 bytes]


Stacking Version Number: 1.45

System Type: 0x00000000
Ios Image File Size: 0x00C69A00
Total Image File Size: 0x0100BA00
Minimum Dram required: 0x08000000
Image Suffix: ipservicesk9-122-55.SE12
Image Directory: c3750-ipservicesk9-mz.122-55.SE12
Image Name: c3750-ipservicesk9-mz.122-55.SE12.bin
Image Feature: IP|LAYER_3|PLUS|SSH|3DES|MIN_DRAM_MEG=128

Old image for switch 1: flash:/c3750-ipservicesk9-mz.122-52.SE
Old image will be deleted before download.

Deleting `flash:/c3750-ipservicesk9-mz.122-52.SE' to create required space
Extracting images from archive into flash...
Loading c3750-ipservicesk9-tar.122-55.SE12.tar from 192.168.1.12 (via Vlan1): 
c3750-ipservicesk9-mz.122-55.SE12/ (directory)
   : (省略)
c3750-ipservicesk9-mz.122-55.SE12/html/ (directory)
   : (省略)
c3750-ipservicesk9-mz.122-55.SE12/html/ja/ (directory)
   : (省略)
c3750-ipservicesk9-mz.122-55.SE12/html/ja/help/ (directory)
   : (省略)
c3750-ipservicesk9-mz.122-55.SE12/html/help2/ (directory)
   : (省略)
c3750-ipservicesk9-mz.122-55.SE12/html/help/ (directory)
   : (省略)
c3750-ipservicesk9-mz.122-55.SE12/html/help3/ (directory)
   : (省略)
c3750-ipservicesk9-mz.122-55.SE12/html/en/ (directory)
   : (省略)
c3750-ipservicesk9-mz.122-55.SE12/html/en/help/ (directory)
   : (省略)
c3750-ipservicesk9-mz.122-55.SE12/html/images/ (directory)
   : (省略)
[OK - 16824320 bytes]


Installing (renaming): `flash:update/c3750-ipservicesk9-mz.122-55.SE12' ->
                             `flash:/c3750-ipservicesk9-mz.122-55.SE12'
New software image installed in flash:/c3750-ipservicesk9-mz.122-55.SE12


All software images installed.
Switch#show flash:

Directory of flash:/

  2 -rwx 1836 Mar 1 1993 06:37:56 +00:00 config.text
  3 -rwx 3096 Mar 1 1993 06:37:56 +00:00 multiple-fs
428 drwx  512 Mar 2 1993 04:15:59 +00:00 c3750-ipservicesk9-mz.122-55.SE12
427 -rwx 1932 Mar 1 1993 06:37:56 +00:00 private-config.text

27998208 bytes total (11022848 bytes free)

リロード(再起動)

フラッシュに新しいCisco IOSが問題なくできていれば、リロードをしてCisco IOSで稼働させます。

Switch#reload
Proceed with reload? [confirm]confirm

Using driver version 1 for media type 1
Base ethernet MAC Address: 00:00:00:00:00:00
Xmodem file system is available.
The password-recovery mechanism is enabled.
Initializing Flash...
mifs[2]: 0 files, 1 directories
mifs[2]: Total bytes     :    3870720
mifs[2]: Bytes used      :       1024
mifs[2]: Bytes available :    3869696
mifs[2]: mifs fsck took 1 seconds.
mifs[3]: 500 files, 11 directories
mifs[3]: Total bytes     :   27998208
mifs[3]: Bytes used      :   16975360
mifs[3]: Bytes available :   11022848
mifs[3]: mifs fsck took 8 seconds.
...done Initializing Flash.
done.
Loading "flash:/c3750-ipservicesk9-mz.122-55.SE12/c3750-ipservicesk9-mz.122-55.SE12.bin"...
File "flash:/c3750-ipservicesk9-mz.122-55.SE12/c3750-ipservicesk9-mz.122-55.SE12.bin" uncompressed and installed, entry point: 0x1000000
executing...

              Restricted Rights Legend

Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.

           cisco Systems, Inc.
           170 West Tasman Drive
           San Jose, California 95134-1706



Cisco IOS Software, C3750 Software (C3750-IPSERVICESK9-M), Version 12.2(55)SE12, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2017 by Cisco Systems, Inc.
Compiled Thu 28-Sep-17 02:29 by prod_rel_team
Image text-base: 0x01000000, data-base: 0x02F00000

Initializing flashfs...
Using driver version 1 for media type 1
mifs[3]: 0 files, 1 directories
mifs[3]: Total bytes     : 3870720
mifs[3]: Bytes used      : 1024
mifs[3]: Bytes available : 3869696
mifs[3]: mifs fsck took 0 seconds.
mifs[3]: Initialization complete.

mifs[4]: 500 files, 11 directories
mifs[4]: Total bytes     : 27998208
mifs[4]: Bytes used      : 16975360
mifs[4]: Bytes available : 11022848
mifs[4]: mifs fsck took 1 seconds.
mifs[4]: Initialization complete.

...done Initializing flashfs.

Checking for Bootloader upgrade.. not needed
POST: CPU MIC register Tests : Begin
POST: CPU MIC register Tests : End, Status Passed

POST: PortASIC Memory Tests : Begin
POST: PortASIC Memory Tests : End, Status Passed

POST: CPU MIC interface Loopback Tests : Begin
POST: CPU MIC interface Loopback Tests : End, Status Passed

POST: PortASIC RingLoopback Tests : Begin
POST: PortASIC RingLoopback Tests : End, Status Passed

Waiting for Stack Master Election...
POST: PortASIC CAM Subsystem Tests : Begin
POST: PortASIC CAM Subsystem Tests : End, Status Passed

POST: No Cable found on stack port 1
POST: No Cable found on stack port 2

POST: PortASIC Stack Port Loopback Tests : Begin
POST: PortASIC Stack Port Loopback Tests : End, Status Passed

POST: PortASIC Port Loopback Tests : Begin
POST: PortASIC Port Loopback Tests : End, Status Passed

Election Complete
Switch 1 booting as Master
Waiting for Port download...Complete


This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.

A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

If you require further assistance please contact us by sending email to
export@cisco.com.

cisco WS-C3750V2-24TS (PowerPC405) processor (revision Y0) with 131072K bytes of memory.
Processor board ID FDO0000A0A0
Last reset from power-on
1 Virtual Ethernet interface
24 FastEthernet interfaces
2 Gigabit Ethernet interfaces
The password-recovery mechanism is enabled.

512K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address       : 00:00:00:00:00:00
Motherboard assembly number     : 00-00000-00
Power supply part number        : 000-0000-00
Motherboard serial number       : FDO00000AAA
Power supply serial number      : DCA0000M0J0
Model revision number           : Y0
Motherboard revision number     : J0
Model number                    : WS-C3750V2-24TS-E
System serial number            : FDO0000Y0J0
Top Assembly Part Number        : 000-00000-00
Top Assembly Revision Number    : A0
Version ID                      : V00
CLEI Code Number                : CMML000AAA
Hardware Board Revision Number  : 0x01


Switch Ports Model              SW Version            SW Image
------ ----- -----              ----------            ----------
*    1 26    WS-C3750V2-24TS    12.2(55)SE12          C3750-IPSERVICESK9-M



Press RETURN to get started!