Pages

Banner 468

Wednesday, 7 August 2013

Upgrade Cisco IOS on an Autonomous Access Point

0 comments
 

Introduction

This document shows how to upgrade a Cisco IOS® image on an autonomous access point through the GUI or CLI.

Prerequisites

Components Used

The information in this document is based on Cisco Aironet 1240AG Series Access Point that runs Cisco IOS Software Release12.3(8)JEA.
Note: This procedure is applicable for any autonomous access point.

Conventions

Refer to Cisco Technical Tips Conventions for more information on document conventions.

Background Information

The upgrade is performed in order to take advantage of the new features available in the new Cisco IOS image and to fix issues in the previous software version. It is usually performed as a part of regular maintenance task. You can use either the GUI or CLI to upgrade Cisco IOS on an access point.
These are the IP addresses used in this document:
  • The IP address of the TFTP server is 10.77.244.196
  • The IP address of the access point is 10.77.244.194
In this document, the AP is upgraded to Cisco IOS Software Release 12.4.10b-JA3(ED).

Upgrade Process

Upgrade Cisco IOS through the GUI

In this section, you are presented with the information on how to upgrade the access point through the GUI. Complete these steps:
  1. Check the current software version of the AP. Open a browser and type http://<ip address of the ap> in the address bar in order to log into the GUI. On the main page, click on the System Software menu from the left hand side. Choose the Software Upgrade option and check the current Cisco IOS version from the System Software Version field.
    Note: Refer to Cisco Software Downloads FAQ for information on how to download firmware from Cisco.com Downloads.
  2. From the software upgrade page, choose TFTP upgrade, as shown in Figure 1.
    Note: You can also check the Cisco IOS version from this screen.
  3. Enter the IP address of the TFTP server.
  4. Specify the name of the Cisco IOS software file to be upgraded in the Upgrade System Software Tar file field, as shown in Figure 1.
    Note: In order to have a smooth upgrade, do not change the original Cisco IOS filename. Leave the name as it was when you downloaded the file from cisco.com.
  5. Click the Upgrade button. A status window similar to the one shown in Figure 2 appears.
    This takes few minutes, and then the AP reboots once the upgrade is complete.
Figure 1 ios_upgrade1.gif
Figure 2 ios_upgrade2.gif

Upgrade Cisco IOS through the CLI

This section describes how to upgrade Cisco IOS on an access point through the CLI.
  1. Log into the access point through a Telnet session.
  2. You can download a new image file and choose to replace the current image or keep the current image.
    Note: Refer to Cisco Software Downloads FAQ for information on how to download firmware from Cisco.com Downloads.
    Note: The latter option is helpful when one of the Cisco IOS files are corrupted. You can work with the access point from the other image in the flash.
  3. If you choose to overwrite the existing file, issue the archive download-sw /overwrite /reload tftp://location/image-name command. The /overwrite option overwrites the software image in flash with the downloaded image. The /reload option reloads the system after you download the image unless the configuration is changed and not saved. For //location, specify the IP address of the TFTP server. For image name, specify the Cisco IOS filename that you plan to use to upgrade the access point. In this example, the command is archive download-sw /overwrite /reload tftp://10.77.244.194/c1240-k9w7-tar.124-10b.JA3.tar. As mentioned earlier, do not change the name of the Cisco IOS file. Leave it as the default. You find these logs during the successful file transfer:
    examining image...
    Loading c1240-k9w7-tar.124-10b.JA3.tar from 10.77.244.196 (via BVI1): !
    extracting info (275 bytes)
    Image info:
        Version Suffix: k9w7-.124-10b.JA3
        Image Name: c1240-k9w7-mx.124-10b.JA3
        Version Directory: c1240-k9w7-mx.124-10b.JA3
        Ios Image Size: 4813312
        Total Image Size: 5560832
        Image Feature: UNKNOWN
        Image Family: C1240
        Wireless Switch Management Version: 1.0
    Extracting files...
    c1240-k9w7-mx.124-10b.JA3/ (directory) 0 (bytes)
    c1240-k9w7-mx.124-10b.JA3/html/ (directory) 0 (bytes)
    c1240-k9w7-mx.124-10b.JA3/html/level/ (directory) 0 (bytes)
    -----------------Lines omitted ---------------------------
    ----------------------------------------------------------
    Deleting target version: flash:/c1240-k9w7-mx.124-10b.JA3...done.
    New software image installed in flash:/c1240-k9w7-mx.124-10b.JA3.
    Configuring system to use new image...done.
    Requested system reload in progress...
  4. If you choose to keep the existing file, issue the archive download-sw /leave-old-sw /reload tftp://location/image-name command. If there is not enough space to install the new image and keep the current running image, the download process stops, and an error message is displayed.
  5. The AP downloads the Cisco IOS file specified from the DHCP server and reloads with the new software.

Verify

On the TFTP server, check to see if you receive logs about this file transfer. If you use tftpd32 as your TFTP server software, you can see these logs for a successful transfer of the Cisco IOS file to AP:
Read request for file <c1240-k9w7-tar.123-8.JEA2.tar>. Mode octet [18/08 17:10:14.562]
<c1240-k9w7-tar.123-8.JEA2.tar>: sent 10021 blks, 5130240 bytes in 89 s. 0 blk resent [18/08 17:11:42.812]
Once the new image is downloaded, the access point automatically reloads. At this time, the connection to the access point is lost. Login to the AP again. On the GUI, use the System Software menu in order to verify if the new software is loaded. If you use the CLI, you can check this with the show version command. Look at the first line that reads Cisco IOS software in order to check to see if the AP has the upgraded image.

Troubleshoot

Troubleshooting Procedure

If the upgrade is not successful, complete these checks:
  1. Make sure that the TFTP server is reachable from the access point. Check the IP address assignment on the AP and the TFTP server.
  2. Disable any firewall to see if it blocks the TFTP port udp 69. Determine whether you have any ACL defined on the network that prevents TFTP service.
  3. Ensure that the Cisco IOS file is present in the root directory of the TFTP server. The root directory is also called the current directory of the TFTP server.
  4. Ensure that you download the appropriate image for a particular model of the access point. Otherwise the download algorithm on the AP rejects the image and displays an error.
  5. Make sure that the access point meets the memory requirements specified for the image in the downloads page. If there is not sufficient space in the flash to hold the Cisco IOS file, it produces an error message.
  6. If you use the GUI to upgrade the AP, make sure the browser is supported. During the upgrade process, a status pop-up window appears. Make sure that the browser allows pop-up windows from the AP to appear. Microsoft Internet Explorer (IE) 6.0 or later is a supported browser. Refer to the Using the Web-Browser Interface section of Cisco IOS Software Configuration Guide for Cisco Aironet Access Points Cisco IOS Releases 12.4(10b)JA and 12.3(8)JEC for more information on the supported browser.
  7. Sometimes due to the unsuccessful upgrade process, the AP gets stuck in ap: mode and the permission denied error message appears. Refer to the Troubleshooting section of Cisco IOS Software Configuration Guide for Cisco Aironet Access Points Cisco IOS Releases 12.4(10b)JA and 12.3(8)JEC in order to reload the Cisco IOS on the AP.

Leave a Reply