Professional Documents
Culture Documents
3750 Stack Upgrade Best Practice
3750 Stack Upgrade Best Practice
Advanced Services
Version 1.1
Jeff Barrus
Corporate Headquarters
Cisco
170 West Tasman Drive
San Jose, CA 95134-1706
USA
http://www.cisco.com
Tel: 408 526-4000
800 553-NETS (6387)
Fax: 408 526-4100
THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE. ALL
STATEMENTS, INFORMATION, AND RECOMMENDATIONS IN THIS MANUAL ARE BELIEVED TO BE ACCURATE BUT ARE PRESENTED WITHOUT
WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. USERS MUST TAKE FULL RESPONSIBILITY FOR THEIR APPLICATION OF ANY PRODUCTS.
THE SOFTWARE LICENSE AND LIMITED WARRANTY FOR THE ACCOMPANYING PRODUCT ARE SET FORTH IN THE INFORMATION PACKET THAT
SHIPPED WITH THE PRODUCT AND ARE INCORPORATED HEREIN BY THIS REFERENCE. IF YOU ARE UNABLE TO LOCATE THE SOFTWARE LICENSE
OR LIMITED WARRANTY, CONTACT YOUR CISCO REPRESENTATIVE FOR A COPY.
The following information is for FCC compliance of Class A devices: This equipment has been tested and found to comply with the limits for a Class A digital device,
pursuant to part 15 of the FCC rules. These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial
environment. This equipment generates, uses, and can radiate radio-frequency energy and, if not installed and used in accordance with the instruction manual, may cause
harmful interference to radio communications. Operation of this equipment in a residential area is likely to cause harmful interference, in which case users will be required to
correct the interference at their own expense.
The following information is for FCC compliance of Class B devices: The equipment described in this manual generates and may radiate radio-frequency energy. If it is not
installed in accordance with Cisco’s installation instructions, it may cause interference with radio and television reception. This equipment has been tested and found to
comply with the limits for a Class B digital device in accordance with the specifications in part 15 of the FCC rules. These specifications are designed to provide reasonable
protection against such interference in a residential installation. However, there is no guarantee that interference will not occur in a particular installation.
You can determine whether your equipment is causing interference by turning it off. If the interference stops, it was probably caused by the Cisco equipment or one of its
peripheral devices. If the equipment causes interference to radio or television reception, try to correct the interference by using one or more of the following measures:
Turn the television or radio antenna until the interference stops. Move the equipment to one side or the other of the television or radio. Move the equipment farther away
from the television or radio. Plug the equipment into an outlet that is on a different circuit from the television or radio. (That is, make certain the equipment and the
television or radio are on circuits controlled by different circuit breakers or fuses.)
Modifications to this product not authorized by Cisco could void the FCC approval and negate your authority to operate the product.
The following third-party software may be included with your product and will be subject to the software license agreement:
CiscoWorks software and documentation are based in part on HP OpenView under license from the Hewlett-Packard Company. HP OpenView is a trademark of the Hewlett-
Packard Company. Copyright © 1992, 1993 Hewlett-Packard Company.
The Cisco implementation of TCP header compression is an adaptation of a program developed by the University of California, Berkeley (UCB) as part of UCB’s public
domain version of the UNIX operating system. All rights reserved. Copyright © 1981, Regents of the University of California.
Network Time Protocol (NTP). Copyright © 1992, David L. Mills. The University of Delaware makes no representations about the suitability of this software for any
purpose.
Point-to-Point Protocol. Copyright © 1989, Carnegie-Mellon University. All rights reserved. The name of the University may not be used to endorse or promote products
derived from this software without specific prior written permission.
The Cisco implementation of TN3270 is an adaptation of the TN3270, curses, and termcap programs developed by the University of California, Berkeley (UCB) as part of
the UCB’s public domain version of the UNIX operating system. All rights reserved. Copyright © 1981-1988, Regents of the University of California.
Cisco incorporates Fastmac and TrueView software and the RingRunner chip in some Token Ring products. Fastmac software is licensed to Cisco by Madge Networks
Limited, and the RingRunner chip is licensed to Cisco by Madge NV. Fastmac, RingRunner, and TrueView are trademarks and in some jurisdictions registered trademarks of
Madge Networks Limited. Copyright © 1995, Madge Networks Limited. All rights reserved.
Xremote is a trademark of Network Computing Devices, Inc. Copyright © 1989, Network Computing Devices, Inc., Mountain View, California. NCD makes no
representations about the suitability of this software for any purpose.
The X Window System is a trademark of the X Consortium, Cambridge, Massachusetts. All rights reserved.
NOTWITHSTANDING ANY OTHER WARRANTY HEREIN, ALL DOCUMENT FILES AND SOFTWARE OF THESE SUPPLIERS ARE PROVIDED “AS IS” WITH
ALL FAULTS. CISCO AND THE ABOVE-NAMED SUPPLIERS DISCLAIM ALL WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING, WITHOUT
LIMITATION, THOSE OF MERCHANTABILITY, FITNESS FOR A PRACTICAL PURPOSE AND NONINFRINGEMENT OR ARISING FROM A COURSE OF
DEALING, USAGE, OR TRADE PRACTICE.
IN NO EVENT SHALL CISCO OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT, SPECIAL, CONSEQUENTIAL, OR INCIDENTAL DAMAGES,
INCLUDING, WITHOUT LIMITATION, LOST PROFITS OR LOSS OR DAMAGE TO DATA ARISING OUT OF THE USE OR INABILITY TO USE THIS
MANUAL, EVEN IF CISCO OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
AccessPath, AtmDirector, Browse with Me, CCIP, CCSI, CD-PAC, CiscoLink, the Cisco Powered Network logo, Cisco Networking Academy, the Cisco Networking
Academy logo, Cisco Unity, Fast Step, Follow Me Browsing, FormShare, FrameShare, IGX, Internet Quotient, IP/VC, iQ Breakthrough, iQ Expertise, iQ FastTrack, the iQ
logo, iQ Net Readiness Scorecard, MGX, the Networkers logo, ScriptBuilder, ScriptShare, SMARTnet, TransPath, Voice LAN, Wavelength Router, and WebViewer,
Aironet, ASIST, BPX, Catalyst, CCDA, CCDP, CCIE, CCNA, CCNP, Cisco, the Cisco Certified Internetwork Expert logo, Cisco IOS, the Cisco IOS logo, Cisco Press,
Cisco, Cisco Capital, the Cisco logo, Empowering the Internet Generation, Enterprise/Solver, EtherChannel, EtherSwitch, FastHub, FastSwitch, GigaStack, IOS, IP/TV,
LightStream, MICA, Network Registrar, Packet, PIX, Post-Routing, Pre-Routing, RateMUX, Registrar, SlideCast, StrataView Plus, Stratm, SwitchProbe, TeleRouter, and
VCO are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and certain other countries.
All other trademarks mentioned in this document or Web site are the property of their respective owners. The use of the word partner does not imply a partnership
relationship between Cisco and any other company. (0110R).
Please refer to http://www.cisco.com/logo/ for the latest information on Cisco logos, branding and trademarks.
Contents
Contents 3
Executive Summary 1
Recommendations 1
Examples in Detail 4
Appendix 9
Executive Summary
Catalyst 3750 and 3750-E switches can be connected through their StackWise ports to form a virtual switch,
allowing up to nine switches stacked. One of the switches controls the operation of the stack and is called
the stack master. The stack master and the other switches in the stack are stack members. The stack
members use the Cisco StackWise technology to behave and work together as a unified system. Layer 2 and
Layer 3 protocols present the entire switch stack as a single entity to the network.
The stack master is the single point of stack-wide management. A switch stack is identified in the network
by its bridge ID and, if the switch stack is operating as a Layer 3 device, its router MAC address. The
bridge ID and router MAC address are determined by the MAC address of the stack master. Every stack
member is uniquely identified by its own stack member number.
All stack members are eligible stack masters. If the stack master becomes unavailable, the remaining stack
members participate in electing a new stack master from among themselves. A set of factors determine
which switch is elected the stack master. One of the factors is the stack member priority value. The switch
with the highest priority value becomes the stack master.
Recommendations
The software download center for 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.
Cisco recommends using the .tar file due to some of the installation self-repair functions.
For switch stacks, the archive download-sw and archive upload-sw privileged EXEC commands can only
be used through the stack master. Software images downloaded to the stack master are automatically
downloaded to the rest of the stack members. Thus, you must be logged on to the master switch to perform
this upgrade.
Step-by-Step Instructions:
In order to properly install the IOS software image, complete the steps below. For detailed sample outputs,
refer to the Example in Detail section.
Log in to the switch through the console port or a SSH session, and enter enable mode.
Issue the dir flash: command on the 3750 in order to verify the amount of free memory that
you have for the upgrade. Backup any configuration files needed, if the flash must be
formatted for the installation.
Copy the IOS image from the SCP server to the flash of the Master Switch
Copy the image to the appropriate TFTP directory on the workstation, and make sure that the
TFTP server has the proper configuration.
Log in to the switch through the console port or a Telnet session, and enter enable mode.
Issue the dir flash: command on the 3750 in order to verify the amount of free memory that
you have for the upgrade. Backup any configuration files needed, if the flash must be
formatted for the installation.
There are several options for the download of the image. You can use the command-line options that appear
in this section to have a new image overwrite the old image or leave the old image in flash.
Step Two
o Use the archive download-sw /leave-old-sw command in order to retain the old image on the device.
It is recommended to use the /leave-old-sw in the event that the old image is still needed. For a
complete description of the commands available, refer to the archive download-sw section of Catalyst
3750 Switch Cisco IOS Commands.
Here are the options available for the archive download-sw command:
3750#archive download-sw ?
/destination-system specify destination system to receive software
/force-reload Unconditionally reload system after successful sw
upgrade
/imageonly Load only the IOS image(s)
/leave-old-sw Leave old sw installed after successful sw upgrade
/no-set-boot Don't set BOOT -- leave existing boot config alone
/no-version-check skip version check that prevents incompatible image
install
/only-system-type specify individual system type to be updated
/overwrite OK to overwrite an existing image
/reload Reload system (if no unsaved config changes) after
successful sw upgrade
/safe Always load before deleting old version
flash1: Image file
flash2: Image file
flash: Image file
o Allow all processes during the installation to complete. Some of the processes take several minutes to
initiate, even when it appears the device is idle.
o The image copy is complete, and you are ready for the reboot. In order to verify that the current state of
the switches is Ready, issue the show switch detail command.
o In order to verify that the new image is in flash for the stack members, issue the dir flash: command
and the dir flash 1: command. In this example, there are two switch stack members. If the stack
configuration includes additional switches in the stack, issue the dir flash#: command for each
additional switch in the stack.
o Issue the show version command in order to verify that the old image is still the current operation
system image. Issue the show boot command in order to verify that the new image is now the image in
the BOOT path-list that will load at the next switch reload.
Step Three
o Issue the reload command at the prompt and confirm in order to proceed with the reload. The new
code revision should come up and start to run as expected on all the switches in the stack.
There are two other methods of installing IOS software on the 3750 Stack, .tar manually and .bin
manually. Cisco recommends using the steps given, which follows the .tar automatic installation. For
the steps to install IOS software using the .tar manually and .bin manually techniques, please use the
link in the appendix section.
Sample commands in use and the switch output during the upload process:
The following example shows how to transfer a file to the router using SCP:
Router# copy scp://tiger@10.1.1.2/c3750-i5-tar.122-20.SE.tar flash:
Destination filename [c3750-i5-tar.122-20.SE.tar]?
Password:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!
!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
80102916 bytes copied in 327.924 secs (244273 bytes/sec)
3750#dir flash:
Directory of flash:/
!--- Notice the "d" in the permissions statement. The "d" indicates a directory.
3750#show version
Cisco Internetwork Operating System Software
IOS (tm) C3750 Software (C3750-I5-M), Version 12.1(19)EA1d, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2004 by cisco Systems, Inc.
Compiled Mon 05-Apr-04 22:06 by antonino
Image text-base: 0x00003000, data-base: 0x009206D8
3750#show boot
BOOT path-list : flash:c3750-i5-mz.122-20.SE/c3750-i5-mz.122-20.SE.bin
Config file : flash:/config.text
Private Config file : flash:/private-config.text
Enable Break : no
Manual Boot : no
HELPER path-list :
Auto upgrade : yes
3750#
3750#
3750#reload
Proceed with reload? [confirm]
Loading "flash:c3750-i5-mz.122-20.SE/c3750-i5-mz.122-20.SE.bin"
...@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Election Complete
Switch 2 booting as Master
Waiting for Port download...Complete
Best Practices for Catalyst 4000, 5000, and 6000 Series Switch Configuration and Management
http://www.cisco.com/en/US/partner/products/hw/switches/ps663/products_tech_note09186a00800947
13.shtml
http://www.cisco.com/en/US/products/hw/switches/ps5023/products_configuration_example09186a00
804799d7.shtml#maintask1
http://www.cisco.com/en/US/docs/switches/lan/catalyst3750/software/release/12.2_25_se/command/ref
erence/3750cr.html