Cisco892W ap801 OS Upgrade

Cisco892W の Wireless AP の OS 更新手順。……機材的にあまり需要はないだろうし、個人的な備忘録として。

事前確認

Flash残容量の確認

ap#show file systems
File Systems:

     Size(b)     Free(b)      Type  Flags  Prefixes
*   31481856    13305344     flash     rw   flash:
           -           -    opaque     rw   bs:
    31481856    13305344   unknown     rw   zflash:
           -           -    opaque     rw   archive:
           -           -    opaque     rw   system:
       32768       19827     nvram     rw   nvram:
           -           -   network     rw   tftp:
           -           -    opaque     rw   null:
           -           -    opaque     ro   xmodem:
           -           -    opaque     ro   ymodem:
           -           -   network     rw   rcp:
           -           -   network     rw   ftp:
           -           -   network     rw   http:
           -           -   network     rw   scp:
           -           -   network     rw   https:
           -           -    opaque     ro   cns:

ap#
ap#dir
Directory of flash:/

    2  -rwx           8  Jun 11 2012 01:48:01 +09:00  F**********
    3  drwx         256   Jan 1 1970 09:10:42 +09:00  ap801-k9w7-mx.124-21a.JA1
  151  -rwx         346   Mar 1 2002 09:00:07 +09:00  env_vars
  152  drwx         128   Jan 1 1970 09:12:39 +09:00  ap801-rcvk9w8-mx
  155  -rwx     8700072  Dec 23 2012 12:13:19 +09:00  r0.rcore
  156  -rwx        7116  Dec 22 2012 16:13:16 +09:00  private-config
  157  -rwx        3072   Mar 1 2002 09:06:46 +09:00  cpconfig-ap801.cfg
  158  -rwx        3725  Dec 22 2012 16:13:16 +09:00  config.txt
  159  -rwx        3072   Mar 1 2002 09:06:51 +09:00  back_up.txt
  161  -rwx        2072  Dec 22 2012 16:13:16 +09:00  private-multiple-fs

31481856 bytes total (13305344 bytes free)
ap#

IOSバージョンとメモリ要件の確認。

ap#show ver
Cisco IOS Software, AP801 Software (AP801-K9W7-M), Version 12.4(21a)JA1, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2009 by Cisco Systems, Inc.
Compiled Wed 16-Sep-09 18:59 by prod_rel_team

ROM: Bootstrap program is AP801 boot loader
BOOTLDR: AP801 Boot Loader (AP801-BOOT-M) Version 12.4(23c)JX, RELEASE SOFTWARE (fc1)

ap uptime is 2 weeks, 9 minutes
System returned to ROM by power-on
System restarted at 12:12:09 JST Sun Dec 23 2012
System image file is "flash:/ap801-k9w7-mx.124-21a.JA1/ap801-k9w7-mx.124-21a.JA1"

(略)

cisco AP801AGN-P-K9        (PowerPC 8343) processor (revision A0) with 49142K/16384K bytes of memory.
Processor board ID F*********
PowerPC 8343 CPU at 400Mhz, revision number 0x0031
Last reset from power-on
1 Gigabit Ethernet interface
2 802.11 Radio(s)

(略)
ap#

OS Upgrade

archive download-sw コマンドを使う。

ap#archive download-sw ?
  /create-space  Tries to create space in the flash before deleting an existing
                 image
  /force-reload  Unconditionally reload system after successful sw upgrade
  /imageonly     Load only the IOS image
  /leave-old-sw  Leave old sw installed after successful sw upgrade
  /no-set-boot   Don't set BOOT -- leave existing boot config alone
  /overwrite     OK to overwrite an existing image
  /reload        Reload system (if no unsaved config changes) after successful
                 sw upgrade
  /safe          Always load before deleting old version
  flash:         Image file
  ftp:           Image file
  http:          Image file
  https:         Image file
  rcp:           Image file
  scp:           Image file
  tftp:          Image file

ap#

実行。

ap#archive download-sw /safe /reload tftp://192.168.2.16/ap801-k9w7-tar.124-25d.JA2.tar
examining image...
Loading 892W-ap801-124/ap801-k9w7-tar.124-25d.JA2.tar from 192.168.2.16 (via BVI1): !
extracting info (286 bytes)
Image info:
    Version Suffix: k9w7-.124-25d.JA2
    Image Name: ap801-k9w7-mx.124-25d.JA2
    Version Directory: ap801-k9w7-mx.124-25d.JA2
    Ios Image Size: 5878272
    Total Image Size: 6636032
    Image Feature: WIRELESS LAN
    Image Family: AP801
    Wireless Switch Management Version: 7.0.94.21
Extracting files...
ap801-k9w7-mx.124-25d.JA2/ (directory) 0 (bytes)
ap801-k9w7-mx.124-25d.JA2/html/ (directory) 0 (bytes)
ap801-k9w7-mx.124-25d.JA2/html/level/ (directory) 0 (bytes)
ap801-k9w7-mx.124-25d.JA2/html/level/1/ (directory) 0 (bytes)
extracting ap801-k9w7-mx.124-25d.JA2/html/level/1/appsui.js (557 bytes)
extracting ap801-k9w7-mx.124-25d.JA2/html/level/1/back.shtml (506 bytes)
extracting ap801-k9w7-mx.124-25d.JA2/html/level/1/cookies.js (5026 bytes)
(略)
extracting ap801-k9w7-mx.124-25d.JA2/html/level/15/ap_contextmgr_scm.shtml.gz (5793 bytes)
extracting ap801-k9w7-mx.124-25d.JA2/html/level/15/ap_contextmgr_scm-groups.shtml.gz (8003 bytes)
extracting ap801-k9w7-mx.124-25d.JA2/html/level/15/ap_contextmgr_scm_summary.shtml.gz (5559 bytes)
extracting ap801-k9w7-mx.124-25d.JA2/ap801-k9w7-mx.124-25d.JA2 (5692945 bytes)!!!!!!!!!!!!!!!!!!!!!!!
extracting ap801-k9w7-mx.124-25d.JA2/8001.img (174876 bytes)
extracting ap801-k9w7-mx.124-25d.JA2/A5.bin (15352 bytes)
extracting ap801-k9w7-mx.124-25d.JA2/A2.bin (1616 bytes)
extracting ap801-k9w7-mx.124-25d.JA2/info (286 bytes)
extracting info.ver (286 bytes)
[OK - 6635520 bytes]

Deleting current version: flash:/ap801-k9w7-mx.124-21a.JA1...done.
New software image installed in flash:/ap801-k9w7-mx.124-25d.JA2
Configuring system to use new image...done.
Requested system reload in progress...Connection to ap closed by remote host.

/reload つけているのでそのまま再起動される。

確認

再起動後、再度バージョン確認。

ap#show ver
Cisco IOS Software, AP801 Software (AP801-K9W7-M), Version 12.4(25d)JA2, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2012 by Cisco Systems, Inc.
Compiled Wed 12-Sep-12 01:45 by prod_rel_team

ROM: Bootstrap program is AP801 boot loader
BOOTLDR: AP801 Boot Loader (AP801-BOOT-M) Version 12.4(23c)JX, RELEASE SOFTWARE (fc1)

ap uptime is 3 minutes
System returned to ROM by power-on
System restarted at 12:41:07 JST Sun Jan 6 2013
System image file is "flash:/ap801-k9w7-mx.124-25d.JA2/ap801-k9w7-mx.124-25d.JA2"