Upgrading Software Images on Catalyst Series Switches/routers



Similar documents
Basic Router and Switch Instructions (Cisco Devices)

Managing vlan.dat in Cisco Catalyst Switches Running Cisco IOS Software


How Do I Upgrade Firmware and Save Configurations on PowerConnect Switches?

Consolidated Packages and SubPackages Management

Backup and Recovery Procedures

Backing Up and Restoring Data

CCNA 2 Chapter 5. Managing Cisco IOS Software

Lab 8.4.3a Managing Cisco IOS Images with TFTP

- Advanced IOS Functions -

Managing Software and Configurations

PIX/ASA: Upgrade a Software Image using ASDM or CLI Configuration Example

File Transfers. Contents

How To Install Cisco Asr 9000 Series Router Software On A Mini Mini Mini (Cisco Ios) Router

Planning Maintenance for Complex Networks

Configuring System Message Logging

Router Recovery with ROM Monitor

Digitally Signed Cisco Software

File Transfers. Contents

The Trivial Cisco IP Phones Compromise

3.1 Connecting to a Router and Basic Configuration

Chapter 1: Planning Maintenance for Complex Networks. TSHOOT v6 Chapter , Cisco Systems, Inc. All rights reserved.

ROM Monitor. Entering the ROM Monitor APPENDIX

Lab Use Network Inspector to Observe STP Behavior

Chapter 6 Updating Software Images and Configuration Files

Firmware for All Cisco s SIP Phones (requires Cisco login):

Lab 8.4.3b Managing Cisco IOS images with ROMMON and TFTP

Managing ACE Software Licenses

Password Recovery Procedure for the Cisco Catalyst Fixed Configuration Layer 2 and Layer 3 Switches

How To Backup In Cisco Uk Central And Cisco Cusd (Cisco) Cusm (Custodian) (Cusd) (Uk) (Usd).Com) (Ucs) (Cyse

Catalyst 3750 Switch Boot Loader Commands

Basic Configuration of the Cisco Series Internet Router

Note: This case study utilizes Packet Tracer. Please see the Chapter 5 Packet Tracer file located in Supplemental Materials.

History of Revisions. Ordering Information

The Purpose and Use of the Configuration Register on All Cisco Routers

NSave Table of Contents

Maintaining the Content Server

Practice Fusion API Client Installation Guide for Windows

Read all the information in this chapter before upgrading your controllers.

Backing Up TestTrack Native Project Databases

Connecting to the Firewall Services Module and Managing the Configuration

Digi Connect Wan 3G Application Guide Update the firmware, backup and restore the configuration of a Digi Connect Wan 3G using a USB flash drive.

Upgrading Software Using the Online Installer

Connect the Host to attach to Fast Ethernet switch port Fa0/2. Configure the host as shown in the topology diagram above.

DPS Telecom Your Partners in Network Alarm Management

Lab 5.3.9b Managing Router Configuration Files Using TFTP

Recover a Router from Corrupted or Missing Software Image

IP Phone Configuration and Troubleshooting Guide

Acronis Backup & Recovery 11

Transferring Files Using HTTP or HTTPS

Managing and Configuring Cisco VoIP Devices

NovaBACKUP. User Manual. NovaStor / November 2011

Image Verification. Finding Feature Information. Restrictions for Image Verification

Acronis Backup & Recovery 10 Server for Windows. Installation Guide

Lab Diagramming External Traffic Flows

MapGuide Open Source Repository Management Back up, restore, and recover your resource repository.

Xmodem Console Download Procedure Using ROMmon

Cisco Unified CM Disaster Recovery System

SAS Marketing Automation 4.4. Unix Install Instructions for Hot Fix 44MA10

Minimum Information Needed To Open an IP Networking / IP Security Service Request

Sophos Anti-Virus for Linux user manual

Administering the Network Analysis Module. Cisco IOS Software. Logging In to the NAM with Cisco IOS Software CHAPTER

Upgrading to the Cisco ubr7246vxr Universal Broadband Router

Network Attached Storage System Recovery Procedure

Honeywell Internet Connection Module

Tracking Network Changes Using Change Audit

NetFlow Subinterface Support

Managing Storage Services Modules

Cisco Catalyst 2960-S FlexStack: Description, Usage, and Best Practices

How To Configure InterVLAN Routing on Layer 3 Switches

Procedure: You can find the problem sheet on Drive D: of the lab PCs. Part 1: Router & Switch

Configuring DHCP Snooping and IP Source Guard

Configuring Right-To-Use Licenses

Configuring DHCP Snooping

An Introduction to Using the Command Line Interface (CLI) to Work with Files and Directories

Lab Configure Syslog on AP

Transferring AIS to a different computer

Updates Click to check for a newer version of the CD Press next and confirm the disc burner selection before pressing finish.

enetworks TM Using the Syslog Feature C.1 Configuring the Syslog Feature

Lab Diagramming Intranet Traffic Flows

Specialized Programme on Internetworking Design and LAN WAN Administration

CUSTOMER RELEASE NOTES

Objectives Understand Cisco IOS system architecture components. Work with the Cisco IOS Command Line Interface (CLI) and common commands.

StorageCraft ShadowStream User Guide StorageCraft Copyright Declaration

Acronis Backup & Recovery 10 Server for Windows. Installation Guide

HOW TO CONFIGURE CISCO FIREWALL PART I

NATIONAL SECURITY AGENCY Ft. George G. Meade, MD

ProSafe Plus Switch Utility

Flow-Based per Port-Channel Load Balancing

Acronis Backup & Recovery 11.5 Quick Start Guide

IMF Tune v7.0 Backup, Restore, Replication

HIPAA Compliance Use Case

Workflow Templates Library

Dalhousie University CSCI 2132 Software Development Winter 2015 Lab 7, March 11

Prisma II Software Upgrade Program (SOUP) Installation Guide

Updating MNS-BB CUSTOMER SUPPORT INFORMATION PK012906

An Introduction to Using the Command Line Interface (CLI) to Work with Files and Directories

Backup & Restore Guide

Enabling NetFlow and NetFlow Data Export (NDE) on Cisco Catalyst Switches

Transcription:

Upgrading Software Images on Catalyst Series Switches/routers Advanced Systems Administration Course Fred Msumeno University computing Centre Ltd, University of Dar es salaam, E-mail: mfred@udsm.ac.tz Website: www.ucc.co.tz

Case1 Step-by-Step Procedure for the 3550 seriers switch with Use of Only the Cisco IOS Image (.bin File) In this example, you upgrade the software on a 3550 series switch from Cisco IOS Software Release 12.1(12c)EA1 to Cisco IOS Software Release 12.1(13)EA1 with use of only the Cisco IOS image (.bin file). The procedure is the same for routers/switches and different version of softwares.

1. Issue the show version command to view the current version of software that you run. Here is a sample command output: 3550# show version Cisco Internetwork Operating System SoftwareIOS (tm) C3550 Software (C3550-I5Q3L2-M), Version 12.1(12c)EA1, RELEASE SOFTWARE (fc1)!--- The current software version is Cisco IOS Software Release 12.1(12c)EA1 2. From the LAN Switches section of Downloads - Switches choose Catalyst 3550 software and find the image that you want to download. Note the size of the image in bytes. This example uses the file c3550- i5q3l2-mz.121-13.ea1.bin. The "i5q3l2" at the start of the file name tells you that this image is an EMI. The image size is 3993612 bytes, or approximately 4 MB

Note: The procedure is the same for the SMI. The SMI image has "i9q3l2" at the start of the file name. The SMI image is smaller and takes up less room in Flash. Download the image that you want. 3. Issue the dir flash: command on the 3550 to verify the amount of free memory that you have for the upgrade. Here is a sample command output: 3550# dir flash:directory of flash:/ 2 -rwx 556 Mar 01 1993 00:02:13 vlan.dat 3 -rwx 3384393 Mar 01 1993 00:32:58 c3550-i5q3l2-mz.121-9.ea1c.bin 4 drwx 192 Mar 01 1993 00:10:15 c3550-i5q3l2-mz.121-11.ea1a!--- Notice the "d" for directory in the permissions statement. Note: If you already have enough room in Flash for the upgrade, proceed directly to Step 6.

4. Issue the delete command to remove the old Cisco IOS Software Release 12.1(9)EA1c image (.bin file). This deletion frees up enough room for the upgrade. Here is a sample command output: 3550# delete flash:c3550-i5q3l2-mz.121-9.ea1c.bin Delete filename [c3550-i5q3l2-mz.121-9.ea1c.bin]? 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 an old image directory to free up this space. Note: Remember this storage location so that you can find the old Cisco IOS image (.bin file) as well as the files that you need for the CMS. If you do not use the web interface to manage the switch or you have a newer image directory, the storage location is not a problem.

Issue the delete /force /recursive command to delete an image directory and all the subdirectories and files in the image directory. Here is a sample command output: 3550# delete /force /recursive flash:c3550-i5q3l2-mz.121-11.ea1a Delete filename [c3550-i5q3l2-mz.121-11.ea1a]? 3550# dir flash: You do not need to free up more room in this case. However, you can see that you now have over 10 MB of free space. 5. Issue the copy tftp flash: command to perform the upgrade. 6. 3550# copy tftp flash: 7. Address or name of remote host []? 20.20.20.2 This is the TFTP server IP. Press Return or Enter. 8. Source filename []? c3550-i5q3l2-mz.121-13.ea1.bin Press Return or Enter. Destination filename [c3550-i5q3l2-mz.121-13.ea1.bin]?

Accessing tftp://20.20.20.2/c3550-i5q3l2-mz.121-13.ea1.bin... Loading c3550-i5q3l2-mz.121-13.ea1.bin from 20.20.20.2 (via Vlan1):!!!!!!!!!!... 9. 3550# verify flash:c3550-i5q3l2-mz.121-13.ea1.bin 10. Set a boot system statement so that the new image boots on the next reload. 3550(config)# boot system flash:c3550-i5q3l2-mz.121-13.ea1.bin 3550# show boot 11. 3550# write memory 12. 3550# reload 13. 3550# show version

Case 2 Step-by-Step Procedure for the 3550 series switch with Use of the CMS Image (.tar File)

In this example, you upgrade the software on a 3550 from Cisco IOS Software Release 12.1(12c)EA1 to Cisco IOS Software Release 12.1(13)EA1 with use of the CMS image (.tar file). 1. Issue the show version command to view the current version of software that you run. Here is a sample command output: 3550# show version Cisco Internetwork Operating System SoftwareIOS (tm) C3550 Software (C3550-I5Q3L2-M), Version 12.1(12c)EA1, RELEASE SOFTWARE (fc1 2. From the LAN Switches section of Downloads - Switches choose Catalyst 3550 software and find the image that you want to download. Note the size of the image in bytes. This example uses the file c3550-i5q3l2-tar.121-13.ea1.tar. The "i5q3l2" at the start of the file name tells you that this image is an EMI. The image size is 6011904 bytes, or approximately 6 MB.

3. Download the image that you want. 4. Issue the dir flash: command on the 3550 to verify the amount of free memory that you have for the upgrade. 3550# dir flash: 5. To free up memory on the 3550, choose one of these options: Overwrite or replace the software. Choose this option if you do not want to keep your current version. Proceed to Step 6. Manually delete an older image or directory. Choose this option if you want to keep your current version of software as a backup.

6. Issue the delete command to remove an old Cisco IOS image or directory and make room for the upgrade. Here is a sample command output: 3550# delete flash:c3550-i5q3l2-mz.121-9.ea1c.bin Delete filename [c3550-i5q3l2-mz.121-9.ea1c.bin]? Press Enter or Return. Delete flash:c3550-i5q3l2-mz.121-9.ea1c.bin? [confirm] Press Enter or Return 7. 3550# dir flash: The upgrade installs the Cisco IOS image (.bin file) and the CMS files in the image directory on a 3550. The image directory has the Cisco IOS image name, with the exclusion of the.bin extension 8. 3550# dir c3550-i5q3l2-mz.121-11.ea1 9. Issue the delete /force /recursive command to delete an image directory and all the files in the image directory

10. 3550# delete /force /recursive c3550-i5q3l2-mz.121-11.ea1 Delete filename [c3550-i5q3l2-mz.121-11.ea1]? Press Enter or Return. 3550# dir flash: 11. Issue the archive download-sw command to copy over the.tar file and extract all the files inside the.tar file. There are two options to consider with this command /leave-old-sw If you choose to leave the current version of software as a backup, the command syntax is archive download-sw /leave-old-sw tftp://tftp_server_ip/file_name. As Step 5 discusses, be sure that you have enough space in Flash to use this option. /overwrite

If you choose to overwrite or replace the current version of software with the newer version, the command syntax is archive downloadsw /overwrite tftp://tftp_server_ip/file_name. This document uses this overwrite option. The upgrade procedure is exactly the same despite the option you choose, but the results differ. 3550# dir flash: 12. Issue the archive download-sw command with the /overwrite option. The command replaces the current software version, Cisco IOS Software Release 12.1(12c)EA1, with the later version, Cisco IOS Software Release 12.1(13)EA1. Here is a sample command output: 3550# archive download-sw /overwrite tftp://20.20.20.2/c3550- i5q3l2-tar.121-13.ea1.tar Note: This command should be on one line

13. 3550# verify c3550-i5q3l2-mz.121-13.ea1/c3550-i5q3l2-mz.121-13.ea1.bin 3550# dir flash: 3550#dir flash:c3550-i5q3l2-mz.121-13.ea1 14. Confirm that the archive download-sw command with the /overwrite option automatically configured a boot system statement. With a boot system statement, the new image boots on the next reload of the switch. To confirm the configuration of a boot system statement, issue the show boot command. 3550# show boot 15. If for some reason the configuration of the boot statement has not occurred, you can configure the statement. Issue the boot system command

3550(config)# boot system flash:c3550-i5q3l2-mz.121-13.ea1/c3550-i5q3l2-mz.121-13.ea1.bin Note: This command should be on one line. You use the directory/file name to set the boot system statement. 3550# write memory 3550# reload 3550# show version

EXERCISE 1. Copy IOS from a 2900/2950 series switch to 2900/2950 switch 2.Upgrade the IOS on one of the switch/routers provided

EnD