Upgrading Software Images on Catalyst 3550 Series Switches Using the Command Line Interface.pdf

(68 KB) Pobierz
Cisco − Upgrading Software Images on Catalyst 3550 Series Switches Using the Command Line Interface
Table of Contents
Upgrading Software Images on Catalyst 3550 Series Switches Using the Command Line Interface
.........1
Document ID: 41541
................................................................................................................................1
Introduction..........................................................................................................................................................1
Prerequisites.........................................................................................................................................................1
Requirements..........................................................................................................................................1
Components Used...................................................................................................................................2
Conventions............................................................................................................................................2
Background Information......................................................................................................................................2
Prepare to Upgrade..............................................................................................................................................2
Understand File Extensions: .bin and .tar Files......................................................................................2
Understand 3550 Software Image Naming Conventions: SMI and EMI...............................................3
Understand the 3550 Flash File System and Memory Requirements.....................................................4
Configuration Register Changes and the Set of Boot Statements
...........................................................5
Download Software Image.....................................................................................................................6
Install TFTP Server.................................................................................................................................6
Backup Configuration and Software Image
............................................................................................7
Software Upgrade Procedure for 3550 Series Switches......................................................................................8
Step−by−Step Procedure for the 3550 with Use of Only the Cisco IOS Image (.bin File)....................8
Step−by−Step Procedure for the 3550 with Use of the CMS Image (.tar File)....................................11
Verify.................................................................................................................................................................17
Troubleshoot......................................................................................................................................................17
Image Transfer from TFTP Server Fails
...............................................................................................17
Software Upgrade Fails, Switch: Prompt Displays, or Switch Reboots Continuously........................17
Switch Does Not Boot Automatically, Needs a Manual Boot at the ROMMON (switch: Prompt)....18
.
You Receive the Error_Bad_Mzip Error Message...............................................................................18
NetPro Discussion Forums − Featured Conversations......................................................................................18
Related Information...........................................................................................................................................18
i
Upgrading Software Images on Catalyst 3550
Series Switches Using the Command Line
Interface
Document ID: 41541
Introduction
Prerequisites
Requirements
Components Used
Conventions
Background Information
Prepare to Upgrade
Understand File Extensions: .bin and .tar Files
Understand 3550 Software Image Naming Conventions: SMI and EMI
Understand the 3550 Flash File System and Memory Requirements
Configuration Register Changes and the Set of Boot Statements
Download Software Image
Install TFTP Server
Backup Configuration and Software Image
Software Upgrade Procedure for 3550 Series Switches
Step−by−Step Procedure for the 3550 with Use of Only the Cisco IOS Image (.bin File)
Step−by−Step Procedure for the 3550 with Use of the CMS Image (.tar File)
Verify
Troubleshoot
Image Transfer from TFTP Server Fails
Software Upgrade Fails, Switch: Prompt Displays, or Switch Reboots Continuously
Switch Does Not Boot Automatically, Needs a Manual Boot at the ROMMON (switch:
Prompt)
You Receive the Error_Bad_Mzip Error Message
NetPro Discussion Forums − Featured Conversations
Related Information
Introduction
This document explains the step−by−step procedure to upgrade the software image on Cisco Catalyst 3550
series switches with use of the command−line interface (CLI).
Prerequisites
Requirements
Before you attempt this configuration, ensure that you are familiar with these topics for Catalyst 3550:
Naming conventions
Feature sets
File systems and boot parameters
Setup of a TFTP server and backup of the configuration
Cisco − Upgrading Software Images on Catalyst 3550 Series Switches Using the Command Line Interface
If you are not familiar with the topics, see the Prepare to Upgrade section of this document before you attempt
the software upgrade.
If you already meet the requirements, skip any or all of these topics. Go directly to the Software Upgrade
Procedure for 3550 Series Switches section of this document.
Components Used
This document is not restricted to specific software and hardware versions.
Conventions
For more information on document conventions, refer to the Cisco Technical Tips Conventions.
Background Information
A software image upgrade can be necessary for these reasons:
You want to implement new features in your network that are available in the later software release.
You want to install a new line card that the current software version does not support.
A known bug has affected your switch. The later software release resolves the bug.
This document does not cover the upgrade procedure that uses Cisco Cluster Management Suite (CMS). For
details on this procedure, complete these steps:
1. Open the CMS application.
2. Choose
Administration > Software Upgrade.
3. From the menu bar, choose
Help.
Prepare to Upgrade
Understand File Extensions: .bin and .tar Files
There are two types of files or file extensions that you see when you download 3550 software from the LAN
Switching Software (
registered customers only
) section of Downloads (
registered customers only
) .
The
.bin
file is the Cisco IOS® Software image. If you only want to use the CLI to manage the
switch, the .bin file is the only file to download.
The
.tar
file is an archive file. The upgrade process extracts both the Cisco IOS image and the CMS
files from the .tar file. If you want to manage switches or clusters of switches through a web interface,
such as HTML, this file is the only file to download.
Note:
When you download a .tar image, the archive utility that is on your PC saves the file. This utility can be
WinZip or some other third−party software. There is no need to manually extract the files in archive. The
extraction occurs automatically during the upgrade process.
Note:
For more information on the CMS, refer to the Multimedia Presentation.
Cisco − Upgrading Software Images on Catalyst 3550 Series Switches Using the Command Line Interface
Understand 3550 Software Image Naming Conventions: SMI and EMI
The 3550 is either a Layer 2 (L2) or Layer 3 (L3) switch, which depends on the software version and feature
set that you install.
The naming conventions for 3550 images begin with either of these:
The differences between the two are:
The
SMI image
is essentially an L2−only image. However, Cisco IOS Software Release
12.1(8)EA1b includes enhancements to the L2 feature set. This release and later SMI releases use the
term "Layer2+". Cisco IOS Software Release 12.1(11)EA1 adds basic L3 functionality to the SMI
image. This L3 functionality includes static unicast routing, the Routing Information Protocol (RIP),
and other features. This release and later SMI releases use the phrase "basic Layer 3 routing features".
The
EMI image
is an L2 image in combination with a full L3 feature set. This feature set includes:
Interior Gateway Routing Protocol (IGRP) and Enhanced IGRP (EIGRP)
Open Shortest Path First (OSPF) Protocol
Border Gateway Protocol Version 4 (BGP4)
Hot Standby Router Protocol (HSRP)
Protocol Independent Multicast (PIM)
Other advanced services
Note:
For more information on SMI and EMI features, refer to the
Catalyst 3550 Multilayer Switch Software
Configuration Guide
under the Catalyst 3550 Multilayer Switches release notes for your version of 3550
software.
Note:
All Catalyst 3550 Gigabit Ethernet switches ship with an EMI installation. Catalyst 3550 Fast Ethernet
switches ship with either an SMI or EMI installation. You can order the Enhanced Multilayer Software Image
Upgrade kit (CD−3550−EMI=) to upgrade any Catalyst 3550 Fast Ethernet switch from the SMI to the EMI.
However, unless you purchased your 3550 with an EMI image preinstallation, you must purchase the upgrade
kit before you download the EMI image.
Issue the
show version
command to verify these items:
The version of software that you run
The location of the image installation
The feature set that you run
The 3550 model that you have
Here is a sample command output:
3550#
show version
Cisco Internetwork Operating System Software
IOS (tm) C3550 Software (C3550−I5Q3L2−M),
Version 12.1(12c)EA1,
RELEASE SOFTWARE
(fc1)
!−−− The "I5Q3L2" at the start of the image name tells
!−−− you that this image is an EMI.
Cisco − Upgrading Software Images on Catalyst 3550 Series Switches Using the Command Line Interface
!−−−
!−−−
!−−−
!−−−
If you see "I9Q3L2" instead, the name means that you
run an SMI.
The version of software that you currently run is
Cisco IOS Software Release 12.1(12c)EA1.
Copyright (c) 1986−2002 by cisco Systems, Inc.
Compiled Mon 25−Nov−02 00:07 by antonino
Image text−base: 0x00003000, data−base: 0x0075FE48
ROM: Bootstrap program is C3550 boot loader
3550 uptime is 2 weeks, 1 day, 3 hours, 0 minutes
System returned to ROM by power−on
System image file is "flash:c3550−i5q3l2−mz.121−12c.EA1/c3550−i5q3l2−mz.121−12c.
EA1.bin"
!−−− The image is in the flash/c3550−i5q312−mz.121−12c.EA1 directory.
!−−− Output suppressed.
Model revision number: 03
Motherboard revision number: 03
Model number: WS−C3550−24PWR−SMI
!−−−
!−−−
!−−−
!−−−
This is a WS−C3550−24PWR−SMI.
Notice the "SMI" at the end of the model number.
This factory configuration does not change,
even if you upgrade to an EMI.
System serial number: CSJ0644U00Y
Configuration register is 0x10F
3550#
Understand the 3550 Flash File System and Memory Requirements
3550 Flash File System
The 3550 ships from the factory with the installation of a CMS image (.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 CMS files.
Issue the
dir flash:
command to view the 3550 Flash file system. Here is a sample command output:
3550#
dir flash:
Directory of flash:/
2 −rwx
796
3 −rwx
0
4 −rwx
1637
5 −rwx
348
6 −rwx
5
7
drwx
192
!−−−
!−−−
!−−−
!−−−
Mar
Mar
Mar
Mar
Mar
Mar
01
01
07
01
07
01
1993
1993
1993
1993
1993
1993
00:00:36
00:04:17
14:34:06
00:04:17
14:34:06
00:18:55
vlan.dat
env_vars
config.text
system_env_vars
private−config.text
c3550−i5q3l2−mz.121−12c.EA1
Notice the "d" in the permissions statement. The "d" indicates that
c3550−i5q312−mz.121−12c.EA1 is a directory.
This directory is the location of both the Cisco IOS image (.bin file)
and the HTML subdirectory.
15998976 bytes total (10415104 bytes free)
If you use just the Cisco IOS image to upgrade, you issue the
copy tftp
command. The Step−by−Step
Cisco − Upgrading Software Images on Catalyst 3550 Series Switches Using the Command Line Interface
Zgłoś jeśli naruszono regulamin