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.
3750-stack#copy tftp: flash:
Address or name of remote host []? 10.10.10.10
Source filename []? c3750-advipservicesk9-tar.122-25.SEE1.tar
Destination filename [c3750-advipservicesk9-tar.122-25.SEE1.tar]?
Accessing tftp://10.10.10.10/c3750-advipservicesk9-tar.122-25.SEE1.tar...
Loading c3750-advipservicesk9-tar.122-25.SEE1.tar from 10.10.10.10 (via Vlan10
): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!--- Output is suppressed.
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:
3750-stack#archive tar /xtract <tar file name> <Dir to extract files>
Complete these steps:
- Extract the .tar file into the Flash on switch1.
- 3750-stack#archive tar /xtract c3750-advipservicesk9-tar.122-25.SEE1.tar
- flash1:
- extracting c3750-advipservicesk9-mz.122-25.SEE1/html/images/grn_vertlines_bott
- .gif (957 bytes)
- extracting c3750-advipservicesk9-mz.122-25.SEE1/html/images/red.gif (147 bytes
- extracting c3750-advipservicesk9-mz.122-25.SEE1/html/images/print.gif (625 byt
- )
- !--- Output is suppressed.
- Extract the .tar file into the Flash on switch2.
- 750-stack#archive tar /xtract c3750-advipservicesk9-tar.122-25.SEE1.tar
- flash2:
- extracting c3750-advipservicesk9-mz.122-25.SEE1/html/images/grn_vertlines_bott
- .gif (957 bytes)
- extracting c3750-advipservicesk9-mz.122-25.SEE1/html/images/red.gif (147 bytes
- extracting c3750-advipservicesk9-mz.122-25.SEE1/html/images/print.gif (625 byt
- )
- !--- Output is suppressed.
- Extract the .tar file into the Flash on switch3.
- 3750-stack#archive tar /xtract c3750-advipservicesk9-tar.122-25.SEE1.tar
- flash3:
- extracting c3750-advipservicesk9-mz.122-25.SEE1/html/images/grn_vertlines_bott
- .gif (957 bytes)
- extracting c3750-advipservicesk9-mz.122-25.SEE1/html/images/red.gif (147 bytes)
- extracting c3750-advipservicesk9-mz.122-25.SEE1/html/images/print.gif (625 bytes)
- !--- Output is suppressed.
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.
3750-stack#dir
Directory of flash:/
2 drwx192 Mar 11 1993 00:31:05 +00:00 c3750-advipservicesk9-mz.122-25.SEE1
!--- The archive tar /xtract command created this directory.
455 -rwx 114 Mar 11 1993 00:31:05 +00:00 info
457 -rwx 9433 Mar 1 1993 01:40:11 +00:00 config.text
458 -rwx 796 Mar 1 1993 00:02:39 +00:00 vlan.dat
459 -rwx 24 Mar 1 1993 01:40:11 +00:00 private-config.text
15998976 bytes total (5613056 bytes free)
3750-stack#dir flash:c3750-advipservicesk9-mz.122-25.SEE1
Directory of flash:/c3750-advipservicesk9-mz.122-25.SEE1/
3 -rwx 8169055 Mar 11 1993 00:29:52 +00:00 c3750-advipservicesk9-mz.1
22-25.SEE1.bin
4 drwx 4160 Mar 11 1993 00:30:29 +00:00 html
454 -rwx 709 Mar 11 1993 00:31:05 +00:00 info
15998976 bytes total (5613056 bytes free)
3750-stack#
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.
3750-stack(config)#boot system switch all flash:/c3750-
advipservicesk9-mz.122-25.SEE1/c3750-advipservicesk9-mz.122-25.SEE1.bin
3750-stack(config)#exit
3750-stack#write memory
Step 4 - Reload and Verify
Reload the switch and verify that the switch runs the new Cisco IOS software release after the reload:
!--- Reload the switch.
Switch#reload
Proceed with reload? [confirm]
!--- Verify the Cisco IOS software release of the switch after the reload.
3750-stack#show version
Cisco IOS Software, C3750 Software (C3750-ADVIPSERVICESK9-M), Version 12.2(25)S
E1, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2006 by Cisco Systems, Inc.
Compiled Mon 22-May-06 08:52 by yenanh
Image text-base: 0x00003000, data-base: 0x01255B58
!--- Output is suppressed.
Switch Ports Model SW Version SW Image
------ ----- ----- ---------- ----------
* 1 28 WS-C3750G-24PS 12.2(25)SEE1 C3750-ADVIPSERVICESK
2 52 WS-C3750G-48TS 12.2(25)SEE1 C3750-ADVIPSERVICESK
3 26 WS-C3750-24TS 12.2(25)SEE1 C3750-ADVIPSERVICESK
!--- Verify the switch master and member state:
3750-stack#show switch
Current
Switch# Role Mac Address Priority State
--------------------------------------------------------
*1 Master 0015.63f6.b700 5 Ready
2 Member 0015.c6c1.3000 2 Ready
3 Member 000f.f794.3d00 5 Ready
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.
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:
Switch#show switch
Current
Switch# Role Mac Address Priority State
--------------------------------------------------------
1 Member 0015.63f6.b700 5 Ready
*2 Master 0015.c6c1.3000 10 Ready
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:
Switch#dir flash1:
Directory of flash1:/
2 -rwx 24 Mar 3 1993 22:02:44 +00:00 private-config.text
3 -rwx 623744 Jan 1 1970 00:12:28 +00:00 stardust0923
4 -rwx 796 Mar 1 1993 00:02:55 +00:00 vlan.dat
5 -rwx 623744 Jan 1 1970 00:32:09 +00:00 diag
6 -rwx 8169055 Mar 1 1993 00:43:34 +00:00 c3750-advipservicesk9-mz.12-25.SEE1.bin
8 -rwx 10192 Mar 3 1993 22:02:44 +00:00 config.text
462 -rwx 114 Mar 1 1993 00:32:19 +00:00 info
367 drwx 192 Mar 1 1993 00:32:19 +00:00 c3750-advipservicesk9-mz.122-25.SEE1
32514048 bytes total (12754944 bytes free)
Switch#dir flash2:
Directory of flash:/
2 -rwx 4207104 Jan 1 1970 00:14:06 +00:00 c3750-i9-mz.122-20.SE4
3 -rwx 623744 Jan 1 1970 00:17:20 +00:00 stardust0923
4 -rwx 4207104 Jan 1 1970 00:19:44 +00:00 ios
5 -rwx 623744 Jan 1 1970 00:20:47 +00:00 diag
6 -rwx 8169055 Mar 21 1993 23:29:36 +00:00 c3750-advipservicesk9-mz.122-25.SEE1.bin
7 -rwx 796 Mar 1 1993 00:02:49 +00:00 vlan.dat
8 -rwx 24 Mar 3 1993 22:02:44 +00:00 private-config.text
10 -rwx 10192 Mar 3 1993 22:02:44 +00:00 config.text
11 drwx 128 Mar 21 1993 23:25:53 +00:00 c3750-ipservicesk9-mz.122-25.SEB1
32514048 bytes total (13071360 bytes free)
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.
Switch#copy tftp: flash1:
Address or name of remote host [172.22.1.165]?
Source filename [c3750-advipservicesk9-mz.122-25.SEE2]? c3750-advipservicesk9-
.122-25.SEE2.bin
Destination filename [c3750-advipservicesk9-mz.122-25.SEE2.bin]?
Accessing tftp://172.22.1.165/c3750-advipservicesk9-mz.122-25.SEE2.bin...
Loading c3750-advipservicesk9-mz.122-25.SEE2.bin from 172.22.1.165 (via Vlan1)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!--- Output is truncated.
[OK - 8172194 bytes]
8172194 bytes copied in 203.718 secs (40115 bytes/sec)
Switch#copy tftp: flash2:
Address or name of remote host [172.22.1.165]?
Source filename [c3750-advipservicesk9-mz.122-25.SEE2.bin]?
Destination filename [c3750-advipservicesk9-mz.122-25.SEE2.bin]?
Accessing tftp://172.22.1.165/c3750-advipservicesk9-mz.122-25.SEE2.bin...
Loading c3750-advipservicesk9-mz.122-25.SEE2.bin from 172.22.1.165 (via Vlan1):
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!--- Output is truncated.
[OK - 8172194 bytes]
8172194 bytes copied in 186.655 secs (43782 bytes/sec)
Step 4 - Configure the Boot Variable
Configure the boot variable to boot the switch with the newly copied IOS:
Switch(config)#boot system switch all flash:/
c3750-advipservicesk9-mz.122-25.SEE2.bin
Switch(config)#exit
Switch#write memory
Step 5 - Verify Before the Reload
Verify the boot variable:
Switch#show boot
BOOT path-list : flash:/c3750-advipservicesk9-mz.122-25.SEE2.bin
!--- Master switch.
Config file : flash:/config.text
Private Config file : flash:/private-config.text
Enable Break : no
Manual Boot : no
HELPER path-list :
Auto upgrade : yes
-------------------
Switch 1
!--- Member switch.
-------------------
BOOT path-list : flash:/c3750-advipservicesk9-mz.122-25.SEE2.bin
Config file : flash:/config.text
Private Config file : flash:/private-config.text
Enable Break : no
Manual Boot : no
HELPER path-list :
Auto upgrade : no
Verify that the new IOS file is present in the Flash:
Switch#dir flash1:
Directory of flash1:/
2 -rwx 24 Mar 3 1993 22:02:44 +00:00 private-config.text
3 -rwx 623744 Jan 1 1970 00:12:28 +00:00 stardust0923
4 -rwx 796 Mar 1 1993 00:02:48 +00:00 vlan.dat
5 -rwx 623744 Jan 1 1970 00:32:09 +00:00 diag
6 -rwx 8169055 Mar 1 1993 00:43:34 +00:00 c3750-advipservicesk9-mz.1
22-25.SEE1.bin
7 -rwx 8172194 Mar 3 1993 22:31:35 +00:00 c3750-advipservicesk9-mz.1
22-25.SEE2.bin
8 -rwx 10192 Mar 3 1993 22:02:44 +00:00 config.text
462 -rwx 114 Mar 1 1993 00:32:19 +00:00 info
367 drwx 192 Mar 1 1993 00:32:19 +00:00 c3750-advipservicesk9-mz.1
22-25.SEE1
32514048 bytes total (4582400 bytes free)
Switch#dir flash: or dir flash2:
Directory of flash2:/
2 -rwx 4207104 Jan 1 1970 00:14:06 +00:00 c3750-i9-mz.122-20.SE4
3 -rwx 623744 Jan 1 1970 00:17:20 +00:00 stardust0923
4 -rwx 4207104 Jan 1 1970 00:19:44 +00:00 ios
5 -rwx 623744 Jan 1 1970 00:20:47 +00:00 diag
6 -rwx 8169055 Mar 21 1993 23:29:36 +00:00 c3750-advipservicesk9-mz.1
22-25.SEE1.bin
7 -rwx 796 Mar 1 1993 00:02:54 +00:00 vlan.dat
8 -rwx 24 Mar 3 1993 22:02:44 +00:00 private-config.text
9 -rwx 8172194 Mar 3 1993 22:42:06 +00:00 c3750-advipservicesk9-mz.1
22-25.SEE2.bin
10 -rwx 10192 Mar 3 1993 22:02:44 +00:00 config.text
11 drwx 128 Mar 21 1993 23:25:53 +00:00 c3750-ipservicesk9-mz.122-
25.SEB1
32514048 bytes total (4898816 bytes free)
Step 6 - Reload and Verify
Reload the switch and verify that the switch runs the new Cisco IOS software version after the reload:
!--- Reload the switch.
Switch#reload
Proceed with reload? [confirm]
!--- Verify the Cisco IOS software version of the switch after the reload.
Switch#show version
Cisco IOS Software, C3750 Software (C3750-ADVIPSERVICESK9-M), Version 12.2(25)SE
E2, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2006 by Cisco Systems, Inc.
Compiled Fri 28-Jul-06 12:55 by yenanh
Image text-base: 0x00003000, data-base: 0x01256754
ROM: Bootstrap program is C3750 boot loader
BOOTLDR: C3750 Boot Loader (C3750-HBOOT-M), Version 12.2 [bkeene-flo_dsbu2 100]
Switch uptime is 33 minutes
System returned to ROM by power-on
System image file is "flash:/c3750-advipservicesk9-mz.122-25.SEE2.bin"
This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.
A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
If you require further assistance please contact us by sending email to
export@cisco.com.
cisco WS-C3750G-48TS (PowerPC405) processor (revision 01) with 118784K/12280K by
tes of memory.
Processor board ID FOC0941U2SK
Last reset from power-on
3 Virtual Ethernet interfaces
132 Gigabit Ethernet interfaces
The password-recovery mechanism is enabled.
512K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address : 00:15:C6:C1:30:00
!--- Master switch information.
Motherboard assembly number : 73-10218-04
Power supply part number : 341-0107-01
Motherboard serial number : FOC09400W9S
Power supply serial number : AZS093905HN
Model revision number : 01
Motherboard revision number : 02
Model number : WS-C3750G-48TS-S
System serial number : FOC0941U2SK
Top Assembly Part Number : 800-26857-01
Top Assembly Revision Number : 06
Version ID : V03
Hardware Board Revision Number : 0x03
!--- Verify that all the switches run the new Cisco IOS software version:
Switch Ports Model SW Version SW Image
------ ----- ----- ---------- ----------
1 28 WS-C3750G-24PS 12.2(25)SEE2 C3750-ADVIPSERVICESK
* 2 52 WS-C3750G-48TS 12.2(25)SEE2 C3750-ADVIPSERVICESK
Switch 01
!--- Member switch information.
---------
Switch Uptime : 33 minutes
Base ethernet MAC Address : 00:15:63:F6:B7:00
Motherboard assembly number : 73-10217-03
Power supply part number : 341-0108-02
Motherboard serial number : FOC09382V48
Power supply serial number : DCA09330W5E
Model revision number : 01
Motherboard revision number : 04
Model number : WS-C3750G-24PS-E
System serial number : FOC0939U17V
Top assembly part number : 800-27482-01
Top assembly revision number : 01
Version ID : V03
Configuration register is 0xF
!--- Verify the switch master and member state:
Switch#show switch
Current
Switch# Role Mac Address Priority State
--------------------------------------------------------
1 Member 0015.63f6.b700 5 Ready
*2 Master 0015.c6c1.3000 10 Ready
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.
3750#show switch detail
Current
Switch# Role Mac Address Priority State
--------------------------------------------------------
1 Slave 000c.30ae.4f00 9 Ready
*2 Master 000d.bd5c.1680 15 Ready
Stack Port Status Neighbors
Switch# Port 1 Port 2 Port 1 Port 2
--------------------------------------------------------
1 Ok Ok 2 2
2 Ok Ok 1 1
!--- The show version command now reflects the new code revision, as expected.
3750#show version
Cisco Internetwork Operating System Software
IOS (tm) C3750 Software (C3750-I5-M), Version 12.2(20)SE, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2004 by cisco Systems, Inc.
Compiled Wed 19-May-04 11:52 by yenanh
Image text-base: 0x00003000, data-base: 0x00B53B10
ROM: Bootstrap program is C3750 boot loader
BOOTLDR: C3750 Boot Loader (C3750-HBOOT-M) Version 12.1(14)EA1, RELEASE SOFTWARE (fc1)
3750 uptime is 2 minutes
System returned to ROM by power-on
System image file is "flash:c3750-i5-mz.122-20.SE/c3750-i5-mz.122-20.SE.bin"
cisco WS-C3750G-12S (PowerPC405) processor (revision A0) with 118784K/12280K bytes of
memory.
Processor board ID CAT0732R0JU
Last reset from power-on
Bridging software.
5 Virtual Ethernet/IEEE 802.3 interface(s)
40 Gigabit Ethernet/IEEE 802.3 interface(s)
The password-recovery mechanism is enabled.
512K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address : 00:0D:BD:5C:16:80
Motherboard assembly number : 73-8307-06
Power supply part number : 341-0048-01
Motherboard serial number : CAT073205SU
Power supply serial number : DTH073004US
Model revision number : A0
Motherboard revision number : A0
Model number : WS-C3750G-12S-E
System serial number : CAT0732R0JU
Top Assembly Part Number : 800-23419-01
Top Assembly Revision Number : A0
Hardware Board Revision Number : 0x06
Switch Ports Model SW Version SW Image
------ ----- ----- ---------- ----------
1 28 WS-C3750G-24TS 12.2(20)SE C3750-I5-M
* 2 12 WS-C3750G-12S 12.2(20)SE C3750-I5-M
Switch 01
---------
Switch Uptime : 2 minutes
Base ethernet MAC Address : 00:0C:30:AE:4F:00
Motherboard assembly number : 73-7058-07
Power supply part number : 341-0045-01
Motherboard serial number : CSJ0708020N
Power supply serial number : LIT07050027
Model revision number : 01
Motherboard revision number : 03
Model number : WS-C3750G-24TS-E
System serial number : CSJ0711U03G
Configuration register is 0xF
5998976 bytes total (6367232 bytes free)
Format:
Switch#delete c3750-ipbase-mz.122-35.SE5.bin
Delete filename [/c3750-ipbase-mz.122-35.SE5/c3750-ipbase-mz.122-35.SE5.bin]?
Delete flash:/c3750-ipbase-mz.122-35.SE5/c3750-ipbase-mz.122-35.SE5.bin? [confirm]
Switch#
Switch#copy tftp flash
Address or name of remote host []? 192.168.100.200
Source filename []? c3750-advipservicesk9-mz.122-40.SE.bin
Destination filename [c3750-advipservicesk9-mz.122-40.SE.bin]?
Accessing tftp://192.168.100.200/c3750-advipservicesk9-mz.122-40.SE.bin...
Loading