Editing
Switch Control
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
= Upgrading Software for the 2950/2955 with the IOS image (.bin file) = For this example, the software on a 2950 is upgraded from version 12.1(12c)EA1 to version 121-13.EA1 with only the IOS image (.bin file). The procedure is the same no matter which version of software you use, including the 2955. Issue the show version command to view the current version of software that you run. Here is a sample command output: <pre>2950#sh ver Cisco Internetwork Operating System Software IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(12c)EA1, RELEASE SOFTWARE (fc1) !--- The current software version is 12.1(12c)EA1.</pre> Go to the LAN Switching Software section of the Downloads ( registered customers only) page. Select Catalyst 2950 or 2955 software and locate the image you want to download. Note the size of the image in bytes. This example uses the c2950-i6q4l2-mz.121-13.EA1.bin file. The image size is 2888547 bytes or approximately 3 MB. Download the image you want. Issue the dir flash: command on the 2950/2955 to verify how much free memory you have for the upgrade. Here is a sample command output: <pre>2950#dir flash: Directory of flash:/ 2 -rwx 2774747 Mar 02 1993 00:11:42 c2950-i6q4l2-mz.121-12c.EA1.bin 3 -rwx 5 Mar 01 1993 00:16:08 private-config.text 4 -rwx 916 Mar 01 1993 03:31:05 vlan.dat 22 -rwx 2665985 Mar 02 1993 00:20:15 c2950-i6q4l2-mz.121-11.EA1a.bin</pre> !--- Notice that two images are installed already. 6 -rwx 1459 Mar 01 1993 00:16:08 config.text 7 drwx 832 Mar 02 1993 00:14:18 html !--- output suppressed --- 7741440 bytes total (578048 bytes free) !--- There is less than 1 MB of memory free out of the total of !--- 8 MB, which is not enough. Delete the old image !--- in order to upgrade. 2950# </pre> Note: If you already have enough room in Flash for the upgrade, you can proceed directly to Step 5. Issue the delete command to remove the old image in order to make room for the upgrade. Here is a sample command output: <pre>2950#delete flash:c2950-i6q4l2-mz.121-11.EA1a.bin Delete filename [c2950-i6q4l2-mz.121-11.EA1a.bin]? !--- Press RETURN or ENTER. Delete flash:c2950-i6q4l2-mz.121-11.EA1a.bin? [confirm] !--- Press RETURN or ENTER. 2950# 2950#dir flash: Directory of flash:/ 2 -rwx 2774747 Mar 02 1993 00:11:42 c2950-i6q4l2-mz.121-12c.EA1.bin !--- You can leave one old image as a backup if you prefer. 3 -rwx 5 Mar 01 1993 00:16:08 private-config.text 4 -rwx 916 Mar 01 1993 03:31:05 vlan.dat 6 -rwx 1459 Mar 01 1993 00:16:08 config.text 7 drwx 832 Mar 02 1993 00:14:18 html !--- output suppressed --- 7741440 bytes total (3244544 bytes free) !--- There is now over 3 MB of free Flash memory, !--- which is enough for the upgrade. 2950#</pre> Perform the upgrade through the copy tftp flash: command. Here is a sample command output: <pre>2950#copy tftp flash: Address or name of remote host []? 20.20.20.2 !--- Type your TFTP server IP address. !--- Press RETURN or ENTER. Source filename []? c2950-i6q4l2-mz.121-13.EA1.bin !--- Press RETURN or ENTER. Destination filename [c2950-i6q4l2-mz.121-13.EA1.bin]? !--- Press RETURN or ENTER. Accessing tftp://20.20.20.2/c2950-i6q4l2-mz.121-13.EA1.bin... Loading c2950-i6q4l2-mz.121-13.EA1.bin from 20.20.20.2 (via Vlan1): !!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! [OK - 2888547 bytes] 2888547 bytes copied in 96.188 secs (30030 bytes/sec) 2950#dir flash: Directory of flash:/ 2 -rwx 2774747 Mar 02 1993 00:11:42 c2950-i6q4l2-mz.121-12c.EA1.bin 3 -rwx 5 Mar 01 1993 00:16:08 private-config.text 4 -rwx 916 Mar 01 1993 03:31:05 vlan.dat 22 -rwx 2888547 Mar 01 1993 00:42:03 c2950-i6q4l2-mz.121-13.EA1.bin !--- The new image is installed in the flash: directory. 6 -rwx 1459 Mar 01 1993 00:16:08 config.text 7 drwx 832 Mar 02 1993 00:14:18 html !--- output suppressed --- 7741440 bytes total (355840 bytes free) 2950#verify flash:c2950-i6q4l2-mz.121-13.EA1.bin Verified flash:c2950-i6q4l2-mz.121-13.EA1.bin !--- Issue the verify command to verify !--- whether the image checksum is correct.</pre> Set a boot system statement so the new image boots on the next reload. Here is a sample command output: <pre>2950#conf t 2950(config)#boot system flash:c2950-i6q4l2-mz.121-13.EA1.bin 2950(config)#end 2950# 2950#sh boot BOOT path-list: flash:c2950-i6q4l2-mz.121-13.EA1.bin !--- output suppressed --- !--- The boot system statement does not show up in the configuration. !--- Issue the show boot command to verify whether the new image !--- boots on the next reload of the switch.</pre> Issue the wr mem command to save your changes and reload the switch. Here is a sample command output: <pre>2950#wr mem Building configuration... [OK] 2950#reload Proceed with reload? [confirm] !--- Press RETURN or ENTER. 00:05:05: %SYS-5-RELOAD: Reload requested !--- output suppressed --- Press RETURN to get started! !--- Press RETURN or ENTER. !--- output suppressed ---</pre> Verify whether you run the new image through the show version command. Here is a sample command output: <pre>2950#sh ver Cisco Internetwork Operating System Software IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(13)EA1, RELEASE SOFTWARE (fc1)</pre> This completes the upgrade procedure for a 2950/2955 using only the IOS image (.bin file).
Summary:
Please note that all contributions to JCWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
JCWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information