Você está na página 1de 21

9/18/2015 Catalyst3750SoftwareUpgradeinaStackConfigurationwithUseoftheCommandLineInterfaceCisco

Oursiteusescookiessomeareessentialtomakethesiteworkothershelpusimprovetheuserexperience.Byusingthesite,youconsenttotheuseof
thesecookies.Tolearnmoreaboutcookiesandhowyoucandisablethem,pleasereadourprivacystatement.

Catalyst3750SoftwareUpgradeinaStackConfigurationwithUseoftheCommandLine
Interface
DocumentID: 64898 Updated: Oct28,2009

Contents

Introduction
Prerequisites
Requirements
ComponentsUsed
Conventions
FindtheSoftwareVersionandFeatureSet
DecideWhichFilestoUse
FlashFileSystemandMemoryRequirements
3750SeriesSwitchStackIOSUpgradeAutomatic(.tarimage)
StepbyStepInstructions
3750SeriesSwitchStackIOSUpgradeManual(.tarimage)
StepbyStepInstructions
3750SeriesSwitchStackIOSUpgradeManual(.binImage)
StepbyStepInstructions
Verify
Troubleshoot
ImageTransferfromTFTPServerFailsorCorruptedIOSimage
YouReceivetheError_Bad_MzipErrorMessage
%Erroropeningflash:update/info(Nosuchfileordirectory)
SwitchesintheStackdonotBoottheNewImage(VersionMismatch)
%Tarchecksumerrorintftp
UpgradeCiscoIOSSoftwarewithDifferentFeatureSets
RelatedInformation

Introduction
Thisdocumentexplainsthestepbystepproceduretousethecommandlineinterface(CLI)inordertoupgradethesoftwareimageon
CiscoCatalyst3750seriesswitchesthathaveamultiswitchstackconfiguration.

Prerequisites

Requirements
Beforeyoudownloadsoftware,refertothesesectionsofReleaseNotesfortheCatalyst3750,3560,and2970Switches,CiscoIOS
Release12.2(25)SEBandLaterforimportantinformation:

FindingtheSoftwareVersionandFeatureSet
DecidingWhichFilestoUse
UpgradingaSwitchbyUsingtheDeviceManagerorNetworkAssistant
UpgradingaSwitchbyUsingtheCLI
RecoveringfromaSoftwareFailure

ComponentsUsed

http://www.cisco.com/c/en/us/support/docs/switches/catalyst3750seriesswitches/64898upgrade3750stack.html 1/21
9/18/2015 Catalyst3750SoftwareUpgradeinaStackConfigurationwithUseoftheCommandLineInterfaceCisco
Theinformationinthisdocumentisbasedonthesehardwareversions:

WSC3750G12Sswitches
WSC3750G24TSswitches

Note:YoucansubstituteanystackableCatalyst3750seriesswitch.
Theinformationinthisdocumentwascreatedfromthedevicesinaspecificlabenvironment.Allofthedevicesusedinthisdocument
startedwithacleared(default)configuration.Ifyournetworkislive,makesurethatyouunderstandthepotentialimpactofanycommand.

Conventions
RefertotheCiscoTechnicalTipsConventionsformoreinformationondocumentconventions.

FindtheSoftwareVersionandFeatureSet
AdirectorythathastheCiscoIOSSoftwarereleasenamestorestheCiscoIOSimageasabinfile.Thedirectorystorestheimageon
thesystemboardflashdevice(flash:).Asubdirectorycontainsthefilesthatyouneedforwebmanagement.
YoucanusetheshowversionprivilegedEXECcommandinordertoseethesoftwareversionthatrunsonyourswitch.Thesecondline
ofthedisplayshowstheversion.
Note:Althoughtheshowversionoutputalwaysshowsthesoftwareimagethatrunsontheswitch,themodelnamethatappearsatthe
endofthisdisplayisthefactoryconfiguration.ThisimageiseithertheIPbaseimage,formerlyknownasthestandardmultilayerimage
(SMI),ortheIPservicesimage,formerlyknownastheenhancedmultilayerimage(EMI).Thisnamedoesnotchangeifyouupgradethe
softwareimage.
Youcanalsousethedirfilesystem:privilegedEXECcommand.Thiscommandshowsthedirectorynamesofanyothersoftwareimages
thatyouhavestoredinflashmemory.
BeforeyoudecidetheCiscoIOSSoftwarereleasetowhichyouwanttoupgradetheswitches,youshould:
ReadtheReleaseNotesoftheparticularCiscoIOSSoftwarerelease.RefertoCiscoCatalyst3750SeriesSwitchesReleaseNotes.
MakesuretheCiscoIOSSoftwarereleasedoeshaveanydefectswhichcanaffectanyoftheexistingfunctionality.RefertotheBug
Toolkit(registeredcustomersonly)andCiscoCatalyst3750SeriesSwitchesFieldNotices.

FindingthePriorityValueofaCatalyst3750Switch
PriorityvaluedeterminestheMasterswitchinastack.Thepriorityvaluecanbe1to15.Thedefaultpriorityvalueis1.Cisco
recommendsthatyouassignthehighestpriorityvaluetotheswitchthatyouprefertobethestackmaster.Inthisexample,themaster
switchhasapriorityvalueof15.Formoreinformation,refertoCreationandManagementofCatalyst3750SwitchStacks.
3750#showswitchdetail
Current
Switch#RoleMacAddressPriorityState

1Slave000c.30ae.4f009Ready
*2Master000d.bd5c.168015Ready

DecideWhichFilestoUse
ThesoftwaredownloadcenterforCatalyst3750containstwosetsofIOSimagesforeveryfeaturesetandversions.Onesetcontains
onlytheIOSimagefilewhichhastheextension.bin.TheothersetcontainstheIOSimageplusthewebbaseddevicemanagerwhich
hastheextension.tar.
Thisdocumentexplainstheupgradeprocedurewiththe.tarimageaswellaswiththe.binimage.The.tarfilecontainstheCiscoIOS
imagefileandthefilesthatyouneedfortheembeddeddevicemanager.Youmustusethecombinedtarfileinordertoupgradetheswitch
throughthedevicemanager.
CiscoIOSSoftwareRelease12.2(25)SEAandearlierreferredtotheimagethatprovidesLayer2+featuresandbasicLayer3routingas
theSMI.ThesesoftwarereleasesreferredtotheimagethatprovidesfullLayer3routingandadvancedservicesastheEMI.
CiscoIOSSoftwareRelease12.2(25)SEBandlaterrefertotheSMIastheIPbaseimageandtheEMIastheIPservicesimage.
Table1liststhedifferentfilenamingconventionsforreleasesearlierthanandlaterthanCiscoIOSSoftwareRelease12.2(25)SEB.

Table1:CiscoIOSImageFileNamingConventions
CiscoIOSSoftwareRelease12.2(25)SEAandearlier CiscoIOSSoftwareRelease12.2(25)SEBandlater
c3750i9mz(SMI) c3750ipbasemz
c3750i9k91mz(SMI) c3750ipbasek9mz
c3750i5mz(EMI) c3750ipservicesmz
c3750i5k91mz(EMI) c3750ipservicesk9mz
Table2liststhefilenamesforthissoftwarerelease.

Table2:CiscoIOSSoftwareImageFiles
FileName Description
c3750ipbase Catalyst3750IPbaseimageanddevicemanagerfilesThisimagehasLayer2+andbasicLayer
tar.12225.SEB.tar 3routingfeatures.
c3750ipservices Catalyst3750IPservicesimageanddevicemanagerfilesThisimagehasbothLayer2+andfull
tar.12225.SEB.tar Layer3routingfeatures.
http://www.cisco.com/c/en/us/support/docs/switches/catalyst3750seriesswitches/64898upgrade3750stack.html 2/21
9/18/2015 Catalyst3750SoftwareUpgradeinaStackConfigurationwithUseoftheCommandLineInterfaceCisco

c3750ipbasek9 Catalyst3750IPbasecryptographicimageanddevicemanagerfilesThisimagehasthe
tar.12225.SEB.tar Kerberos,SSH1 ,Layer2+,andbasicLayer3routingfeatures.
c3750ipservicesk9 Catalyst3750IPservicescryptographicimageanddevicemanagerfilesThisimagehasthe
tar.12225.SEB.tar Kerberos,SSH,Layer2+,andfullLayer3features.
c3750 Catalyst3750advancedIPservicesimage,cryptographicfile,anddevicemanagerfilesThis
advipservicesk9 imagehasalltheIPservicesimagefeaturesandthecapabilityforunicastroutingofIPv62
tar.12225.SEB.tar packets.
1
SSH=SecureShell
2
IPv6=IPversion6
TheSofwareAdvisor(registeredcustomersonly)toolhelpstodeterminethefeaturesetrequiredforthefuntionalitiesneededinthe
network.

FlashFileSystemandMemoryRequirements
FlashFileSystem
The3750shipsfromthefactorywiththeinstallationofawebbaseddevicemanager(.tarfile)intheflash:directory.Theextraction
processthattakesplacewitha.tarfilecreatesaCiscoIOSimagedirectory.TheimagedirectoryhasthesamenameastheCiscoIOS
image(.binfile),butwithoutthefileextension.ThisdirectorystorestheCiscoIOSimage(.binfile)alongwithanHTMLsubdirectorythat
containsthedevicemanagerfiles.
Issuethedirflash:commandinordertoviewthe3750Flashfilesystem.Hereisasamplecommandoutput:
3750#dirflash:
Directoryofflash:/

2rwx5684228Mar12199308:13:57+00:00c3750ipbasemz.12225.SEC2.bin
3rwx2105Mar1199300:02:16+00:00config.text
4drwx192Mar12199308:11:00+00:00c3750ipbasemz.12225.SEB4
5rwx5Mar1199300:02:16+00:00privateconfig.text
6rwx856Mar1199300:04:40+00:00vlan.dat
364rwx105Mar12199308:11:00+00:00info

15998976bytestotal(3201536bytesfree)

!Noticethe"d"inthepermissionsstatement.

!Itindicatesthatc3750ipbasemz.12225.SEB4isadirectory.

!ThisdirectoryisthelocationofboththeCiscoIOSimage(.binfile)

!andtheHTMLsubdirectory.

Refertothesesectionsinthisdocumentinordertoupgradethe3750switchtoaCiscoIOSSoftwarereleasewithawebbaseddevice
manager:

3750SeriesSwitchStackIOSUpgradeAutomatic(.tarimage)
3750SeriesSwitchStackIOSUpgradeManual(.tarimage)

Refertothe3750SeriesSwitchStackIOSUpgradeManual(.binImage)sectioninordertoupgradetheswitchwithjustaCiscoIOS
Softwarerelease.
DRAMMemory
Allmodelsof3750seriesswitcheshaveaDRAMconfigurationof128MB.TherearenominimumDRAMrequirementstoconsiderbefore
youupgradesoftwareonthe3750.
FlashMemory
TheinternalFlashmemoryshippedwiththe3750switchesareeither16MBor32MBbasedonthemodeloftheCatalyst3750switch.
RefertotheCiscoCatalyst3750DataSheetformoreinformation.
ThereisalimittothenumberofimagesthatyoucanstoreinFlash.Alwayscheckthesize,inbytes,oftheimageintheDownloads
Switches(registeredcustomersonly)beforeyouupgradesoftware.Issuethedirflash:commandinordertocomparethesizeofthis
imagewiththefreespaceinFlash.Hereisasamplecommandoutput:
3750#dirflash:
Directoryofflash:/

2rwx6221372Mar1199300:23:06+00:00c3750ipbasemz.12225.SED1.bin
3rwx2105Mar1199300:02:16+00:00config.text
4rwx5684228Mar1199301:17:34+00:00c3750ipbasemz.12225.SEC2.bin
5rwx5Mar1199300:02:16+00:00privateconfig.text
6rwx856Mar1199300:04:40+00:00vlan.dat

15998976bytestotal(4087296bytesfree)
3750#

http://www.cisco.com/c/en/us/support/docs/switches/catalyst3750seriesswitches/64898upgrade3750stack.html 3/21
9/18/2015 Catalyst3750SoftwareUpgradeinaStackConfigurationwithUseoftheCommandLineInterfaceCisco
Ifnecessary,issuethedeleteflash:file_namecommandinordertodeleteasingleCiscoIOSimage(.binfile).Orissuethedelete/force
/recursiveflash:dir_namecommandinordertodeleteadirectoryandallthefilesinthedirectory.
HereisasamplecommandoutputtodeleteaCiscoIOSimage(.binfile):
3750#deleteflash:c3750ipbasemz.12225.SED1.bin

Deletefilename[c3750ipbasemz.12225.SED1.bin]?

!PressReturnorEnter.

Deleteflash:c3750ipbasemz.12225.SED1.bin?[confirm]

!PressReturnorEnter.

3750#dirflash:
Directoryofflash:/

3rwx2105Mar1199300:02:16+00:00config.text
4rwx5684228Mar1199301:17:34+00:00c3750ipbasemz.12225.SEC2.bin
5rwx5Mar1199300:02:16+00:00privateconfig.text
6rwx856Mar1199300:04:40+00:00vlan.dat

15998976bytestotal(10309120bytesfree)

HereisasamplecommandoutputtodeleteaCiscoIOSimagewithawebbaseddevicemanager(directory):
3750#dirflash:
Directoryofflash:/

2rwx5684228Mar12199308:13:57+00:00c3750ipbasemz.12225.SEC2.bin
3rwx2105Mar1199300:02:16+00:00config.text
4drwx192Mar12199308:11:00+00:00c3750ipbasemz.12225.SEB4
5rwx5Mar1199300:02:16+00:00privateconfig.text
6rwx856Mar1199300:04:40+00:00vlan.dat
364rwx105Mar12199308:11:00+00:00info

15998976bytestotal(3201536bytesfree)
3750#delete/force/recursiveflash:c3750ipbasemz.12225.SEB4

Deletefilename[c3750ipbasemz.12225.SEB4]?

!PressReturnorEnter.

3750#dirflash:
Directoryofflash:/

2rwx5684228Mar12199308:13:57+00:00c3750ipbasemz.12225.SEC
2.bin
3rwx2105Mar1199300:02:16+00:00config.text
5rwx5Mar1199300:02:16+00:00privateconfig.text
6rwx856Mar1199300:04:40+00:00vlan.dat
364rwx105Mar12199308:11:00+00:00info

15998976bytestotal(10308608bytesfree)

Anupgradecanrequireyoutofreeupevenmorespace.TherequirementdependsonhowmanyimagesyouhavestoredinFlash.You
candeletemoreoldimages/directorytofreeupthisspace.

3750SeriesSwitchStackIOSUpgradeAutomatic(.tarimage)
Inthissection,youarepresentedwiththeinformationtoconfigurethefeaturesdescribedinthisdocument.
Theprocedureinthissectioncopiesthecombinedtarfiletotheswitch.YoucopythefiletotheswitchfromaTFTPserverandextract
thefiles.Youcandownloadanimagefileandreplacethecurrentimage,oryoucankeepthecurrentimage.
Note:Forswitchstacks,thearchivedownloadswandarchiveuploadswprivilegedEXECcommandscanonlybeusedthroughthe
stackmaster.Softwareimagesdownloadedtothestackmasterareautomaticallydownloadedtotherestofthestackmembers.Thus,
youmustbeloggedontothemasterswitchtoperformthisupgrade.

StepbyStepInstructions
Inordertodownloadsoftware,completethesesteps:

Step1
UsetheDecideWhichFilestoUsesectionofthisdocumentinordertoidentifythetypeofimageandfeaturesetthatyouwantto
download.

Step2
RefertoSoftwareDownloadCiscoCatalyst3750Software (registeredcustomersonly)andfindtheimagethatyouwanttodownload.
InordertodownloadolderversionsoftheIPservicesimageorIPbaseimagefilesforaCatalyst3750switch,clickArchived
Catalyst3750Software.Inordertoobtainauthorizationandtodownloadthecryptographicsoftwarefiles,clickCatalyst3750Strong
Cryptographic(3DES)Software.

http://www.cisco.com/c/en/us/support/docs/switches/catalyst3750seriesswitches/64898upgrade3750stack.html 4/21
9/18/2015 Catalyst3750SoftwareUpgradeinaStackConfigurationwithUseoftheCommandLineInterfaceCisco
Note:CiscoIOSSoftwarereleasesearlierthanCiscoIOSSoftwareRelease12.1(19)EA1cincludeabootloaderupgrade.Thebootloader
cantakeupto1minutetoupgradethefirsttimethatyouloadthenewsoftware.Donotpowercycletheswitchduringthebootloader
upgrade.

Step3
CopytheimagetotheappropriateTFTPdirectoryontheworkstation,andmakesurethattheTFTPserverhastheproperconfiguration.
Formoreinformation,refertoAppendixBofthesoftwareconfigurationguideforthisrelease.

Step4
LogintotheswitchthroughtheconsoleportoraTelnetsession,andenterenablemode.

Step5
Inordertoviewthecurrentversion,issuetheshowversioncommand.
3750#showversion
CiscoInternetworkOperatingSystemSoftware
IOS(tm)C3750Software(C3750I5M),Version12.1(19)EA1d,RELEASESOFTWARE(fc1)
Copyright(c)19862004byciscoSystems,Inc.
CompiledMon05Apr0422:06byantonino
Imagetextbase:0x00003000,database:0x009206D8

ROM:BootstrapprogramisC3750bootloader
BOOTLDR:C3750BootLoader(C3750HBOOTM)Version12.1(14)EA1,RELEASESOFTWARE(fc1)

3750uptimeis4days,19hours,43minutes
SystemreturnedtoROMbypoweron
Systemimagefileis"flash:c3750i5mz.12119.EA1d.bin"

ciscoWSC3750G12S(PowerPC405)processor(revisionA0)with118776K/12288Kbytesof
memory.
ProcessorboardIDCAT0732R0JU
Lastresetfrompoweron
Bridgingsoftware.
5VirtualEthernet/IEEE802.3interface(s)
40GigabitEthernet/IEEE802.3interface(s)
Thepasswordrecoverymechanismisenabled.
512Kbytesofflashsimulatednonvolatileconfigurationmemory.
BaseethernetMACAddress:00:0D:BD:5C:16:80
Motherboardassemblynumber:73830706
Powersupplypartnumber:341004801
Motherboardserialnumber:CAT073205SU
Powersupplyserialnumber:DTH073004US
Modelrevisionnumber:A0
Motherboardrevisionnumber:A0
Modelnumber:WSC3750G12SE
Systemserialnumber:CAT0732R0JU
TopAssemblyPartNumber:8002341901
TopAssemblyRevisionNumber:A0
HardwareBoardRevisionNumber:0x06

SwitchPortsModelSWVersionSWImage

128WSC3750G24TS12.1(19)EA1dC3750I5M
*212WSC3750G12S12.1(19)EA1dC3750I5M

Switch01

Step6
Issuethedirflash:commandonthe3750inordertoverifytheamountoffreememorythatyouhavefortheupgrade.
Hereisasamplecommandoutput:
3750#dirflash:
Directoryofflash:/

2rwx1516Mar01199300:01:28vlan.dat
3rwx4050902Mar01199300:03:32c3750i5mz.12119.EA1d.bin
4rwx4273Mar05199319:22:44config.text
84rwx5Mar05199319:22:44privateconfig.text

15998976bytestotal(11940352bytesfree)

Step7
InordertoverifyconnectivitytotheTFTPserver,pingitsIPaddress.
3750#ping11.11.11.11

Typeescapesequencetoabort.
Sending5,100byteICMPEchosto11.11.11.11,timeoutis2seconds:
!!!!!
Successrateis100percent(5/5),roundtripmin/avg/max=1/1/1ms

http://www.cisco.com/c/en/us/support/docs/switches/catalyst3750seriesswitches/64898upgrade3750stack.html 5/21
9/18/2015 Catalyst3750SoftwareUpgradeinaStackConfigurationwithUseoftheCommandLineInterfaceCisco

Step8
Thereareseveraloptionsforthedownloadoftheimage.Youcanusethecommandlineoptionsthatappearinthissectiontohaveanew
imageoverwritetheoldimageorleavetheoldimageinflash.
Theexampleusesthearchivedownloadswcommandinordertoretaintheoldimageonthedevice.Foracompletedescriptionofthe
commandsavailable,refertothearchivedownloadswsectionofCatalyst3750SwitchCiscoIOSCommands.
Herearetheoptionsavailableforthearchivedownloadswcommand:
3750#archivedownloadsw?
/destinationsystemspecifydestinationsystemtoreceivesoftware
/forcereloadUnconditionallyreloadsystemaftersuccessfulsw
upgrade
/imageonlyLoadonlytheIOSimage(s)
/leaveoldswLeaveoldswinstalledaftersuccessfulswupgrade
/nosetbootDon'tsetBOOTleaveexistingbootconfigalone
/noversioncheckskipversioncheckthatpreventsincompatibleimage
install
/onlysystemtypespecifyindividualsystemtypetobeupdated
/overwriteOKtooverwriteanexistingimage
/reloadReloadsystem(ifnounsavedconfigchanges)after
successfulswupgrade
/safeAlwaysloadbeforedeletingoldversion
flash1:Imagefile
flash2:Imagefile
flash:Imagefile
ftp:Imagefile
rcp:Imagefile
tftp:Imagefile

Thisexampleshowsthecommandinuseandtheswitchoutputduringtheuploadprocess:
3750#archivedownloadsw/leaveoldswtftp://11.11.11.11/
c3750i5tar.12220.SE.tar
Loadingc3750i5tar.12220.SE.tar.from11.11.11.11(viaGigabitEthernet1/0/4):
!!!!!!!!!!!!!.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK8488960bytes]

Loadingc3750i5tar.12220.SE.tar.from11.11.11.11(viaGigabitEthernet1/0/4):
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
examiningimage...
extractinginfo(98bytes)
extractingc3750i5mz.12220.SE/info(435bytes)
extractinginfo(98bytes)

StackingVersionNumber:1.4

http://www.cisco.com/c/en/us/support/docs/switches/catalyst3750seriesswitches/64898upgrade3750stack.html 6/21
9/18/2015 Catalyst3750SoftwareUpgradeinaStackConfigurationwithUseoftheCommandLineInterfaceCisco

SystemType:0x00000000
IosImageFileSize:0x004BA200
TotalImageFileSize:0x00818A00
MinimumDramrequired:0x04000000
ImageSuffix:i512220.SE
ImageDirectory:c3750i5mz.12220.SE
ImageName:c3750i5mz.12220.SE.bin
ImageFeature:LAYER_3|MIN_DRAM_MEG=64

Oldimageforswitch1:unknown
Oldimageforswitch2:unknown

Extractingimagesfromarchiveintoflashonswitch1...
c3750i5mz.12220.SE/(directory)
c3750i5mz.12220.SE/html/(directory)
extractingc3750i5mz.12220.SE/html/cms_boot.jar(154860bytes)
extractingc3750i5mz.12220.SE/html/err.html(152bytes)
extractingc3750i5mz.12220.SE/html/cms_splash.gif(22131bytes)
extractingc3750i5mz.12220.SE/html/cms_13.html(510bytes)
extractingc3750i5mz.12220.SE/html/custom_cms.html(2441bytes)
extractingc3750i5mz.12220.SE/html/not_supported.html(1392bytes)
extractingc3750i5mz.12220.SE/html/cluster.html(2822bytes)
extractingc3750i5mz.12220.SE/html/start.html(576bytes)
extractingc3750i5mz.12220.SE/html/test.htm(2301bytes)
extractingc3750i5mz.12220.SE/html/xhome.htm(25035bytes)
extractingc3750i5mz.12220.SE/html/stylesheet.css(3364bytes)
extractingc3750i5mz.12220.SE/html/backexp.htm(182bytes)
extractingc3750i5mz.12220.SE/html/sitewide.js(10627bytes)
extractingc3750i5mz.12220.SE/html/tools.htm(21818bytes)
extractingc3750i5mz.12220.SE/html/appsui.js(3092bytes)
extractingc3750i5mz.12220.SE/html/forms.js(11521bytes)
extractingc3750i5mz.12220.SE/html/doc.htm(22332bytes)
extractingc3750i5mz.12220.SE/html/expresssetup.htm(61957bytes)
extractingc3750i5mz.12220.SE/html/troubleshooting_Browser.htm(3704bytes)
extractingc3750i5mz.12220.SE/html/troubleshooting_OS.htm(2851bytes)
extractingc3750i5mz.12220.SE/html/net_report.htm(21107bytes)

!Outputsuppressed.

Installing(renaming):`flash1:update/c3750i5mz.12220.SE'>
`flash1:c3750i5mz.12220.SE'
Newsoftwareimageinstalledinflash1:c3750i5mz.12220.SE

Installing(renaming):`flash:update/c3750i5mz.12220.SE'>
`flash:c3750i5mz.12220.SE'
Newsoftwareimageinstalledinflash:c3750i5mz.12220.SE

Allsoftwareimagesinstalled.

!Installationoftheimageandsupportingfilesisnowcomplete!intheflashofallswitchesinthestack.Inthisex

Step9
Theimagecopyiscomplete,andyouarereadyforthereboot.InordertoverifythatthecurrentstateoftheswitchesisReady,issuethe
showswitchdetailcommand.
Hereisanexample:
3750#showswitchdetail
Current
Switch#RoleMacAddressPriorityState

1Slave000c.30ae.4f009Ready
*2Master000d.bd5c.168015Ready

StackPortStatusNeighbors
Switch#Port1Port2Port1Port2

1OkOk22
2OkOk11

Step10
Inordertoverifythatthenewimageisinflashforthestackmembers,issuethedirflash:commandandthedirflash1:command.In
thisexample,therearetwoswitchstackmembers.Ifthestackconfigurationincludesadditionalswitchesinthestack,issuethedir
flash#:commandforeachadditionalswitchinthestack.
Issuetheshowversioncommandinordertoverifythattheoldimageisstillthecurrentoperationsystemimage.Issuetheshowboot
commandinordertoverifythatthenewimageisnowtheimageintheBOOTpathlistthatwillloadatthenextswitchreload.
3750#dirflash:

http://www.cisco.com/c/en/us/support/docs/switches/catalyst3750seriesswitches/64898upgrade3750stack.html 7/21
9/18/2015 Catalyst3750SoftwareUpgradeinaStackConfigurationwithUseoftheCommandLineInterfaceCisco
Directoryofflash:/

2rwx1516Mar01199300:01:28vlan.dat
3rwx4050902Mar01199300:03:32c3750i5mz.12119.EA1d.bin
4rwx4273Mar05199319:22:44config.text
6drwx192Mar05199319:40:16c3750i5mz.12220.SE
84rwx5Mar05199319:22:44privateconfig.text

!Noticethe"d"inthepermissionsstatement.The"d"indicatesadirectory.

15998976bytestotal(3491328bytesfree)
3750#dirflash1:
Directoryofflash1:/

2rwx4050902Mar01199300:35:58c3750i5mz.12119.EA1d.bin
3rwx1516Mar01199300:01:33vlan.dat
4rwx4273Mar05199319:22:44config.text
5rwx5Mar05199319:22:44privateconfig.text
7drwx192Mar05199319:37:40c3750i5mz.12220.SE

15998976bytestotal(3491328bytesfree)

3750#showversion
CiscoInternetworkOperatingSystemSoftware
IOS(tm)C3750Software(C3750I5M),Version12.1(19)EA1d,RELEASESOFTWARE(fc1)
Copyright(c)19862004byciscoSystems,Inc.
CompiledMon05Apr0422:06byantonino
Imagetextbase:0x00003000,database:0x009206D8

ROM:BootstrapprogramisC3750bootloader
BOOTLDR:C3750BootLoader(C3750HBOOTM)Version12.1(14)EA1,RELEASESOFTWARE(fc1)

3750uptimeis4days,19hours,43minutes
SystemreturnedtoROMbypoweron
Systemimagefileis"flash:c3750i5mz.12119.EA1d.bin"

ciscoWSC3750G12S(PowerPC405)processor(revisionA0)with
118776K/12288Kbytesofmemory.
ProcessorboardIDCAT0732R0JU
Lastresetfrompoweron
Bridgingsoftware.
5VirtualEthernet/IEEE802.3interface(s)
40GigabitEthernet/IEEE802.3interface(s)
Thepasswordrecoverymechanismisenabled.
512Kbytesofflashsimulatednonvolatileconfigurationmemory.
BaseethernetMACAddress:00:0D:BD:5C:16:80
Motherboardassemblynumber:73830706
Powersupplypartnumber:341004801
Motherboardserialnumber:CAT073205SU
Powersupplyserialnumber:DTH073004US
Modelrevisionnumber:A0
Motherboardrevisionnumber:A0
Modelnumber:WSC3750G12SE
Systemserialnumber:CAT0732R0JU
TopAssemblyPartNumber:8002341901
TopAssemblyRevisionNumber:A0
HardwareBoardRevisionNumber:0x06

SwitchPortsModelSWVersionSWImage

128WSC3750G24TS12.1(19)EA1dC3750I5M
*212WSC3750G12S12.1(19)EA1dC3750I5M

Switch01

!Whenyouissuetheshowbootcommand,itnowreadsthenewcoderevision!thatwillloadatthenextreboot.

3750#showboot
BOOTpathlist:flash:c3750i5mz.12220.SE/c3750i5mz.12220.SE.bin
Configfile:flash:/config.text
PrivateConfigfile:flash:/privateconfig.text
EnableBreak:no
ManualBoot:no
HELPERpathlist:
Autoupgrade:yes
3750#
3750#

Step11

http://www.cisco.com/c/en/us/support/docs/switches/catalyst3750seriesswitches/64898upgrade3750stack.html 8/21
9/18/2015 Catalyst3750SoftwareUpgradeinaStackConfigurationwithUseoftheCommandLineInterfaceCisco
Issuethereloadcommandatthepromptandconfirminordertoproceedwiththereload.Thenewcoderevisionshouldcomeupandstart
torunasexpectedonalltheswitchesinthestack.
Hereissampleoutputfromtheswitchreload:
3750#reload
Proceedwithreload?[confirm]

4d19h:%SYS5RELOAD:Reloadrequested

BaseethernetMACAddress:00:0d:bd:5c:16:80

Xmodemfilesystemisavailable.

Thepasswordrecoverymechanismisenabled.

InitializingFlash...

flashfs[0]:86files,4directories

flashfs[0]:0orphanedfiles,0orphaneddirectories

flashfs[0]:Totalbytes:15998976

flashfs[0]:Bytesused:12507648

flashfs[0]:Bytesavailable:3491328

flashfs[0]:flashfsfscktook9seconds.

...doneInitializingFlash.

BootSectorFilesystem(bs)installed,fsid:3

done.

Loading"flash:c3750i5mz.12220.SE/c3750i5mz.12220.SE.bin"
...@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

File"flash:c3750i5mz.12220.SE/c3750i5mz.12220.SE.bin"uncompressedandinstalled,
entrypoint:0x3000

executing...

RestrictedRightsLegend

Use,duplication,ordisclosurebytheGovernmentis
subjecttorestrictionsassetforthinsubparagraph
(c)oftheCommercialComputerSoftwareRestricted
RightsclauseatFARsec.52.22719andsubparagraph
(c)(1)(ii)oftheRightsinTechnicalDataandComputer
SoftwareclauseatDFARSsec.252.2277013.

ciscoSystems,Inc.
170WestTasmanDrive
SanJose,California951341706

CiscoInternetworkOperatingSystemSoftware
IOS(tm)C3750Software(C3750I5M),Version12.2(20)SE,RELEASESOFTWARE(fc1)
Copyright(c)19862004byciscoSystems,Inc.
CompiledWed19May0411:52byyenanh
Imagetextbase:0x00003000,database:0x00B53B10

Initializingflashfs...

flashfs[1]:86files,4directories
flashfs[1]:0orphanedfiles,0orphaneddirectories
flashfs[1]:Totalbytes:15998976
flashfs[1]:Bytesused:12507648
flashfs[1]:Bytesavailable:3491328
flashfs[1]:flashfsfscktook9seconds.
flashfs[1]:Initializationcomplete....doneInitializingflashfs.

POST:CPUMICregisterTests:Begin
POST:CPUMICregisterTests:End,StatusPassed

POST:PortASICMemoryTests:Begin
POST:PortASICMemoryTests:End,StatusPassed

POST:CPUMICPortASICinterfaceLoopbackTests:Begin
POST:CPUMICPortASICinterfaceLoopbackTests:End,StatusPassed

POST:PortASICRingLoopbackTests:Begin
POST:PortASICRingLoopbackTests:End,StatusPassed

WaitingforStackMasterElection(around20seconds)...

http://www.cisco.com/c/en/us/support/docs/switches/catalyst3750seriesswitches/64898upgrade3750stack.html 9/21
9/18/2015 Catalyst3750SoftwareUpgradeinaStackConfigurationwithUseoftheCommandLineInterfaceCisco
POST:PortASICCAMSubsystemTests:Begin
POST:PortASICCAMSubsystemTests:End,StatusPassed

POST:PortASICStackPortLoopbackTests:Begin
POST:PortASICStackPortLoopbackTests:End,StatusPassed

POST:PortASICPortLoopbackTests:Begin
POST:PortASICPortLoopbackTests:End,StatusPassed

ElectionComplete
Switch2bootingasMaster
WaitingforPortdownload...Complete

ciscoWSC3750G12S(PowerPC405)processor(revisionA0)with118784K/12280Kbytesof
memory.
ProcessorboardIDCAT0732R0JU
Lastresetfrompoweron
Bridgingsoftware.
1VirtualEthernet/IEEE802.3interface(s)
40GigabitEthernet/IEEE802.3interface(s)
Thepasswordrecoverymechanismisenabled.

512Kbytesofflashsimulatednonvolatileconfigurationmemory.
BaseethernetMACAddress:00:0D:BD:5C:16:80
Motherboardassemblynumber:73830706
Powersupplypartnumber:341004801
Motherboardserialnumber:CAT073205SU
Powersupplyserialnumber:DTH073004US
Modelrevisionnumber:A0
Motherboardrevisionnumber:A0
Modelnumber:WSC3750G12SE
Systemserialnumber:CAT0732R0JU
TopAssemblyPartNumber:8002341901
TopAssemblyRevisionNumber:A0
HardwareBoardRevisionNumber:0x06

SwitchPortsModelSWVersionSWImage

*212WSC3750G12S12.2(20)SEC3750I5M


PressRETURNtogetstarted!

00:00:57:%STACKMGR6SWITCH_ADDED:Switch1hasbeenADDEDtothestack
00:00:57:%STACKMGR6SWITCH_ADDED:Switch2hasbeenADDEDtothestack
00:01:27:%LINEPROTO5UPDOWN:LineprotocolonInterfaceVlan1,changedstatetodown
00:01:27:%SPANTREE5EXTENDED_SYSID:ExtendedSysIdenabledfortypevlan
00:01:30:%SYS5CONFIG_I:Configuredfrommemorybyconsole
00:01:30:%STACKMGR6SWITCH_READY:Switch2isREADY
00:01:30:%STACKMGR6STACK_LINK_CHANGE:StackPort1Switch2haschangedtost
3750>
3750>ateUP
00:01:30:%STACKMGR6STACK_LINK_CHANGE:StackPort2Switch2haschangedtostateUP
00:01:30:%STACKMGR6MASTER_READY:MasterSwitch2isREADY
00:01:31:%SYS5RESTART:Systemrestarted
CiscoInternetworkOperatingSystemSoftware
IOS(tm)C3750Software(C3750I5M),Version12.2(20)SE,RELEASESOFTWARE(fc1)
Copyright(c)19862004byciscoSystems,Inc.
CompiledWed19May0411:52byyenanh
00:01:32:%LINK5CHANGED:InterfaceGigabitEthernet2/0/1,
changedstatetoadministratively
down
00:01:32:%LINK5CHANGED:InterfaceVlan1,changedstatetoadministrativelydown
00:01:32:%LINK5CHANGED:InterfaceVlan2,changedstatetoadministrativelydown
00:01:35:%STACKMGR6SWITCH_READY:Switch1isREADY
00:01:35:%STACKMGR6STACK_LINK_CHANGE:StackPort1Switch1haschangedtostateUP
00:01:35:%STACKMGR6STACK_LINK_CHANGE:StackPort2Switch1haschangedtostateUP
00:01:25:%STACKMGR6SWITCH_ADDED:Switch1hasbeenADDEDtothestack(37501)
00:01:25:%STACKMGR6SWITCH_ADDED:Switch2hasbeenADDEDtothestack(37501)
00:01:32:%SPANTREE5EXTENDED_SYSID:ExtendedSysIdenabledfortypevlan(37501)
00:01:35:%SYS5CONFIG_I:Configuredfrommemorybyconsole(37501)
00:01:35:%STACKMGR6SWITCH_READY:Switch2isREADY(37501)
00:01:35:%STACKMGR6MASTER_READY:MasterSwitch2isREADY(37501)
00:01:35:%STACKMGR6SWITCH_READY:Switch1isREADY(37501)
00:01:36:%SYS5RESTART:Systemrestarted(37501)
CiscoInternetworkOperatingSystem
3750>
3750>Software(37501)
IOS(tm)C3750Software(C3750I5M),Version12.2(20)SE,RELEASESOFTWARE
(fc1)(37501)
Copyright(c)19862004byciscoSystems,Inc.(37501)
CompiledWed19May0411:52byyenanh(37501)
00:01:37:%LINK3UPDOWN:InterfaceGigabitEthernet1/0/2,changedstatetoup

http://www.cisco.com/c/en/us/support/docs/switches/catalyst3750seriesswitches/64898upgrade3750stack.html 10/21
9/18/2015 Catalyst3750SoftwareUpgradeinaStackConfigurationwithUseoftheCommandLineInterfaceCisco
00:01:37:%LINK3UPDOWN:InterfaceGigabitEthernet1/0/3,changedstatetoup
00:01:37:%LINK3UPDOWN:InterfaceGigabitEthernet1/0/4,changedstatetoup
00:01:38:%LINK3UPDOWN:InterfaceGigabitEthernet2/0/2,changedstatetoup
00:01:38:%LINEPROTO5UPDOWN:LineprotocolonInterfaceGigabitEthernet1/0/2,changed
statetoup
00:01:38:%LINEPROTO5UPDOWN:LineprotocolonInterfaceGigabitEthernet1/0/3,changed
statetoup
00:01:38:%LINEPROTO5UPDOWN:LineprotocolonInterfaceGigabitEthernet1/0/4,changed
statetoup
00:01:39:%LINEPROTO5UPDOWN:LineprotocolonInterfaceGigabitEthernet2/0/2,changed
statetoup
3750>

3750SeriesSwitchStackIOSUpgradeManual(.tarimage)
TheprevioussectionofthisdocumentexplainedhowtoupgradeIOSusingthearchivedownloadswcommand.Youcanalsoupgrade
theIOSmanuallyswitchbyswitchwithoutdisconnectingthestackcables.Thethreemajorstepsinthismethodare:
1. Copythe.tarimagefromtheTFTPservertothemasterswitch.
2. Extractthe.tarimageintoalltheFlashfilesystemsoftheswitches.
3. Configurethebootvariable.
ThearchivedownloadswcommanddoesallthreestepsduringanautomaticIOSupgrade.Youcanalsoperformthesethreestepsin
themanualIOSupgrade.ThestepbystepsectionshowsanexampleIOSupgradetoupgradetheIOStoCiscoIOSSoftwareRelease
12.2(25)SEE1.Thisexamplehasaswitchstackwiththreeswitches.Switch1isthemasterswitchandswitches2and3arethemember
switches.

StepbyStepInstructions
Step1Downloadthe.tarImage
YouneedtomakesureyouhavesufficientspaceavailableintheFlashofthemasterswitch.Themasterswitchshouldhavetwicethe
amountofspaceofthe.tarimagefilesize.Thisspaceisneededtostorethe.tarfileaswellastostorethecontentofthe.tarfilethat
youextractinstep2.Forexample,ifthe.tarimagesizeis10Mb,youneedtohaveaminimumof20Mboffreespace.
3750stack#copytftp:flash:
Addressornameofremotehost[]?10.10.10.10
Sourcefilename[]?c3750advipservicesk9tar.12225.SEE1.tar
Destinationfilename[c3750advipservicesk9tar.12225.SEE1.tar]?
Accessingtftp://10.10.10.10/c3750advipservicesk9tar.12225.SEE1.tar...
Loadingc3750advipservicesk9tar.12225.SEE1.tarfrom10.10.10.10(viaVlan10
):!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!Outputissuppressed.

Step2Extractthe.tarImage
Extractthe.tarimagestoalltheswitchesintheFlashfilesystem.Thearchivetar/xtractcommandcreatesadirectoryandextractsthe
filesunderthenewlycreateddirectory.
Thisisanexampleofthecommandsyntax:
3750stack#archivetar/xtract<tarfilename><Dirtoextractfiles>

Completethesesteps:

1. Extractthe.tarfileintotheFlashonswitch1.
3750stack#archivetar/xtractc3750advipservicesk9tar.12225.SEE1.tar
flash1:

extractingc3750advipservicesk9mz.12225.SEE1/html/images/grn_vertlines_bott
.gif(957bytes)
extractingc3750advipservicesk9mz.12225.SEE1/html/images/red.gif(147bytes
extractingc3750advipservicesk9mz.12225.SEE1/html/images/print.gif(625byt
)

!Outputissuppressed.

2. Extractthe.tarfileintotheFlashonswitch2.
750stack#archivetar/xtractc3750advipservicesk9tar.12225.SEE1.tar
flash2:

extractingc3750advipservicesk9mz.12225.SEE1/html/images/grn_vertlines_bott
.gif(957bytes)
extractingc3750advipservicesk9mz.12225.SEE1/html/images/red.gif(147bytes
extractingc3750advipservicesk9mz.12225.SEE1/html/images/print.gif(625byt
)

!Outputissuppressed.

http://www.cisco.com/c/en/us/support/docs/switches/catalyst3750seriesswitches/64898upgrade3750stack.html 11/21
9/18/2015 Catalyst3750SoftwareUpgradeinaStackConfigurationwithUseoftheCommandLineInterfaceCisco
3. Extractthe.tarfileintotheFlashonswitch3.
3750stack#archivetar/xtractc3750advipservicesk9tar.12225.SEE1.tar
flash3:

extractingc3750advipservicesk9mz.12225.SEE1/html/images/grn_vertlines_bott
.gif(957bytes)
extractingc3750advipservicesk9mz.12225.SEE1/html/images/red.gif(147bytes)
extractingc3750advipservicesk9mz.12225.SEE1/html/images/print.gif(625bytes)

!Outputissuppressed.

Step3ConfiguretheBootVariable
Afteryouextractthe.tarfilesintotheFlash,youneedtoconfigurethebootvariabletopointtothenewIOS.Youneedtofindthepath
wherethe.binfileisextracted.
3750stack#dir
Directoryofflash:/

2drwx192Mar11199300:31:05+00:00c3750advipservicesk9mz.12225.SEE1

!Thearchivetar/xtractcommandcreatedthisdirectory.

455rwx114Mar11199300:31:05+00:00info
457rwx9433Mar1199301:40:11+00:00config.text
458rwx796Mar1199300:02:39+00:00vlan.dat
459rwx24Mar1199301:40:11+00:00privateconfig.text

15998976bytestotal(5613056bytesfree)

3750stack#dirflash:c3750advipservicesk9mz.12225.SEE1

Directoryofflash:/c3750advipservicesk9mz.12225.SEE1/

3rwx8169055Mar11199300:29:52+00:00c3750advipservicesk9mz.1
2225.SEE1.bin
4drwx4160Mar11199300:30:29+00:00html
454rwx709Mar11199300:31:05+00:00info

15998976bytestotal(5613056bytesfree)
3750stack#

Thebootsystemswitchallcommandisusedtochangethebootvariable.
Note:Thisbootsystemswitchallhasbeenbroughtdowntoasecondlineduetospatialconsiderations.
3750stack(config)#bootsystemswitchallflash:/c3750
advipservicesk9mz.12225.SEE1/c3750advipservicesk9mz.12225.SEE1.bin
3750stack(config)#exit
3750stack#writememory

Step4ReloadandVerify
ReloadtheswitchandverifythattheswitchrunsthenewCiscoIOSsoftwarereleaseafterthereload:

!Reloadtheswitch.

Switch#reload
Proceedwithreload?[confirm]

!VerifytheCiscoIOSsoftwarereleaseoftheswitchafterthereload.

3750stack#showversion
CiscoIOSSoftware,C3750Software(C3750ADVIPSERVICESK9M),Version12.2(25)S
E1,RELEASESOFTWARE(fc1)
Copyright(c)19862006byCiscoSystems,Inc.
CompiledMon22May0608:52byyenanh
Imagetextbase:0x00003000,database:0x01255B58

!Outputissuppressed.

SwitchPortsModelSWVersionSWImage

*128WSC3750G24PS12.2(25)SEE1C3750ADVIPSERVICESK
252WSC3750G48TS12.2(25)SEE1C3750ADVIPSERVICESK

http://www.cisco.com/c/en/us/support/docs/switches/catalyst3750seriesswitches/64898upgrade3750stack.html 12/21
9/18/2015 Catalyst3750SoftwareUpgradeinaStackConfigurationwithUseoftheCommandLineInterfaceCisco
326WSC375024TS12.2(25)SEE1C3750ADVIPSERVICESK

!Verifytheswitchmasterandmemberstate:

3750stack#showswitch
Current
Switch#RoleMacAddressPriorityState

*1Master0015.63f6.b7005Ready
2Member0015.c6c1.30002Ready
3Member000f.f794.3d005Ready

3750SeriesSwitchStackIOSUpgradeManual(.binImage)
A3750switchstackcanbemanagedeitherwiththewebdevicemanagerorwiththeCLI.IfyoumanagetheswitchwiththeCLI,youdo
notneedthe.tarimage.ThissectionexplainstheIOSupgradewiththe.binimage.Itisassumedthatyouhavealreadyconfiguredthe
3750switchstackwithanIOSimage.ThissectionexplainshowtocopyandupgradethenewIOSinthe3750switchstack.
Note:Thecommandsarchivedownloadswandarchiveuploadswareapplicableonlyfor.tarimagefilesanddonotapplyto.bin
imagefiles.
ThisexampleexplainsthestepbystepproceduretoupgradetheIOStoCiscoIOSSoftwareRelease12.2(25)SEE2onaCatalyst3750
switchstack.TheCatalyst3750switchstackhastwoswitchesandtheIOSimageislocatedattheTFTPserver172.22.1.165.This
outputshowsthestackmemberandthemasterinthisstack:
Switch#showswitch
Current
Switch#RoleMacAddressPriorityState

1Member0015.63f6.b7005Ready
*2Master0015.c6c1.300010Ready

StepbyStepInstructions
Step1Downloadthe.binImage
RefertoSoftwareDownloadCiscoCatalyst3750Software (registeredcustomersonly)andfindtheimagethatyouwanttodownload.
TheSoftwareDownloadCenterfortheCatalyst3750containstwosetsofIOSimagesforeveryfeaturesetandversions.Oneset
containsonlytheIOSimagefilewhichhastheextension.bin.TheothersetcontainstheIOSimageplusthewebbaseddevicemanager
whichhastheextension.tar.

Step2VerifytheAvailableMemory
YoucanverifytheavailablememoryintheFlashfilesystemofbothswitchesindividuallyasthisexampleoutputshows:
Switch#dirflash1:
Directoryofflash1:/

2rwx24Mar3199322:02:44+00:00privateconfig.text
3rwx623744Jan1197000:12:28+00:00stardust0923
4rwx796Mar1199300:02:55+00:00vlan.dat
5rwx623744Jan1197000:32:09+00:00diag
6rwx8169055Mar1199300:43:34+00:00c3750advipservicesk9mz.
2225.SEE1.bin
8rwx10192Mar3199322:02:44+00:00config.text
462rwx114Mar1199300:32:19+00:00info
367drwx192Mar1199300:32:19+00:00c3750advipservicesk9mz.
2225.SEE1

32514048bytestotal(12754944bytesfree)

Switch#dirflash2:
Directoryofflash:/

2rwx4207104Jan1197000:14:06+00:00c3750i9mz.12220.SE4
3rwx623744Jan1197000:17:20+00:00stardust0923
4rwx4207104Jan1197000:19:44+00:00ios
5rwx623744Jan1197000:20:47+00:00diag
6rwx8169055Mar21199323:29:36+00:00c3750advipservicesk9mz.1
2225.SEE1.bin
7rwx796Mar1199300:02:49+00:00vlan.dat
8rwx24Mar3199322:02:44+00:00privateconfig.text
10rwx10192Mar3199322:02:44+00:00config.text
11drwx128Mar21199323:25:53+00:00c3750ipservicesk9mz.122
25.SEB1

32514048bytestotal(13071360bytesfree)

InaCatalyst3750switchstack,flash:representstheFlashfilesystemofthemasterswitch.Inthisexample,thedirflash:command
displaysthecontentsofthemasterswitch(Switch2)whichisflash2:.

http://www.cisco.com/c/en/us/support/docs/switches/catalyst3750seriesswitches/64898upgrade3750stack.html 13/21
9/18/2015 Catalyst3750SoftwareUpgradeinaStackConfigurationwithUseoftheCommandLineInterfaceCisco
Step3CopytheImagestotheFlashFileSystem
Copythe.binimagefromtheTFTPservertotheFlashfilesystemofbothswitches.
Note:TheAutomaticUpgrade(autoupgrade)featureonlyworkswith.tarimages.
Switch#copytftp:flash1:
Addressornameofremotehost[172.22.1.165]?
Sourcefilename[c3750advipservicesk9mz.12225.SEE2]?c3750advipservicesk9
.12225.SEE2.bin
Destinationfilename[c3750advipservicesk9mz.12225.SEE2.bin]?
Accessingtftp://172.22.1.165/c3750advipservicesk9mz.12225.SEE2.bin...
Loadingc3750advipservicesk9mz.12225.SEE2.binfrom172.22.1.165(viaVlan1)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!Outputistruncated.

[OK8172194bytes]

8172194bytescopiedin203.718secs(40115bytes/sec)

Switch#copytftp:flash2:
Addressornameofremotehost[172.22.1.165]?
Sourcefilename[c3750advipservicesk9mz.12225.SEE2.bin]?
Destinationfilename[c3750advipservicesk9mz.12225.SEE2.bin]?
Accessingtftp://172.22.1.165/c3750advipservicesk9mz.12225.SEE2.bin...
Loadingc3750advipservicesk9mz.12225.SEE2.binfrom172.22.1.165(viaVlan1):
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!Outputistruncated.

[OK8172194bytes]

8172194bytescopiedin186.655secs(43782bytes/sec)

Step4ConfiguretheBootVariable
ConfigurethebootvariabletoboottheswitchwiththenewlycopiedIOS:
Switch(config)#bootsystemswitchallflash:/
c3750advipservicesk9mz.12225.SEE2.bin
Switch(config)#exit
Switch#writememory

Step5VerifyBeforetheReload
Verifythebootvariable:
Switch#showboot
BOOTpathlist:flash:/c3750advipservicesk9mz.12225.SEE2.bin

!Masterswitch.

Configfile:flash:/config.text
PrivateConfigfile:flash:/privateconfig.text
EnableBreak:no
ManualBoot:no
HELPERpathlist:
Autoupgrade:yes

Switch1

!Memberswitch.


BOOTpathlist:flash:/c3750advipservicesk9mz.12225.SEE2.bin
Configfile:flash:/config.text
PrivateConfigfile:flash:/privateconfig.text
EnableBreak:no
ManualBoot:no
HELPERpathlist:

Autoupgrade:no

VerifythatthenewIOSfileispresentintheFlash:
Switch#dirflash1:
Directoryofflash1:/

2rwx24Mar3199322:02:44+00:00privateconfig.text

http://www.cisco.com/c/en/us/support/docs/switches/catalyst3750seriesswitches/64898upgrade3750stack.html 14/21
9/18/2015 Catalyst3750SoftwareUpgradeinaStackConfigurationwithUseoftheCommandLineInterfaceCisco
3rwx623744Jan1197000:12:28+00:00stardust0923
4rwx796Mar1199300:02:48+00:00vlan.dat
5rwx623744Jan1197000:32:09+00:00diag
6rwx8169055Mar1199300:43:34+00:00c3750advipservicesk9mz.1
2225.SEE1.bin
7rwx8172194Mar3199322:31:35+00:00c3750advipservicesk9mz.1
2225.SEE2.bin
8rwx10192Mar3199322:02:44+00:00config.text
462rwx114Mar1199300:32:19+00:00info
367drwx192Mar1199300:32:19+00:00c3750advipservicesk9mz.1
2225.SEE1

32514048bytestotal(4582400bytesfree)

Switch#dirflash:ordirflash2:
Directoryofflash2:/

2rwx4207104Jan1197000:14:06+00:00c3750i9mz.12220.SE4
3rwx623744Jan1197000:17:20+00:00stardust0923
4rwx4207104Jan1197000:19:44+00:00ios
5rwx623744Jan1197000:20:47+00:00diag
6rwx8169055Mar21199323:29:36+00:00c3750advipservicesk9mz.1
2225.SEE1.bin
7rwx796Mar1199300:02:54+00:00vlan.dat
8rwx24Mar3199322:02:44+00:00privateconfig.text
9rwx8172194Mar3199322:42:06+00:00c3750advipservicesk9mz.1
2225.SEE2.bin
10rwx10192Mar3199322:02:44+00:00config.text
11drwx128Mar21199323:25:53+00:00c3750ipservicesk9mz.122
25.SEB1

32514048bytestotal(4898816bytesfree)

Step6ReloadandVerify
ReloadtheswitchandverifythattheswitchrunsthenewCiscoIOSsoftwareversionafterthereload:

!Reloadtheswitch.

Switch#reload
Proceedwithreload?[confirm]

!VerifytheCiscoIOSsoftwareversionoftheswitchafterthereload.

Switch#showversion
CiscoIOSSoftware,C3750Software(C3750ADVIPSERVICESK9M),Version12.2(25)SE
E2,RELEASESOFTWARE(fc1)
Copyright(c)19862006byCiscoSystems,Inc.
CompiledFri28Jul0612:55byyenanh
Imagetextbase:0x00003000,database:0x01256754

ROM:BootstrapprogramisC3750bootloader
BOOTLDR:C3750BootLoader(C3750HBOOTM),Version12.2[bkeeneflo_dsbu2100]

Switchuptimeis33minutes
SystemreturnedtoROMbypoweron
Systemimagefileis"flash:/c3750advipservicesk9mz.12225.SEE2.bin"

ThisproductcontainscryptographicfeaturesandissubjecttoUnited
Statesandlocalcountrylawsgoverningimport,export,transferand
use.DeliveryofCiscocryptographicproductsdoesnotimply
thirdpartyauthoritytoimport,export,distributeoruseencryption.
Importers,exporters,distributorsandusersareresponsiblefor
compliancewithU.S.andlocalcountrylaws.Byusingthisproductyou
agreetocomplywithapplicablelawsandregulations.Ifyouareunable
tocomplywithU.S.andlocallaws,returnthisproductimmediately.

AsummaryofU.S.lawsgoverningCiscocryptographicproductsmaybefoundat:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

Ifyourequirefurtherassistancepleasecontactusbysendingemailto
export@cisco.com.

ciscoWSC3750G48TS(PowerPC405)processor(revision01)with118784K/12280Kby
tesofmemory.
ProcessorboardIDFOC0941U2SK
Lastresetfrompoweron
3VirtualEthernetinterfaces
132GigabitEthernetinterfaces
Thepasswordrecoverymechanismisenabled.

http://www.cisco.com/c/en/us/support/docs/switches/catalyst3750seriesswitches/64898upgrade3750stack.html 15/21
9/18/2015 Catalyst3750SoftwareUpgradeinaStackConfigurationwithUseoftheCommandLineInterfaceCisco

512Kbytesofflashsimulatednonvolatileconfigurationmemory.
BaseethernetMACAddress:00:15:C6:C1:30:00

!Masterswitchinformation.

Motherboardassemblynumber:731021804
Powersupplypartnumber:341010701
Motherboardserialnumber:FOC09400W9S
Powersupplyserialnumber:AZS093905HN
Modelrevisionnumber:01
Motherboardrevisionnumber:02
Modelnumber:WSC3750G48TSS
Systemserialnumber:FOC0941U2SK
TopAssemblyPartNumber:8002685701
TopAssemblyRevisionNumber:06
VersionID:V03
HardwareBoardRevisionNumber:0x03

!VerifythatalltheswitchesrunthenewCiscoIOSsoftwareversion:

SwitchPortsModelSWVersionSWImage

128WSC3750G24PS12.2(25)SEE2C3750ADVIPSERVICESK
*252WSC3750G48TS12.2(25)SEE2C3750ADVIPSERVICESK

Switch01

!Memberswitchinformation.


SwitchUptime:33minutes
BaseethernetMACAddress:00:15:63:F6:B7:00
Motherboardassemblynumber:731021703
Powersupplypartnumber:341010802
Motherboardserialnumber:FOC09382V48
Powersupplyserialnumber:DCA09330W5E
Modelrevisionnumber:01
Motherboardrevisionnumber:04
Modelnumber:WSC3750G24PSE
Systemserialnumber:FOC0939U17V
Topassemblypartnumber:8002748201
Topassemblyrevisionnumber:01
VersionID:V03

Configurationregisteris0xF

!Verifytheswitchmasterandmemberstate:

Switch#showswitch
Current
Switch#RoleMacAddressPriorityState

1Member0015.63f6.b7005Ready
*2Master0015.c6c1.300010Ready

Verify
Thissectionprovidesinformationyoucanusetoconfirmthatyourconfigurationworksproperly.
CertainshowcommandsaresupportedbytheOutputInterpreterTool (registeredcustomersonly),whichallowsyoutoviewan
analysisofshowcommandoutput.

showswitchdetailVerifiesthatalltheswitchesareready.
showversionVerifiesthatallswitchesinthestackdonotruntothenewcodeversion.
3750#showswitchdetail
Current
Switch#RoleMacAddressPriorityState

1Slave000c.30ae.4f009Ready
*2Master000d.bd5c.168015Ready

StackPortStatusNeighbors
Switch#Port1Port2Port1Port2

1OkOk22
2OkOk11

http://www.cisco.com/c/en/us/support/docs/switches/catalyst3750seriesswitches/64898upgrade3750stack.html 16/21
9/18/2015 Catalyst3750SoftwareUpgradeinaStackConfigurationwithUseoftheCommandLineInterfaceCisco

!Theshowversioncommandnowreflectsthenewcoderevision,asexpected.

3750#showversion
CiscoInternetworkOperatingSystemSoftware
IOS(tm)C3750Software(C3750I5M),Version12.2(20)SE,RELEASESOFTWARE(fc1)
Copyright(c)19862004byciscoSystems,Inc.
CompiledWed19May0411:52byyenanh
Imagetextbase:0x00003000,database:0x00B53B10

ROM:BootstrapprogramisC3750bootloader
BOOTLDR:C3750BootLoader(C3750HBOOTM)Version12.1(14)EA1,RELEASESOFTWARE(fc1)

3750uptimeis2minutes
SystemreturnedtoROMbypoweron
Systemimagefileis"flash:c3750i5mz.12220.SE/c3750i5mz.12220.SE.bin"

ciscoWSC3750G12S(PowerPC405)processor(revisionA0)with118784K/12280Kbytesof
memory.
ProcessorboardIDCAT0732R0JU
Lastresetfrompoweron
Bridgingsoftware.
5VirtualEthernet/IEEE802.3interface(s)
40GigabitEthernet/IEEE802.3interface(s)
Thepasswordrecoverymechanismisenabled.

512Kbytesofflashsimulatednonvolatileconfigurationmemory.
BaseethernetMACAddress:00:0D:BD:5C:16:80
Motherboardassemblynumber:73830706
Powersupplypartnumber:341004801
Motherboardserialnumber:CAT073205SU
Powersupplyserialnumber:DTH073004US
Modelrevisionnumber:A0
Motherboardrevisionnumber:A0
Modelnumber:WSC3750G12SE
Systemserialnumber:CAT0732R0JU
TopAssemblyPartNumber:8002341901
TopAssemblyRevisionNumber:A0
HardwareBoardRevisionNumber:0x06

SwitchPortsModelSWVersionSWImage

128WSC3750G24TS12.2(20)SEC3750I5M
*212WSC3750G12S12.2(20)SEC3750I5M

Switch01

SwitchUptime:2minutes
BaseethernetMACAddress:00:0C:30:AE:4F:00
Motherboardassemblynumber:73705807
Powersupplypartnumber:341004501
Motherboardserialnumber:CSJ0708020N
Powersupplyserialnumber:LIT07050027
Modelrevisionnumber:01
Motherboardrevisionnumber:03
Modelnumber:WSC3750G24TSE
Systemserialnumber:CSJ0711U03G

Configurationregisteris0xF

Troubleshoot
Thissectionprovidesinformationyoucanusetotroubleshootyourconfiguration.

ImageTransferfromTFTPServerFailsorCorruptedIOSimage
IfyoufindthatanimagetransferfromtheTFTPserverfailscontinuously,refertoCommonProblemsinInstallingImagesUsingTFTPor
anRCPServer.ThisdocumentprovidessolutionstoknownissueswiththeTFTPserver.

YouReceivetheError_Bad_MzipErrorMessage
YouseethiserrorwhentheCiscoIOSimageiscorruptora.tarfileuploadsthroughanXmodem.Inordertoresolvetheissue,complete
thesesteps:
1. Uploadthe.binfiletotheswitchthroughtheXmodem.
2. Setthebootpathtothecorrectfilename.
3. Reloadtheswitch.
4. Checkthattheimagefilesizeisthecorrectone.
Iftheimagefilesizeisnotcorrect,trytodownloadtheimagefileagain.

http://www.cisco.com/c/en/us/support/docs/switches/catalyst3750seriesswitches/64898upgrade3750stack.html 17/21
9/18/2015 Catalyst3750SoftwareUpgradeinaStackConfigurationwithUseoftheCommandLineInterfaceCisco
Refertothesedocumentsinordertochecktherecoveryprocedure:
StepbyStepRecoveryProceduresectionofRecoveringCatalyst2950,2955,and3550SeriesSwitchesfromaCorruptedorMissing
Image
RecoveringfromaSoftwareFailuresectionofReleaseNotesfortheCatalyst3750,3560,and2970Switches,CiscoIOSRelease
12.2(25)SEBandLater

%Erroropeningflash:update/info(Nosuchfileordirectory)
Theswitchreportsthiserrormessageduringthesoftwareupgrade:
Stack_Switch1#archivedownloadsw
tftp://1.1.1.2/c3750advipservicesk9tar.12225.SEE1.tar
Couldnotbuffertarfile...usingmultipledownloads
examiningimage...
%Erroropeningtftp://1.1.1.2/c3750advipservicesk9tar.12225.SEE1.tar(Timedout)
%Erroropeningflash:update/info(Nosuchfileordirectory)
ERROR:ImageisnotavalidIOSimagearchive

Completethesestepstoidentifyandresolvetheissue:
1. MakesureyouareabletopingtheTFTPserverIPaddressfromtheswitch.
2. VerifyyourTFTPserverisworkingandifpossible,tryadifferentTFTPserver.
3. RemoveifyouhaveanyoldinformationdirectoryfromtheFlash.
4. Iftheerrormessagestillappears,formattheFlashandreloadtheswitch.Afteryouformat,theswitchmightbootintoROMMONmode.
IftheswitchbootsintoROMMONmode,thenrecovertheswitchusingXmodem.

SwitchesintheStackdonotBoottheNewImage(VersionMismatch)
AftertheIOSupgrade,anyoneormoreoftheswitchesdonotbootwiththenewimages.Or,whenyouaddaswitchtotheexistingstack
andthenewlyaddedswitchhasadifferentCiscoIOSsoftwarereleasethantheexistingswitchstack,thenewswitchisunusable.The
3750switchstackhasafeaturecalledautoupgradewhichisenabledbydefault.Thisfeatureenablestheswitchstacktoautomatically
upgradetheIOSonthenewlyaddedswitch.SometimesthisautoupgradefailstoupgradetheIOSofthenewlyaddedswitch.Yousee
thismessagesequencewhenyouaddtheswitchtotheexistingstack.
1w2d:%IMAGEMGR6AUTO_COPY_SW_INITIATED:Autocopysoftwareprocessinitiated
forswitchnumber(s)3
1w2d:%IMAGEMGR6AUTO_COPY_SW:
1w2d:%IMAGEMGR6AUTO_COPY_SW:Searchingforstackmembertoact
1w2d:%IMAGEMGR6AUTO_COPY_SW:assoftwaredonor...
1w2d:%IMAGEMGR6AUTO_COPY_SW:Founddonor(system#1)for
1w2d:%IMAGEMGR6AUTO_COPY_SW:member(s)3
1w2d:%IMAGEMGR6AUTO_COPY_SW:Systemsoftwaretobeuploaded:
1w2d:%IMAGEMGR6AUTO_COPY_SW:SystemType:0x00000000
1w2d:%IMAGEMGR6AUTO_COPY_SW:Warning:Unabletodetermineimagerunning
1w2d:%IMAGEMGR6AUTO_COPY_SW:Softwarecouldnotbecopiedto
1w2d:%IMAGEMGR6AUTO_COPY_SW:system(s)3
1w2d:%IMAGEMGR6AUTO_COPY_SW:Softwarewasnotcopied
1w2d:%IMAGEMGR6AUTO_ADVISE_SW_INITIATED:Autoadvisesoftwareprocessinitiat
edforswitchnumber(s)3
1w2d:%IMAGEMGR6AUTO_ADVISE_SW:
1w2d:%IMAGEMGR6AUTO_ADVISE_SW:
1w2d:%IMAGEMGR6AUTO_ADVISE_SW:Systemswithincompatiblesoftware
1w2d:%IMAGEMGR6AUTO_ADVISE_SW:havebeenaddedtothestack.The
1w2d:%IMAGEMGR6AUTO_ADVISE_SW:softwarerunningonallofthestack
1w2d:%IMAGEMGR6AUTO_ADVISE_SW:membershasbeenscanned,andithas
1w2d:%IMAGEMGR6AUTO_ADVISE_SW:beendeterminedthatthestackcanbe
1w2d:%IMAGEMGR6AUTO_ADVISE_SW:repairedbyissuingthefollowing
1w2d:%IMAGEMGR6AUTO_ADVISE_SW:command(s):
1w2d:%IMAGEMGR6AUTO_ADVISE_SW:
1w2d:%IMAGEMGR6AUTO_ADVISE_SW:archivecopysw/forcereload/overwrite/
dest31
1w2d:%IMAGEMGR6AUTO_ADVISE_SW:

3750stack#showswitch
Current
Switch#RoleMacAddressPriorityState

*1Master0015.63f6.b7005Ready
2Member0015.c6c1.30002Ready
3Member000f.f794.3d005VersionMismatch

Note:Theautoupgradefeaturemustbeenabledtoupgradetheswitchinversionmismatch(VM)mode.Bydefault,autoupgradeis
enabled.YoucancheckthestatusofautoupgradebyusingtheshowbootprivilegedEXECcommandandbycheckingtheautoupgrade
lineinthedisplay.Youcandisableautoupgradebyusingthenobootautocopyswglobalconfigurationcommandonthestackmaster.
RefertoUnderstandingAutoUpgradeandAutoAdviseformoreinformation.
Therearethreedifferentmethodsavailabletosolvetheversionmismatchproblem:

Method1
Method2
Method3

http://www.cisco.com/c/en/us/support/docs/switches/catalyst3750seriesswitches/64898upgrade3750stack.html 18/21
9/18/2015 Catalyst3750SoftwareUpgradeinaStackConfigurationwithUseoftheCommandLineInterfaceCisco
Method1.tarImage
UpgradethememberswitchthathasanincompatiblesoftwareimageusingthearchivecopyswprivilegedEXECcommand.This
commandcopiesthesoftwareimagefromanexistingstackmembertotheonewiththeincompatiblesoftware.Theaffectedswitch
automaticallyreloadsandjoinsthestackasafullyfunctioningmember.
Thisoutputshowsthesyntaxofthearchivecopyswcommand:
3750_Stack#archivecopysw?

/destinationsystemspecifydestinationsystemtoreceivesoftware
/forcereloadUnconditionallyreloadsystemaftersuccessfulsw
upgrade
/leaveoldswLeaveoldswinstalledaftersuccessfulswupgrade
/nosetbootdonotupdateBOOTsettingonsystemsafterinstalling
sw
/overwriteOKtooverwriteanexistingimage
/reloadReloadsystem(ifnounsavedconfigchanges)after
successfulswupgrade
/safeAlwaysloadbeforedeletingoldversion
1copysoftwarefromsystem1
2copysoftwarefromsystem2
3copysoftwarefromsystem3

Forthe/destinationsystemdestinationstackmembernumber,specifythenumberofthestackmembertowhichthesourcethatruns
theimagefileneedstobecopied.Ifyoudonotspecifythestackmembernumber,therunningimagefileiscopiedtoallstack
membersbydefault.
Specify/forcereloadtounconditionallyforceasystemreloadafterthesuccessfuldownloadofthesoftwareimage.Ifyoudonotwant
touse/forcereload,resettheupdatedstackmembermanuallyusingreloadslotswitch_member_numbertoputthisconfiguration
changeintoeffect.
Forthesourcestackmembernumber,specifythenumberofthestackmemberfromwhichtocopytherunningimagefile.Thestack
membernumberrangeis1to9.
Ifyoureceiveanoversubscribesyslogmessageduringreload,thenissuethearchivecopysw/overwrite/destinationsystem
commandtooverwritethesoftwareimageintheFlashmemorywiththedownloadedone.
Thisisanexampleofthearchivecopyswcommand:

1. ThisarchivecopyswcommandcopiesthecurrentrunningIOSimagefromswitch1toswitch3onthe3750switchstack.
archivecopysw/overwrite/destinationsystem31

2. Reloadtheswitchmember3.
reloadslot3

Method2.tarImage
Youcanusethismethodifyouusethedevicemanagertomanagetheswitchstack.Extractthe.tarimageintotheFlashfilesystemof
thenewlyaddedswitch.Itisassumedthatyoualreadyhavethe.tarimageontheswitch.Ifitisnotavailable,youcandownloadfromthe
SoftwareDownloadCiscoCatalyst3750Software (registeredcustomersonly)pageandcopytotheswitchusingTFTP.
3750stack#showswitch
Current
Switch#RoleMacAddressPriorityState

*1Master0015.63f6.b7005Ready
2Member0015.c6c1.30002Ready
3Member000f.f794.3d005VersionMismatch

!Switch3isdisplayedasaversionmismatch.!Youneedtoextractthe.tarimagetoflash3:

3750stack#archivetar/xtractc3750advipservicesk9tar.12225.SEE1.tar
flash3:

extractingc3750advipservicesk9mz.12225.SEE1/html/images/grn_vertlines_bott
.gif(957bytes)
extractingc3750advipservicesk9mz.12225.SEE1/html/images/red.gif(147bytes
extractingc3750advipservicesk9mz.12225.SEE1/html/images/print.gif(625bytes
)

!Outputissuppressed.

Configurethebootvariableonthenewswitch.Thisstepisnotmandatory.Butifyoudisconnectthisswitchoutofthestackinthefuture,
theswitchmightnotbootthecorrectIOS.
Note:Thebootsystemswitch3flash:commandhasbeenbroughtdowntoasecondlineduetospatialconsiderations.
3750stack#configureterminal
3750stack(config)#bootsystemswitch3flash:/c3750advipservicesk9mz.
12225.SEE1/c3750advipservicesk9mz.12225.SEE1.bin
3750stack(config)#exit

http://www.cisco.com/c/en/us/support/docs/switches/catalyst3750seriesswitches/64898upgrade3750stack.html 19/21
9/18/2015 Catalyst3750SoftwareUpgradeinaStackConfigurationwithUseoftheCommandLineInterfaceCisco
3750stack#writememory

Reloadtheswitchmember3.
3750stack#reloadslot3

Method3.binImage
Copythe.binfilefromthemasterswitchtothenewlyaddedswitch,configurethebootvariable,andreloadtheswitch.
3750stack#showswitch
Current
Switch#RoleMacAddressPriorityState

*1Master0015.63f6.b7005Ready
2Member0015.c6c1.30002Ready
3Member000f.f794.3d005VersionMismatch

!Switch3isdisplayedasaversionmismatch.!Youneedtocopythe.binimagetoflash3:

3750stack#copyc3750advipservicesk9mz.12225.SEE1.binflash3:
3750stack#configureterminal
3750stack(config)#bootsystemswitch3flash:/
c3750advipservicesk9mz.12225.SEE1.bin
3750stack(config)#exit
3750stack#writememory
3750stack#reloadslot3

%Tarchecksumerrorintftp
Thiserrormessageoccurswhenyouusethearchivecommandinordertoupgradethesoftwareimage:
Note:Thearchivecommandhasbeenbroughtdowntoasecondlineduetospatialconsiderations.
3750_switch#archivedownloadswtftp://10.1.1.1/c3750
ipbasemz.12225.SEC.bin
Loadingc3750ipbasemz.12225.SEC.binfrom10.1.1.1(viaVlan1):
!!!!!!!!!!!!!!!!!!!!.!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK5683384bytes]

Loadingc3750ipbasemz.12225.SEC.binfrom10.1.1.1(viaVlan1):
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK5683384bytes]

examiningimage...
%Tarchecksumerrorintftp://10.1.1.1/c3750ipbasemz.12225.SEC.bin
%Erroropeningflash:update/info(Nosuchfileordirectory)
ERROR:ImageisnotavalidIOSimagearchive.

Thereasonforthiserrormessageisthatthearchivecommandisforthe.tarfilesandcannotbeusedwith.binfiles.Inordertoupgrade
usingthe.binfile,usethecopycommand.

UpgradeCiscoIOSSoftwarewithDifferentFeatureSets
TheCiscoCatalyst3750SeriesbydefaultallowschangesinfeaturesetswhileyouupgradetoalaterCiscoIOSrelease.
Error:Theimageinthearchivewhichwouldbeusedtoupgrade
Error:systemnumber[dec]doesnotsupportthesamefeatureset.

Inordertoovercomethisissue,makeuseoftheflagallowfeatureupgradewhileyouexecutethearchivedownloadswcommand.
archivedownloadsw/allowfeatureupgrade

ThisoptionissupportedonlyfromCiscoIOSrelease12.2(35)SEorlater.

http://www.cisco.com/c/en/us/support/docs/switches/catalyst3750seriesswitches/64898upgrade3750stack.html 20/21
9/18/2015 Catalyst3750SoftwareUpgradeinaStackConfigurationwithUseoftheCommandLineInterfaceCisco

RelatedInformation
RecoveryFromCorruptorMissingSoftwareImageonCiscoCatalyst2900XLand3500XLSeriesSwitches
UpgradingSoftwareImagesonCatalyst2950and2955SeriesSwitchesUsingtheCommandLineInterface
UpgradingSoftwareinCatalyst2900XLand3500XLSwitchesUsingtheCommandLineInterface
LANProductSupport
LANSwitchingTechnologySupport
TechnicalSupport&DocumentationCiscoSystems

2015Ciscoand/oritsaffiliates.Allrightsreserved.

http://www.cisco.com/c/en/us/support/docs/switches/catalyst3750seriesswitches/64898upgrade3750stack.html 21/21

Você também pode gostar