Return to site

Cisco 3750 Software Upgrade

broken image


  1. Cisco 3750 Ios Upgrade Procedure
  2. Cisco 3650 Software Upgrade

Contents

Jan 28, 2016  I have been tasked with creating a stack out of an older 3750, with a newer 3750. I know they both need to be on the same version so this makes it a good time for me to upgrade our older Cisco with the current recommended version (I believe 15.xxx). Cisco 3750 Software Upgrade I tried this approach. A license was sent to me via a TAR file but I couldn't get it to install. The license command was not available. I contacted Cisco TAC and they advised me that the the above reference model numbers were not capable of upgrading with a license code. Only the E series switches had this capability.

Introduction

This document explains the step-by-step procedure to use the command-line interface (CLI) in order to upgrade the software image on Cisco Catalyst 3750 series switches that have a multiswitch stack configuration.

Prerequisites

Requirements

Before you download software, refer to these sections of Release Notes for the Catalyst 3750, 3560, and 2970 Switches, Cisco IOS Release 12.2(25)SEB and Later for important information:

Components Used

The information in this document is based on these hardware versions:

  • WS-C3750G-12S switches

  • WS-C3750G-24TS switches

Note: You can substitute any stackable Catalyst 3750 series switch.

The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, make sure that you understand the potential impact of any command.

Conventions

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

Find the Software Version and Feature Set

A directory that has the Cisco IOS® Software release name stores the Cisco IOS image as a bin file. The directory stores the image on the system board flash device (flash:). A subdirectory contains the files that you need for web management.

You can use the show version privileged EXEC command in order to see the software version that runs on your switch. The second line of the display shows the version.

Note: Although the show version output always shows the software image that runs on the switch, the model name that appears at the end of this display is the factory configuration. This image is either the IP base image, formerly known as the standard multilayer image (SMI), or the IP services image, formerly known as the enhanced multilayer image (EMI). This name does not change if you upgrade the software image.

You can also use the dir filesystem: privileged EXEC command. This command shows the directory names of any other software images that you have stored in flash memory.

Before you decide the Cisco IOS Software release to which you want to upgrade the switches, you should:

  • Read the Release Notes of the particular Cisco IOS Software release. Refer to Cisco Catalyst 3750 Series Switches - Release Notes.

  • Make sure the Cisco IOS Software release does have any defects which can affect any of the existing functionality. Refer to the Bug Toolkit (registered customers only) and Cisco Catalyst 3750 Series Switches - Field Notices.

Finding the Priority Value of a Catalyst 3750 Switch

Priority value determines the Master switch in a stack. The priority value can be 1 to 15. The default priority value is 1. Cisco recommends that you assign the highest priority value to the switch that you prefer to be the stack master. In this example, the master switch has a priority value of 15. For more information, refer to Creation and Management of Catalyst 3750 Switch Stacks.

Decide Which Files to Use

The software download center for Catalyst 3750 contains two sets of IOS images for every feature set and versions. One set contains only the IOS image file which has the extension .bin. The other set contains the IOS image plus the web-based device manager which has the extension .tar.

This document explains the upgrade procedure with the .tar image as well as with the .bin image. The .tar file contains the Cisco IOS image file and the files that you need for the embedded device manager. You must use the combined tar file in order to upgrade the switch through the device manager.

Cisco IOS Software Release 12.2(25)SEA and earlier referred to the image that provides Layer 2+ features and basic Layer 3 routing as the SMI. These software releases referred to the image that provides full Layer 3 routing and advanced services as the EMI.

Cisco IOS Software Release 12.2(25)SEB and later refer to the SMI as the IP base image and the EMI as the IP services image.

Table 1 lists the different file-naming conventions for releases earlier than and later than Cisco IOS Software Release 12.2(25)SEB.

Table 1: Cisco IOS Image File-Naming Conventions
Cisco IOS Software Release 12.2(25)SEA and earlier Cisco IOS Software Release 12.2(25)SEB and later
c3750-i9-mz (SMI) c3750-ipbase-mz
c3750-i9k91-mz (SMI) c3750-ipbasek9-mz
c3750-i5-mz (EMI) c3750-ipservices-mz
c3750-i5k91-mz (EMI) c3750-ipservicesk9-mz

Table 2 lists the file names for this software release.

Table 2: Cisco IOS Software Image Files
File Name Description
c3750-ipbase-tar.122-25.SEB.tar Catalyst 3750 IP base image and device manager files This image has Layer 2+ and basic Layer 3 routing features.
c3750-ipservices-tar.122-25.SEB.tar Catalyst 3750 IP services image and device manager files This image has both Layer 2+ and full Layer 3 routing features.
c3750-ipbasek9-tar.122-25.SEB.tar Catalyst 3750 IP base cryptographic image and device manager files This image has the Kerberos, SSH1, Layer 2+, and basic Layer 3 routing features.
c3750-ipservicesk9-tar.122-25.SEB.tar Catalyst 3750 IP services cryptographic image and device manager files This image has the Kerberos, SSH, Layer 2+, and full Layer 3 features.
c3750-advipservicesk9-tar.122-25.SEB.tar Catalyst 3750 advanced IP services image, cryptographic file, and device manager files This image has all the IP services image features and the capability for unicast routing of IPv62 packets.

1 SSH = Secure Shell

2 IPv6 = IP version 6

The Sofware Advisor (registered customers only) tool helps to determine the feature set required for the funtionalities needed in the network.

Flash File System and Memory Requirements

Flash File System

The 3750 ships from the factory with the installation of a web-based device manager (.tar file) in the flash: directory. The extraction process that takes place with a .tar file creates a Cisco IOS image directory. The image directory has the same name as the Cisco IOS image (.bin file), but without the file extension. This directory stores the Cisco IOS image (.bin file) along with an HTML subdirectory that contains the device manager files.

Issue the dir flash: command in order to view the 3750 Flash file system. Here is a sample command output:

Refer to these sections in this document in order to upgrade the 3750 switch to a Cisco IOS Software release with a web-based device manager:

Refer to the 3750 Series Switch Stack IOS Upgrade - Manual (.bin Image) section in order to upgrade the switch with just a Cisco IOS Software release.

Cisco

DRAM Memory

All models of 3750 series switches have a DRAM configuration of 128 MB. There are no minimum DRAM requirements to consider before you upgrade software on the 3750.

Flash Memory

The internal Flash memory shipped with the 3750 switches are either 16 MB or 32 MB based on the model of the Catalyst 3750 switch. Refer to the Cisco Catalyst 3750 Data Sheet for more information.

There is a limit to the number of images that you can store in Flash. Always check the size, in bytes, of the image in the Downloads - Switches (registered customers only) before you upgrade software. Issue the dir flash: command in order to compare the size of this image with the free space in Flash. Here is a sample command output:

If necessary, issue the delete flash:file_name command in order to delete a single Cisco IOS image (.bin file). Or issue the delete /force /recursive flash:dir_name command in order to delete a directory and all the files in the directory.

Here is a sample command output to delete a Cisco IOS image (.bin file):

Here is a sample command output to delete a Cisco IOS image with a web-based device manager (directory):

An upgrade can require you to free up even more space. The requirement depends on how many images you have stored in Flash. You can delete more old images/directory to free up this space.

3750 Series Switch Stack IOS Upgrade - Automatic (.tar image)

In this section, you are presented with the information to configure the features described in this document.

The procedure in this section copies the combined tar file to the switch. You copy the file to the switch from a TFTP server and extract the files. You can download an image file and replace the current image, or you can keep the current image.

Note: For switch stacks, the archive download-sw and archive upload-sw privileged EXEC commands can only be used through the stack master. Software images downloaded to the stack master are automatically downloaded to the rest of the stack members. Thus, you must be logged on to the master switch to perform this upgrade.

Step-by-Step Instructions

In order to download software, complete these steps:

Step 1

Use the Decide Which Files to Use section of this document in order to identify the type of image and feature set that you want to download.

Step 2

Refer to Software Download - Cisco Catalyst 3750 Software (registered customers only) and find the image that you want to download.

In order to download older versions of the IP services image or IP base image files for a Catalyst 3750 switch, click Archived Catalyst 3750 Software. In order to obtain authorization and to download the cryptographic software files, click Catalyst 3750 Strong Cryptographic (3DES) Software.

Note: Cisco IOS Software releases earlier than Cisco IOS Software Release 12.1(19)EA1c include a bootloader upgrade. The bootloader can take up to 1 minute to upgrade the first time that you load the new software. Do not power cycle the switch during the bootloader upgrade. Multimedia audio controller windows 7.

Step 3

Copy the image to the appropriate TFTP directory on the workstation, and make sure that the TFTP server has the proper configuration.

For more information, refer to Appendix B of the software configuration guide for this release.

Step 4

Log in to the switch through the console port or a Telnet session, and enter enable mode.

Step 5

In order to view the current version, issue the show version command.

Step 6

Issue the dir flash: command on the 3750 in order to verify the amount of free memory that you have for the upgrade.

Here is a sample command output:

Step 7

In order to verify connectivity to the TFTP server, ping its IP address.

Step 8

Cisco 3650 software upgrade

DRAM Memory

All models of 3750 series switches have a DRAM configuration of 128 MB. There are no minimum DRAM requirements to consider before you upgrade software on the 3750.

Flash Memory

The internal Flash memory shipped with the 3750 switches are either 16 MB or 32 MB based on the model of the Catalyst 3750 switch. Refer to the Cisco Catalyst 3750 Data Sheet for more information.

There is a limit to the number of images that you can store in Flash. Always check the size, in bytes, of the image in the Downloads - Switches (registered customers only) before you upgrade software. Issue the dir flash: command in order to compare the size of this image with the free space in Flash. Here is a sample command output:

If necessary, issue the delete flash:file_name command in order to delete a single Cisco IOS image (.bin file). Or issue the delete /force /recursive flash:dir_name command in order to delete a directory and all the files in the directory.

Here is a sample command output to delete a Cisco IOS image (.bin file):

Here is a sample command output to delete a Cisco IOS image with a web-based device manager (directory):

An upgrade can require you to free up even more space. The requirement depends on how many images you have stored in Flash. You can delete more old images/directory to free up this space.

3750 Series Switch Stack IOS Upgrade - Automatic (.tar image)

In this section, you are presented with the information to configure the features described in this document.

The procedure in this section copies the combined tar file to the switch. You copy the file to the switch from a TFTP server and extract the files. You can download an image file and replace the current image, or you can keep the current image.

Note: For switch stacks, the archive download-sw and archive upload-sw privileged EXEC commands can only be used through the stack master. Software images downloaded to the stack master are automatically downloaded to the rest of the stack members. Thus, you must be logged on to the master switch to perform this upgrade.

Step-by-Step Instructions

In order to download software, complete these steps:

Step 1

Use the Decide Which Files to Use section of this document in order to identify the type of image and feature set that you want to download.

Step 2

Refer to Software Download - Cisco Catalyst 3750 Software (registered customers only) and find the image that you want to download.

In order to download older versions of the IP services image or IP base image files for a Catalyst 3750 switch, click Archived Catalyst 3750 Software. In order to obtain authorization and to download the cryptographic software files, click Catalyst 3750 Strong Cryptographic (3DES) Software.

Note: Cisco IOS Software releases earlier than Cisco IOS Software Release 12.1(19)EA1c include a bootloader upgrade. The bootloader can take up to 1 minute to upgrade the first time that you load the new software. Do not power cycle the switch during the bootloader upgrade. Multimedia audio controller windows 7.

Step 3

Copy the image to the appropriate TFTP directory on the workstation, and make sure that the TFTP server has the proper configuration.

For more information, refer to Appendix B of the software configuration guide for this release.

Step 4

Log in to the switch through the console port or a Telnet session, and enter enable mode.

Step 5

In order to view the current version, issue the show version command.

Step 6

Issue the dir flash: command on the 3750 in order to verify the amount of free memory that you have for the upgrade.

Here is a sample command output:

Step 7

In order to verify connectivity to the TFTP server, ping its IP address.

Step 8

There are several options for the download of the image. You can use the command-line options that appear in this section to have a new image overwrite the old image or leave the old image in flash.

The example uses the archive download-sw command in order to retain the old image on the device. For a complete description of the commands available, refer to the archive download-sw section of Catalyst 3750 Switch Cisco IOS Commands.

Here are the options available for the archive download-sw command:

This example shows the command in use and the switch output during the upload process:

Step 9

The image copy is complete, and you are ready for the reboot. In order to verify that the current state of the switches is Ready, issue the show switch detail command.

Here is an example:

Step 10

In order to verify that the new image is in flash for the stack members, issue the dir flash: command and the dir flash 1: command. In this example, there are two switch stack members. If the stack configuration includes additional switches in the stack, issue the dir flash#: command for each additional switch in the stack.

Issue the show version command in order to verify that the old image is still the current operation system image. Issue the show boot command in order to verify that the new image is now the image in the BOOT path-list that will load at the next switch reload.

Step 11

Issue the reload command at the prompt and confirm in order to proceed with the reload. The new code revision should come up and start to run as expected on all the switches in the stack.

Here is sample output from the switch reload:

3750 Series Switch Stack IOS Upgrade - Manual (.tar image)

The previous section of this document explained how to upgrade IOS using the archive download-sw command. You can also upgrade the IOS manually switch-by-switch without disconnecting the stack cables. The three major steps in this method are:

  1. Copy the .tar image from the TFTP server to the master switch.

  2. Extract the .tar image into all the Flash file systems of the switches.

  3. Configure the boot variable.

The archive download-sw command does all three steps during an automatic IOS upgrade. You can also perform these three steps in the manual IOS upgrade. The step-by-step section shows an example IOS upgrade to upgrade the IOS to Cisco IOS Software Release 12.2(25)SEE1. This example has a switch stack with three switches. Switch 1 is the master switch and switches 2 and 3 are the member switches.

Step-by-Step Instructions

Step 1 - Download the .tar Image

You need to make sure you have sufficient space available in the Flash of the master switch. The master switch should have twice the amount of space of the .tar image file size. This space is needed to store the .tar file as well as to store the content of the .tar file that you extract in step 2. For example, if the .tar image size is 10 Mb, you need to have a minimum of 20 Mb of free space.

Step 2 - Extract the .tar Image

Extract the .tar images to all the switches in the Flash file system. The archive tar /xtract command creates a directory and extracts the files under the newly created directory.

This is an example of the command syntax:

Complete these steps:

  1. Extract the .tar file into the Flash on switch1.

  2. Extract the .tar file into the Flash on switch2.

  3. Extract the .tar file into the Flash on switch3.

Step 3 - Configure the Boot Variable

After you extract the .tar files into the Flash, you need to configure the boot variable to point to the new IOS. You need to find the path where the .bin file is extracted.

The boot system switch all command is used to change the boot variable.

Note: This boot system switch all has been brought down to a second line due to spatial considerations.

Step 4 - Reload and Verify

Reload the switch and verify that the switch runs the new Cisco IOS software release after the reload:

3750 Series Switch Stack IOS Upgrade - Manual (.bin Image)

A 3750 switch stack can be managed either with the web device manager or with the CLI. If you manage the switch with the CLI, you do not need the .tar image. This section explains the IOS upgrade with the .bin image. It is assumed that you have already configured the 3750 switch stack with an IOS image. This section explains how to copy and upgrade the new IOS in the 3750 switch stack.

Note: The commands archive download-sw and archive upload-sw are applicable only for .tar image files and do not apply to .bin image files.

This example explains the step-by-step procedure to upgrade the IOS to Cisco IOS Software Release 12.2(25)SEE2 on a Catalyst 3750 switch stack. The Catalyst 3750 switch stack has two switches and the IOS image is located at the TFTP server 172.22.1.165. This output shows the stack member and the master in this stack:

Step-by-Step Instructions

Step 1 - Download the .bin Image

Refer to Software Download - Cisco Catalyst 3750 Software (registered customers only) and find the image that you want to download. The Software Download Center for the Catalyst 3750 contains two sets of IOS images for every feature set and versions. One set contains only the IOS image file which has the extension .bin. The other set contains the IOS image plus the web-based device manager which has the extension .tar.

Step 2 - Verify the Available Memory

You can verify the available memory in the Flash file system of both switches individually as this example output shows:

In a Catalyst 3750 switch stack, flash: represents the Flash file system of the master switch. In this example, the dir flash: command displays the contents of the master switch (Switch 2) which is flash2:.

Step 3 - Copy the Images to the Flash File System

Copy the .bin image from the TFTP server to the Flash file system of both switches.

Note: The Automatic Upgrade (auto-upgrade) feature only works with .tar images.

Step 4 - Configure the Boot Variable

Configure the boot variable to boot the switch with the newly copied IOS:

Step 5 - Verify Before the Reload

Verify the boot variable:

Cisco 3750 Ios Upgrade Procedure

Verify that the new IOS file is present in the Flash:

Step 6 - Reload and Verify

Reload the switch and verify that the switch runs the new Cisco IOS software version after the reload:

Verify

This section provides information you can use to confirm that your configuration works properly.

Certain show commands are supported by the Output Interpreter Tool (registered customers only) , which allows you to view an analysis of show command output.

  • show switch detail—Verifies that all the switches are ready.

  • show version—Verifies that all switches in the stack do not run to the new code version.

Troubleshoot

This section provides information you can use to troubleshoot your configuration.

Image Transfer from TFTP Server Fails or Corrupted IOS image

If you find that an image transfer from the TFTP server fails continuously, refer to Common Problems in Installing Images Using TFTP or an RCP Server. This document provides solutions to known issues with the TFTP server.

You Receive the Error_Bad_Mzip Error Message

You see this error when the Cisco IOS image is corrupt or a .tar file uploads through an Xmodem. In order to resolve the issue, complete these steps:

  1. Upload the .bin file to the switch through the Xmodem.

  2. Set the boot path to the correct file name.

  3. Reload the switch.

  4. Check that the image file size is the correct one.

    If the image file size is not correct, try to download the image file again.

Refer to these documents in order to check the recovery procedure:

  • Step-by-Step Recovery Procedure section of Recovering Catalyst 2950, 2955, and 3550 Series Switches from a Corrupted or Missing Image

  • Recovering from a Software Failure section of Release Notes for the Catalyst 3750, 3560, and 2970 Switches, Cisco IOS Release 12.2(25)SEB and Later

%Error opening flash:update/info (No such file or directory)

The switch reports this error message during the software upgrade:

    Complete these steps to identify and resolve the issue:

  1. Make sure you are able to ping the TFTP server IP address from the switch.

  2. Verify your TFTP server is working and if possible, try a different TFTP server.

  3. Remove if you have any old information directory from the Flash.

  4. If the error message still appears, format the Flash and reload the switch. After you format, the switch might boot into ROMMON mode. If the switch boots into ROMMON mode, then recover the switch using Xmodem.

    Or lock you in a cage. Otome games steam. Not your story.)The game is fully voice-acted and its production levels are through the roof with gorgeous art and hours of replayability. Nameless The one thing you must recallThis entry hails from Korean company Cheritz, whose dating sim style games have been appearing in English for several years now - and as of last year, have managed to get two of their more popular offerings onto Steam through Greenlight.The story in Nameless starts off as simply as the others - you play a woman who recently lost her grandfather, with whom she has grown up alone. It also incorporates a set of mini-games (who doesn't want to play rock-paper-scissors with their true love?) and a little more gameplay than is the usual wont in the visual novel experience. Because he loves you.(Remember, it's a story.

Switches in the Stack do not Boot the New Image (Version Mismatch)

After the IOS upgrade, any one or more of the switches do not boot with the new images. Or, when you add a switch to the existing stack and the newly added switch has a different Cisco IOS software release than the existing switch stack, the new switch is unusable. The 3750 switch stack has a feature called auto-upgrade which is enabled by default. This feature enables the switch stack to automatically upgrade the IOS on the newly added switch. Sometimes this auto-upgrade fails to upgrade the IOS of the newly added switch. You see this message sequence when you add the switch to the existing stack.

Note: The auto-upgrade feature must be enabled to upgrade the switch in version-mismatch (VM) mode. By default, auto-upgrade is enabled. You can check the status of auto-upgrade by using the show boot privileged EXEC command and by checking the auto upgrade line in the display. You can disable auto-upgrade by using the no boot auto-copy-sw global configuration command on the stack master. Refer to Understanding Auto-Upgrade and Auto-Advise for more information.

There are three different methods available to solve the version mismatch problem:

Method 1 - .tar Image

Upgrade the member switch that has an incompatible software image using the archive copy-sw privileged EXEC command. This command copies the software image from an existing stack member to the one with the incompatible software. The affected switch automatically reloads and joins the stack as a fully functioning member.

Cisco 3650 Software Upgrade

This output shows the syntax of the archive copy-sw command:

  • For the /destination-system destination-stack-member-number, specify the number of the stack member to which the source that runs the image file needs to be copied. If you do not specify the stack member number, the running image file is copied to all stack members by default.

  • Specify /force-reload to unconditionally force a system reload after the successful download of the software image. If you do not want to use /force-reload, reset the updated stack member manually using reload slot switch_member_number to put this configuration change into effect.

  • For the source-stack-member-number, specify the number of the stack member from which to copy the running image file. The stack member number range is 1 to 9.

  • If you receive an oversubscribe syslog message during reload, then issue the archive copy-sw /overwrite /destination-system command to overwrite the software image in the Flash memory with the downloaded one.

This is an example of the archive copy-sw command:

  1. This archive copy-sw command copies the current running IOS image from switch 1 to switch 3 on the 3750 switch stack.

  2. Reload the switch member 3.

Method 2 - .tar Image

You can use this method if you use the device manager to manage the switch stack. Extract the .tar image into the Flash file system of the newly added switch. It is assumed that you already have the .tar image on the switch. If it is not available, you can download from the Software Download - Cisco Catalyst 3750 Software (registered customers only) page and copy to the switch using TFTP.

Configure the boot variable on the new switch. This step is not mandatory. But if you disconnect this switch out of the stack in the future, the switch might not boot the correct IOS.

Note: The boot system switch 3 flash: command has been brought down to a second line due to spatial considerations.

Reload the switch member 3.

Method 3 - .bin Image

Copy the .bin file from the master switch to the newly added switch, configure the boot variable, and reload the switch.

%Tar checksum error in tftp

This error message occurs when you use the archive command in order to upgrade the software image:

Note: The archive command has been brought down to a second line due to spatial considerations.

The reason for this error message is that the archive command is for the .tar files and cannot be used with .bin files. In order to upgrade using the .bin file, use the copy command.

Upgrade Cisco IOS Software with Different Feature Sets

The Cisco Catalyst 3750 Series by default allows changes in feature sets while you upgrade to a later Cisco IOS release.

In order to overcome this issue, make use of the flag allow-feature-upgrade while you execute the archive-download-sw command.

This option is supported only from Cisco IOS release 12.2(35) SE or later.

Related Information





broken image