Wednesday, October 30, 2013

Cisco 3750 Series Switch Stack IOS Upgrade



Lets see on how to copy and upgrade the new IOS with the .bin image in the 3750 switch stack.

Note: The commands archive download-sw and archive upload-sw are applicable only for .tar image files and do not apply to .bin image files.

The 3750 switch stack has two switches and the IOS image is located at the TFTP server 10.10.10.10. 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#show 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.22-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.22-25.SEE1

    32514048 bytes total (12754944 bytes free)


  Switch#show 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)


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 [10.10.10.10]?
    Source filename []? c3750-advipservicesk9-mz.122-25.SEE2.bin
    Destination filename [c3750-advipservicesk9-mz.122-25.SEE2.bin]?
    Accessing tftp://10.10.10.10/c3750-advipservicesk9-mz.122-25.SEE2.bin...
    Loading c3750-advipservicesk9-mz.122-25.SEE2.bin from 10.10.10.10 (via Vlan1):

    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    !--- Output is truncated.

    [OK - 8172194 bytes]
    8172194 bytes copied in 186.655 secs (43782 bytes/sec)


    Switch#copy tftp: flash2:
    Address or name of remote host [10.10.10.10]?
    Source filename []? c3750-advipservicesk9-mz.122-25.SEE2.bin
    Destination filename [c3750-advipservicesk9-mz.122-25.SEE2.bin]?
    Accessing tftp://10.10.10.10/c3750-advipservicesk9-mz.122-25.SEE2.bin...
    Loading c3750-advipservicesk9-mz.122-25.SEE2.bin from 10.10.10.10 (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#show 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.122-25.SEE1.bin
   7  -rwx     8172194   Mar 3 1993 22:31:35 +00:00  c3750-advipservicesk9-mz.122-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.122-25.SEE1

    32514048 bytes total (4582400 bytes free)


  Switch#show 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.122-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.122-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
    test 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


    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

    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







Leave your comment below


No comments:

Post a Comment