2924XL IOS Upgrade
Home ] Up ]
 

 

Using the CLI to Upgrade an 8-MB Catalyst 2900 XL Switch


Caution   The 4-MB Catalyst 2900 XL switches do not have sufficient memory to be upgraded to this release. The 4-MB models are WS-C2908-XL, WS-C2916M-XL, WS-C2924C-XL, and WS-C2924-XL. These switches must run Release 11.2(8.x)SA6 to be cluster members.

This procedure is for upgrading Catalyst 2900 XL switches with 8 MB of DRAM. You upgrade a switch by extracting the IOS image file and the HTML files from a combined .tar file. You copy the files to the switch from a TFTP server and extract the files by entering the tar privileged EXEC command with these results:

     

  • Changes the name of the current image file to the name of the new file that you are copying and replacing the old image file with the new one by using the tar privileged EXEC command.

     

     

  • Disables access to the HTML pages and deletes the existing HTML files before you upgrade the software to avoid a conflict with users accessing the web pages during the software upgrade.

     

     

  • Reenables access to the HTML pages after the upgrade is complete.

     


    Note   If you want to separately copy the IOS image or HTML files to the switch, refer to the Catalyst 2900 Series XL Release Notes for Release 11.2(8)SA4 on Cisco.com.

If you are unsure whether your switch has 4 MB or 8 MB of memory, you can verify memory capacity at Step 4.

Follow these steps to upgrade the switch software by using the tar privileged EXEC command to start a TFTP transfer:


Step 1   If your PC or workstation cannot act as a TFTP server, copy the file to a TFTP server to which you have access.

 

Step 2   Access the CLI by starting a Telnet session or by connecting to the switch console port through the RS-232 connector.

To start a Telnet session on your PC or workstation, enter this command:

server% telnet switch_ip_address

 

Enter the Telnet password if you are prompted to do so.

Step 3   Enter privileged EXEC mode:

switch> enable

switch#
 

Enter a password if you are prompted to do so.

Step 4   Confirm that you have an 8-MB switch:

switch# show version

Cisco Internetwork Operating System Software IOS (tm) 
C2900XL Software (C2900XL-HS-M), Version 11.2(8.2)SA6, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-1998 by cisco Systems, Inc.
Compiled Mon 23-Nov-98 20:59 by paulines
Image text-base: 0x00003000, data-base: 0x00202144
 
ROM: Bootstrap program is C2900XL boot loader
 
2900XL-EN-84.3 uptime is 1 day, 22 hours, 23 minutes
System restarted by power-on
Running default software
 
 
cisco WS-C2924-XL (PowerPC403GA) processor (revision 0x11) 
  
with 8192K/1024K bytes of memory.
Processor board ID 0x0E, with hardware revision 0x01
Last reset from power-on
 
Processor is running Enterprise Edition Software
24 Ethernet/IEEE 802.3 interface(s)
 
32K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address: 00:50:80:39:EC:40
Motherboard assembly number: 73-3382-04
Power supply part number: 34-0834-01
Motherboard serial number: FAA02499G7X
Model number: WS-C2924-XL-EN
System serial number: FAA0250U03P
Configuration register is 0xF
 

Step 5   Display the name of the running (default) image file (BOOT path-list). This example shows the name in italic:

switch# show boot

  
BOOT path-list:    flash:current_image

Config file:       flash:config.text

Enable Break:      1

Manual Boot:       no

HELPER path-list: 

NVRAM/Config file

buffer size: 32768
 

If there is no file defined in the BOOT path-list, enter the dir flash: privileged EXEC command to display the contents of Flash memory. For example, the file named c2900XL-c3h2-mz-120-5.3.WC.1.bin is the image file.

c2900XL-c3h2-mz-120-5.3.WC.1.bin
switch# dir flash:

Directory of flash:/
 
  
 2  ---x     1644046   Apr 04 1993 15:22:13  c2900XL-c3h2s-mz-120-5.3.WC.1.bin
  4  d--x        6848   Apr 04 1993 15:23:11  html
  6  -rwx          79   Apr 04 1993 15:20:34  env_vars
  5  ---x         106   Apr 04 1993 15:20:36  info
 68  -rwx        1399   May 16 2000 14:43:42  config.text
259  ---x         106   Apr 04 1993 15:23:12  info.ver
 
3612672 bytes total (940032 bytes free) 
 

Step 6   Using the exact, case-sensitive name of the combined .tar file that you downloaded, rename the running image file to that name, and replace the .tar extension with a .bin extension. The image file name is then the same as the downloaded file name but with a .bin extension. This step does not affect the operation of the switch.

switch# rename flash:current_image flash:new_image

Source filename [current_image]? 

Destination filename [new_image]? 
 

For example:

switch# rename flash:c2900XL-h2-mz-112.8.2-SA6.bin 
flash:c2900XL--c3h2s-mz-120-5.3.WC.1.bin

Source filename [c2900XL-h2-mz-112.8.2-SA6.bin]?

Destination filename [c2900XL-c3h2s-mz-120-5.3.WC.1.bin]?

Step 7   Enter global configuration mode:

switch# config terminal

Enter configuration commands, one per line. End with CNTL/Z.

Step 8   Disable access to the switch HTML pages:

switch(config)# no IP http server

 

Step 9   If you entered the boot global configuration command with the name of the image file, enter this command to change the image filename to the new name.

switch(config)# boot system flash:new_image

 

For example:

switch(config)# boot system flash:c2900XL-c3h2s-mz-120-5.3.WC.1.bin


Note   If the show boot privileged EXEC command that you entered in Step 5 displays no image name, you do not need to enter this command; the switch automatically finds the correct file to use when it resets.

Step 10   Return to privileged EXEC mode:

switch(config)# end

 

Step 11   Remove the HTML files:

switch# delete flash:html/*


Step 12   Press Enter to confirm the deletion of each file. Do not press any other keys during this process.

Step 13   If upgrading from Release 11.2(8)SA5 or earlier, remove the files in the Snmp directory:

switch# delete flash:html/Snmp/*

 

Make sure the S in Snmp is uppercase.

Press Enter to confirm the deletion of each file. Do not press any other keys during this process.


Caution   In the following step, the tar privileged EXEC command copies the combined .tar file that contains both the image and the HTML files. You do not need to copy an HTML.tar file in this procedure.

Step 14   Enter this command to copy the new image and HTML files to the switch Flash memory:

switch# tar /x tftp://server_ip_address//path/filename.tar flash:

Loading /path/filename.tar from server_ip_address (via VLAN1):!)

extracting info (111 bytes)
extracting c2900XL-c3h2s-mz-120-5.3.WC.1.bin (1557286 bytes)!!!!!!!!!!!!!!!!!!!!
html/ (directory)
extracting html/Detective.html.gz (1139 bytes)!
extracting html/ieGraph.html.gz (553 bytes)
extracting html/DrawGraph.html.gz (787 bytes)!
. . .

Depending on the TFTP server being used, you might need to enter only one slash (/) after the server_ip_address in the tar privileged command.

Step 15   Enter global configuration mode:

switch# configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

Step 16   Re-enable access to the switch HTTP pages:

switch(config)# IP http server
 

Step 17   Return to privileged EXEC mode:

switch(config)# end

 

Step 18   Reload the new software with this command:

switch# reload

System configuration has been modified. Save? [yes/no]:y

Proceed with reload? [confirm]

Step 19   Press Return to confirm the reload.

Your Telnet session ends when the switch resets.

Step 20   After the switch reboots, use Telnet to return to the switch, and enter the show version privileged EXEC command to verify the upgrade procedure. If you have a previously opened browser session to the upgraded switch, close the browser, and restart it to ensure that you are using the latest HTML files.

 

 

 

 

My name is Michael Oliver, and I can be contacted by email here.
The current time is Wednesday, 18-Oct-2017 02:10:33 UTC.
This page was last modified on Friday, 11-Mar-2011 21:01:55 UTC.
This page has received 333 hits since March 21 2009.