AmericasHeadquarters:CiscoSystems,Inc.
,170WestTasmanDrive,SanJose,CA95134-1706USA2004-2009CiscoSystems,Inc.
Allrightsreserved.
ConfigurationReplaceandConfigurationRollbackFirstPublished:March3,2004LastUpdated:May4,2009TheConfigurationReplaceandConfigurationRollbackfeatureprovidesthecapabilitytoreplacethecurrentrunningconfigurationwithanysavedCiscoIOSXEconfigurationfile.
Thisfunctionalitycanbeusedtoreverttoapreviousconfigurationstate,effectivelyrollingbackanyconfigurationchangesthatweremadesincethatconfigurationfilewassaved.
FindingFeatureInformationForthelatestfeatureinformationandcaveats,seethereleasenotesforyourplatformandsoftwarerelease.
Tofindinformationaboutthefeaturesdocumentedinthismodule,andtoseealistofthereleasesinwhicheachfeatureissupported,seethe"FeatureInformationforConfigurationReplaceandConfigurationRollback"sectiononpage16.
UseCiscoFeatureNavigatortofindinformationaboutplatformsupportandCiscoIOSXEsoftwareimagesupport.
ToaccessCiscoFeatureNavigator,gotohttp://www.
cisco.
com/go/cfn.
AnaccountonCisco.
comisnotrequired.
ContentsInformationAboutConfigurationReplaceandConfigurationRollback,page2HowtoUseConfigurationReplaceandConfigurationRollback,page5ConfigurationExamplesforConfigurationReplaceandConfigurationRollback,page11AdditionalReferences,page14ConfigurationReplaceandConfigurationRollbackInformationAboutConfigurationReplaceandConfigurationRollback2FeatureInformationforConfigurationReplaceandConfigurationRollback,page16InformationAboutConfigurationReplaceandConfigurationRollbackTousetheConfigurationReplaceandConfigurationRollbackfeature,youshouldunderstandthefollowingconcepts:ConfigurationArchive,page2ConfigurationReplace,page2ConfigurationRollback,page3BenefitsofConfigurationReplaceandConfigurationRollback,page4ConfigurationArchiveTheCiscoIOSXEconfigurationarchiveisintendedtoprovideamechanismtostore,organize,andmanageanarchiveofCiscoIOSXEconfigurationfilestoenhancetheconfigurationrollbackcapabilityprovidedbytheconfigurereplacecommand.
Beforethisfeaturewasintroduced,youcouldsavecopiesoftherunningconfigurationusingthecopyrunning-configdestination-urlcommand,storingthereplacementfileeitherlocallyorremotely.
However,thismethodlackedanyautomatedfilemanagement.
Ontheotherhand,theConfigurationReplaceandConfigurationRollbackfeatureprovidesthecapabilitytoautomaticallysavecopiesoftherunningconfigurationtotheCiscoIOSXEconfigurationarchive.
Thesearchivedfilesserveascheckpointconfigurationreferencesandcanbeusedbytheconfigurereplacecommandtoreverttopreviousconfigurationstates.
ThearchiveconfigcommandallowsyoutosaveCiscoIOSXEconfigurationsintheconfigurationarchiveusingastandardlocationandfilenameprefixthatisautomaticallyappendedwithanincrementalversionnumber(andoptionaltimestamp)aseachconsecutivefileissaved.
ThisfunctionalityprovidesameansforconsistentidentificationofsavedCiscoIOSXEconfigurationfiles.
Youcanspecifyhowmanyversionsoftherunningconfigurationarekeptinthearchive.
Afterthemaximumnumberoffilesaresavedinthearchive,theoldestfileisautomaticallydeletedwhenthenext,mostrecentfileissaved.
TheshowarchivecommanddisplaysinformationforallconfigurationfilessavedintheCiscoIOSXEconfigurationarchive.
TheCiscoIOSXEconfigurationarchive,inwhichtheconfigurationfilesarestoredandavailableforusewiththeconfigurereplacecommand,canbelocatedonthefollowingfilesystems:harddisk:bootflash:usb0:usb1:ConfigurationReplaceTheconfigurereplacecommandprovidesthecapabilitytoreplacethecurrentrunningconfigurationwithanysavedCiscoIOSXEconfigurationfile.
Thisfunctionalitycanbeusedtoreverttoapreviousconfigurationstate,effectivelyrollingbackanyconfigurationchangesthatweremadesincethepreviousconfigurationstatewassaved.
ConfigurationReplaceandConfigurationRollbackInformationAboutConfigurationReplaceandConfigurationRollback3Whenusingtheconfigurereplacecommand,youmustspecifyasavedCiscoIOSXEconfigurationasthereplacementconfigurationfileforthecurrentrunningconfiguration.
ThereplacementfilemustbeacompleteconfigurationgeneratedbyaCiscoIOSXEdevice(forexample,aconfigurationgeneratedbythecopyrunning-configdestination-urlcommand),or,ifgeneratedexternally,thereplacementfilemustcomplywiththeformatoffilesgeneratedbyCiscoIOSXEdevices.
Whentheconfigurereplacecommandisentered,thecurrentrunningconfigurationiscomparedwiththespecifiedreplacementconfigurationandasetofdiffsisgenerated.
Thealgorithmusedtocomparethetwofilesisthesameasthatemployedbytheshowarchiveconfigdifferencescommand.
TheresultingdiffsarethenappliedbytheCiscoIOSXEparsertoachievethereplacementconfigurationstate.
Onlythediffsareapplied,avoidingpotentialservicedisruptionfromreapplyingconfigurationcommandsthatalreadyexistinthecurrentrunningconfiguration.
Thisalgorithmeffectivelyhandlesconfigurationchangestoorder-dependentcommands(suchasaccesslists)throughamultiplepassprocess.
Undernormalcircumstances,nomorethanthreepassesareneededtocompleteaconfigurationreplaceoperation,andalimitoffivepassesisperformedtoprecludeanyloopingbehavior.
TheCiscoIOSXEcopysource-urlrunning-configcommandisoftenusedtocopyastoredCiscoIOSXEconfigurationfiletotherunningconfiguration.
Whenusingthecopysource-urlrunning-configcommandasanalternativetotheconfigurereplacetarget-urlcommand,thefollowingmajordifferencesshouldbenoted:Thecopysource-urlrunning-configcommandisamergeoperationandpreservesallthecommandsfromboththesourcefileandthecurrentrunningconfiguration.
Thiscommanddoesnotremovecommandsfromthecurrentrunningconfigurationthatarenotpresentinthesourcefile.
Incontrast,theconfigurereplacetarget-urlcommandremovescommandsfromthecurrentrunningconfigurationthatarenotpresentinthereplacementfileandaddscommandstothecurrentrunningconfigurationthatneedtobeadded.
Thecopysource-urlrunning-configcommandapplieseverycommandinthesourcefile,whetherornotthecommandisalreadypresentinthecurrentrunningconfiguration.
Thisalgorithmisinefficientand,insomecases,canresultinserviceoutages.
Incontrast,theconfigurereplacetarget-urlcommandonlyappliesthecommandsthatneedtobeapplied—noexistingcommandsinthecurrentrunningconfigurationarereapplied.
Apartialconfigurationfilemaybeusedasthesourcefileforthecopysource-urlrunning-configcommand,whereasacompleteCiscoIOSXEconfigurationfilemustbeusedasthereplacementfilefortheconfigurereplacetarget-urlcommand.
NoteWhentheconfigurereplacecommandisused,therunningconfigurationfileislockedbydefaultforthedurationoftheconfigurationreplaceoperation.
Thislockingmechanismpreventsotherusersfromchangingtherunningconfigurationwhilethereplacementoperationistakingplace,whichmightotherwisecausethereplacementoperationtoterminateunsuccessfully.
Youcandisablethelockingoftherunningconfigurationbyusingthenolockkeywordwhenissuingtheconfigurereplacecommand.
Therunningconfigurationlockisautomaticallyclearedattheendoftheconfigurationreplaceoperation.
Youcandisplayanylocksthatmaybecurrentlyappliedtotherunningconfigurationusingtheshowconfigurationlockcommand.
ConfigurationRollbackTheconceptofrollbackcomesfromthetransactionalprocessingmodelcommontodatabaseoperations.
Inadatabasetransaction,youmightmakeasetofchangestoagivendatabasetable.
Youthenmustchoosewhethertocommitthechanges(applythechangespermanently)ortorollbackthechangesConfigurationReplaceandConfigurationRollbackInformationAboutConfigurationReplaceandConfigurationRollback4(discardthechangesandreverttothepreviousstateofthetable).
Inthiscontext,rollbackmeansthatajournalfilecontainingalogofthechangesisdiscarded,andnochangesareapplied.
Theresultoftherollbackoperationistoreverttothepreviousstate,beforeanychangeswereapplied.
Theconfigurereplacecommandallowsyoutoreverttoapreviousconfigurationstate,effectivelyrollingbackchangesthatweremadesincethepreviousconfigurationstatewassaved.
Insteadofbasingtherollbackoperationonaspecificsetofchangesthatwereapplied,theCiscoIOSXEconfigurationrollbackcapabilityusestheconceptofrevertingtoaspecificconfigurationstatebasedonasavedCiscoIOSXEconfigurationfile.
Thisconceptissimilartothedatabaseideaofsavingacheckpoint(asavedversionofthedatabase)topreserveaspecificstate.
Iftheconfigurationrollbackcapabilityisdesired,youmustsavetheCiscoIOSXErunningconfigurationbeforemakinganyconfigurationchanges.
Then,afterenteringconfigurationchanges,youcanusethatsavedconfigurationfiletorollbackthechanges(usingtheconfigurereplacetarget-urlcommand).
Furthermore,sinceyoucanspecifyanysavedCiscoIOSXEconfigurationfileasthereplacementconfiguration,youarenotlimitedtoafixednumberofrollbacks,asisthecaseinsomerollbackmodelsbasedonajournalfile.
ConfigurationRollbackConfirmedChangeTheConfigurationRollbackConfirmedChangefeatureenablesanaddedcriteriaofaconfirmationtoconfigurationchanges.
Thisfunctionalityenablesarollbacktooccurifaconfirmationoftherequestedchangesisnotreceivedinaconfiguredtimeframe.
Commandfailurescanalsobeconfiguredtotriggeraconfigurationrollback.
Thefollowingstepsoutlinehowthisprocessisachieved:1.
Whenenteringconfigurationmode,thisnewoptionallowsyoutorequestconfirmation(aconfirmationtimelimitmustbesupplied)oftheconfigurationchanges.
2.
Afterexitingconfigurationmode,youmustentertheconfirmationcommand.
Ifnoconfirmationisenteredwithintherequestedtimelimit,theconfigurationwillreverttoitspreviousstate.
BenefitsofConfigurationReplaceandConfigurationRollbackAllowsyoutoreverttoapreviousconfigurationstate,effectivelyrollingbackconfigurationchanges.
AllowsyoutoreplacethecurrentrunningconfigurationfilewiththestartupconfigurationfilewithouthavingtoreloadtherouterormanuallyundoCLIchangestotherunningconfigurationfile,thereforereducingsystemdowntime.
AllowsyoutoreverttoanysavedCiscoIOSXEconfigurationstate.
Simplifiesconfigurationchangesbyallowingyoutoapplyacompleteconfigurationfiletotherouter,whereonlythecommandsthatneedtobeaddedorremovedareaffected.
Whenusingtheconfigurereplacecommandasanalternativetothecopysource-urlrunning-configcommand,increasesefficiencyandpreventsriskofserviceoutagesbynotreapplyingexistingcommandsinthecurrentrunningconfiguration.
ConfigurationReplaceandConfigurationRollbackHowtoUseConfigurationReplaceandConfigurationRollback5HowtoUseConfigurationReplaceandConfigurationRollbackThissectioncontainsthefollowingprocedures:CreatingaConfigurationArchive,page5(optional)PerformingaConfigurationReplaceorConfigurationRollbackOperation,page7(required)MonitoringandTroubleshootingtheConfigurationReplaceandConfigurationRollbackFeature,page9(optional)CreatingaConfigurationArchiveNoprerequisiteconfigurationisneededtousetheconfigurereplacecommand.
UsingtheconfigurereplacecommandinconjunctionwiththeCiscoIOSXEconfigurationarchiveandthearchiveconfigcommandisoptionalbutofferssignificantbenefitforconfigurationrollbackscenarios.
Beforeusingthearchiveconfigcommand,theconfigurationarchivemustbeconfigured.
Performthistasktoconfigurethecharacteristicsoftheconfigurationarchive.
SUMMARYSTEPS1.
enable2.
configureterminal3.
archive4.
pathurl5.
maximumnumber6.
time-periodminutes7.
end8.
archiveconfigDETAILEDSTEPSCommandorActionPurposeStep1enableExample:Router>enableEnablesprivilegedEXECmode.
Enteryourpasswordifprompted.
Step2configureterminalExample:Router#configureterminalEntersglobalconfigurationmode.
Step3archiveExample:Router(config)#archiveEntersarchiveconfigurationmode.
ConfigurationReplaceandConfigurationRollbackHowtoUseConfigurationReplaceandConfigurationRollback6Step4pathurlExample:Router(config-archive)#pathbootflash:myconfigSpecifiesthelocationandfilenameprefixforthefilesintheCiscoIOSXEconfigurationarchive.
TheurlargumentisaURL(accessiblebytheCiscoIOSXEfilesystem)usedforsavingarchivefilesoftherunningconfigurationfileintheCiscoIOSXEconfigurationarchive.
Youcansetupanarchiveonanyfilesystemthatyourplatformsupports(seethe"ConfigurationArchive"sectiononpage2).
NoteIfadirectoryisspecifiedinthepathinsteadoffile,thedirectorynamemustbefollowedbyaforwardslashasfollows:pathflash:/directory/.
Theforwardslashisnotnecessaryafterafilename,onlywhenspecifyingadirectory.
Step5maximumnumberExample:Router(config-archive)#maximum14(Optional)SetsthemaximumnumberofarchivefilesoftherunningconfigurationtobesavedintheCiscoIOSXEconfigurationarchive.
ThenumberargumentisthemaximumnumberofarchivefilesoftherunningconfigurationtobesavedintheCiscoIOSXEconfigurationarchive.
Validvaluesarefrom1to14.
Thedefaultis10.
NoteBeforeusingthiscommand,youmustconfigurethepathcommandtospecifythelocationandfilenameprefixforthefilesintheCiscoIOSXEconfigurationarchive.
Step6time-periodminutesExample:Router(config-archive)#time-period10(Optional)SetsthetimeincrementforautomaticallysavinganarchivefileofthecurrentrunningconfigurationintheCiscoIOSXEconfigurationarchive.
Theminutesargumentspecifieshowoften,inminutes,toautomaticallysaveanarchivefileofthecurrentrunningconfigurationintheCiscoIOSXEconfigurationarchive.
NoteBeforeusingthiscommand,youmustconfigurethepathcommandtospecifythelocationandfilenameprefixforthefilesintheCiscoIOSXEconfigurationarchive.
Step7endExample:Router(config-archive)#endExitstoprivilegedEXECmode.
Step8archiveconfigExample:Router#archiveconfigSavesthecurrentrunningconfigurationfiletotheconfigurationarchive.
NoteThepathcommandmustbeconfiguredbeforeusingthiscommand.
CommandorActionPurposeConfigurationReplaceandConfigurationRollbackHowtoUseConfigurationReplaceandConfigurationRollback7PerformingaConfigurationReplaceorConfigurationRollbackOperationPerformthistasktoreplacethecurrentrunningconfigurationfilewithasavedCiscoIOSXEconfigurationfile.
NoteYoumustcreateaconfigurationarchivebeforeperformingthisprocedure.
SeeCreatingaConfigurationArchive,page5fordetailedsteps.
Thefollowingproceduredetailshowtoreturntothatarchivedconfigurationintheeventofaproblemwiththecurrentrunningconfiguration.
SUMMARYSTEPS1.
enable2.
configurereplacetarget-url[nolock][list][force][ignorecase][reverttrigger[error][timerminutes]|timeminutes]3.
configurerevert{now|timer{minutes|idleminutes}}4.
configureconfirm5.
exitConfigurationReplaceandConfigurationRollbackHowtoUseConfigurationReplaceandConfigurationRollback8DETAILEDSTEPSCommandorActionPurposeStep1enableExample:Router>enableEnablesprivilegedEXECmode.
Enteryourpasswordifprompted.
Step2configurereplacetarget-url[nolock][list][force][ignorecase][reverttrigger[error][timerminutes]|timeminutes]Example:Router#configurereplacebootflash:myconfig-1listtime30ReplacesthecurrentrunningconfigurationfilewithasavedCiscoIOSXEconfigurationfile.
Thetarget-urlargumentisaURL(accessiblebytheCiscoIOSXEfilesystem)ofthesavedCiscoIOSXEconfigurationfilethatistoreplacethecurrentrunningconfiguration,suchastheconfigurationfilecreatedusingthearchiveconfigcommand.
ThelistkeyworddisplaysalistofthecommandlinesappliedbytheCiscoIOSXEsoftwareparserduringeachpassoftheconfigurationreplaceoperation.
Thetotalnumberofpassesperformedisalsodisplayed.
TheforcekeywordreplacesthecurrentrunningconfigurationfilewiththespecifiedsavedCiscoIOSXEconfigurationfilewithoutpromptingyouforconfirmation.
Thetimeminuteskeywordandargumentspecifythetime(inminutes)withinwhichyoumustentertheconfigureconfirmcommandtoconfirmreplacementofthecurrentrunningconfigurationfile.
Iftheconfigureconfirmcommandisnotenteredwithinthespecifiedtimelimit,theconfigurationreplaceoperationisautomaticallyreversed(inotherwords,thecurrentrunningconfigurationfileisrestoredtotheconfigurationstatethatexistedpriortoenteringtheconfigurereplacecommand).
Thenolockkeyworddisablesthelockingoftherunningconfigurationfilethatpreventsotherusersfromchangingtherunningconfigurationduringaconfigurationreplaceoperation.
Thereverttriggerkeywordssetthefollowingtriggersforrevertingtotheoriginalconfiguration:–error—Revertstotheoriginalconfigurationuponerror.
–timerminutes—Revertstotheoriginalconfigurationifspecifiedtimeelapses.
Theignorecasekeywordallowstheconfigurationtoignorethecaseoftheconfirmationcommand.
ConfigurationReplaceandConfigurationRollbackHowtoUseConfigurationReplaceandConfigurationRollback9MonitoringandTroubleshootingtheConfigurationReplaceandConfigurationRollbackFeaturePerformthistasktomonitorandtroubleshoottheConfigurationReplaceandConfigurationRollbackfeature.
SUMMARYSTEPS1.
enable2.
showarchive3.
debugarchiveversioning4.
debugarchiveconfigtimestamp5.
exitDETAILEDSTEPSStep1enableUsethiscommandtoenableprivilegedEXECmode.
Enteryourpasswordifprompted.
Forexample:Router>enableRouter#Step2showarchiveStep3configurerevert{now|timer{minutes|idleminutes}}Example:Router#configurerevertnow(Optional)Tocancelthetimedrollbackandtriggertherollbackimmediately,ortoresetparametersforthetimedrollback,usetheconfigurerevertcommandinprivilegedEXECmode.
now—Triggerstherollbackimmediately.
timer—Resetstheconfigurationreverttimer.
–Usetheminutesargumentwiththetimerkeywordtospecifyanewreverttimeinminutes.
–Usetheidlekeywordalongwithatimeinminutestosetthemaximumallowabletimeperiodofnoactivitybeforerevertingtothesavedconfiguration.
Step4configureconfirmExample:Router#configureconfirm(Optional)ConfirmsreplacementofthecurrentrunningconfigurationfilewithasavedCiscoIOSXEconfigurationfile.
NoteUsethiscommandonlyifthetimesecondskeywordandargumentoftheconfigurereplacecommandarespecified.
Step5exitExample:Router#exitExitstouserEXECmode.
CommandorActionPurposeConfigurationReplaceandConfigurationRollbackHowtoUseConfigurationReplaceandConfigurationRollback10UsethiscommandtodisplayinformationaboutthefilessavedintheCiscoIOSXEconfigurationarchive.
Forexample:Router#showarchiveTherearecurrently1archiveconfigurationssaved.
Thenextarchivefilewillbenamedbootflash:myconfig-2Archive#Name01bootflash:myconfig-1ConfigurationExamplesforConfigurationReplaceandConfigurationRollbackThissectionprovidesthefollowingconfigurationexamples:CreatingaConfigurationArchive:Example,page12ReplacingtheCurrentRunningConfigurationwithaSavedCiscoIOSXEConfigurationFile:Example,page12RevertingtotheStartupConfigurationFile:Example,page13PerformingaConfigurationReplaceOperationwiththeconfigureconfirmCommand:Example,page13PerformingaConfigurationRollbackOperation:Example,page13ConfigurationReplaceandConfigurationRollbackConfigurationExamplesforConfigurationReplaceandConfigurationRollback12CreatingaConfigurationArchive:ExampleThefollowingexampleshowshowtoperformtheinitialconfigurationoftheCiscoIOSXEconfigurationarchive.
Inthisexample,bootflash:myconfigisspecifiedasthelocationandfilenameprefixforthefilesintheconfigurationarchiveandavalueof10issetasthemaximumnumberofarchivefilestobesaved.
configureterminal!
archivepathbootflash:myconfigmaximum10endReplacingtheCurrentRunningConfigurationwithaSavedCiscoIOSXEConfigurationFile:ExampleThefollowingexampleshowshowtoreplacethecurrentrunningconfigurationwithasavedCiscoIOSXEconfigurationfilenamedbootflash:myconfig.
Theconfigurereplacecommandinteractivelypromptsyoutoconfirmtheoperation.
Router#configurereplacebootflash:myconfigThiswillapplyallnecessaryadditionsanddeletionstoreplacethecurrentrunningconfigurationwiththecontentsofthespecifiedconfigurationfile,whichisassumedtobeacompleteconfiguration,notapartialconfiguration.
EnterYifyouaresureyouwanttoproceed.
[no]:YTotalnumberofpasses:1RollbackDoneInthefollowingexample,thelistkeywordisspecifiedinordertodisplaythecommandlinesthatwereappliedduringtheconfigurationreplaceoperation:Router#configurereplacebootflash:myconfiglistThiswillapplyallnecessaryadditionsanddeletionstoreplacethecurrentrunningconfigurationwiththecontentsofthespecifiedconfigurationfile,whichisassumedtobeacompleteconfiguration,notapartialconfiguration.
EnterYifyouaresureyouwanttoproceed.
[no]:Y!
Pass1!
ListofCommands:nosnmp-servercommunitypublicrosnmp-servercommunitymystringroendTotalnumberofpasses:1RollbackDoneConfigurationReplaceandConfigurationRollbackConfigurationExamplesforConfigurationReplaceandConfigurationRollback13RevertingtotheStartupConfigurationFile:ExampleThefollowingexampleshowshowtoreverttotheCiscoIOSXEstartupconfigurationfileusingtheconfigurereplacecommand.
Thisexamplealsoshowstheuseoftheoptionalforcekeywordtooverridetheinteractiveuserprompt.
Router#configurereplacenvram:startup-configforceTotalnumberofpasses:1RollbackDonePerformingaConfigurationReplaceOperationwiththeconfigureconfirmCommand:ExampleThefollowingexampleshowstheuseoftheconfigurereplacecommandwiththetimesecondskeywordandargument.
Youmustentertheconfigureconfirmcommandwithinthespecifiedtimelimittoconfirmreplacementofthecurrentrunningconfigurationfile.
Iftheconfigureconfirmcommandisnotenteredwithinthespecifiedtimelimit,theconfigurationreplaceoperationisautomaticallyreversed(inotherwords,thecurrentrunningconfigurationfileisrestoredbacktotheconfigurationstatethatexistedpriortoenteringtheconfigurereplacecommand).
Router#configurereplacenvram:startup-configtime120Thiswillapplyallnecessaryadditionsanddeletionstoreplacethecurrentrunningconfigurationwiththecontentsofthespecifiedconfigurationfile,whichisassumedtobeacompleteconfiguration,notapartialconfiguration.
EnterYifyouaresureyouwanttoproceed.
[no]:YTotalnumberofpasses:1RollbackDoneRouter#configureconfirmPerformingaConfigurationRollbackOperation:ExampleThefollowingexampleshowshowtomakechangestothecurrentrunningconfigurationandthenrollbackthechanges.
Aspartoftheconfigurationrollbackoperation,youmustsavethecurrentrunningconfigurationbeforemakingchangestothefile.
Inthisexample,thearchiveconfigcommandisusedtosavethecurrentrunningconfiguration.
Thegeneratedoutputoftheconfigurereplacecommandindicatesthatonlyonepasswasperformedtocompletetherollbackoperation.
NoteBeforeusingthearchiveconfigcommand,youmustconfigurethepathcommandtospecifythelocationandfilenameprefixforthefilesintheCiscoIOSXEconfigurationarchive.
Youfirstsavethecurrentrunningconfigurationintheconfigurationarchiveasfollows:archiveconfigYouthenenterconfigurationchangesasshowninthefollowingexample:configureterminal!
usernetops2passwordrainConfigurationReplaceandConfigurationRollbackAdditionalReferences14usernetops3passwordsnowexitAfterhavingmadechangestotherunningconfigurationfile,assumeyounowwanttorollbackthesechangesandreverttotheconfigurationthatexistedbeforethechangesweremade.
Theshowarchivecommandisusedtoverifytheversionoftheconfigurationtobeusedasareplacementfile.
Theconfigurereplacecommandisthenusedtoreverttothereplacementconfigurationfileasshowninthefollowingexample:Router#showarchiveTherearecurrently1archiveconfigurationssaved.
Thenextarchivefilewillbenamedbootflash:myconfig-2Archive#Name01bootflash:myconfig-1CCDP,CCIE,CCIP,CCNA,CCNP,CCSP,CCVP,Cisco,theCiscoCertifiedInternetworkExpertlogo,CiscoIOS,CiscoPress,CiscoSystems,CiscoSystemsCapital,theCiscoSystemslogo,CiscoUnity,CollaborationWithoutLimitation,EtherFast,EtherSwitch,EventCenter,FastStep,FollowMeBrowsing,FormShare,GigaDrive,HomeLink,InternetQuotient,IOS,iPhone,iQuickStudy,IronPort,theIronPortlogo,LightStream,Linksys,MediaTone,MeetingPlace,ConfigurationVersioningCiscoIOSXERelease2.
1TheConfigurationVersioningfeatureallowsyoutomaintainandmanagebackupcopiesoftheCiscoIOSXErunningconfigurationonoroffthedevice.
TheConfigurationReplacefeatureusestheConfigurationVersioningfeaturetoprovidearollbacktoasavedcopyoftherunningconfiguration.
InCiscoIOSXERelease2.
1,thisfeaturewasintroducedonCiscoASR1000SeriesRouters.
ExclusiveConfigurationChangeAccessCiscoIOSXERelease2.
1TheExclusiveConfigurationChangeAccessfeature(alsocalledthe"ConfigurationLock"feature)allowsyoutohaveexclusivechangeaccesstotheCiscoIOSXErunningconfiguration,preventingmultipleusersfrommakingconcurrentconfigurationchanges.
ThefollowingcommandwasmodifiedbythisfeatureandappliestotheConfigurationReplaceandConfigurationRollbackfeature:showconfigurationlock.
Refertotheseparatemodule,ExclusiveConfigurationChangeAccessandAccessSessionLocking,fordetailsConfigurationRollbackConfirmedChangeCiscoIOSXERelease2.
1TheConfigurationRollbackConfirmedChangefeatureallowsconfigurationchangestobeperformedwithanoptionalrequirementthattheybeconfirmed.
Ifthisconfirmationisnotreceived,theconfigurationisreturnedtothestatepriortothechangesbeingapplied.
Thismechanismprovidesasafeguardagainstinadvertentlossofconnectivitybetweenanetworkdeviceandtheuserormanagementapplicationduetoconfigurationchanges.
InCiscoIOSXERelease2.
1,thisfeaturewasintroducedonCiscoASR1000SeriesRouters.
Thefollowingsectionsprovideinformationaboutthisfeature:ConfigurationRollbackConfirmedChange,page4PerformingaConfigurationReplaceorConfigurationRollbackOperation,page7Thefollowingcommandsweremodifiedbythisfeature:configureconfirm,configurereplace,configurerevert,configureterminalTable1FeatureInformationforConfigurationReplaceandConfigurationRollback(continued)FeatureNameReleasesFeatureInformationConfigurationReplaceandConfigurationRollbackFeatureInformationforConfigurationReplaceandConfigurationRollback18MeetingPlaceChimeSound,MGX,Networkers,NetworkingAcademy,NetworkRegistrar,PCNow,PIX,PowerPanels,ProConnect,ScriptShare,SenderBase,SMARTnet,SpectrumExpert,StackWise,TheFastestWaytoIncreaseYourInternetQuotient,TransPath,WebEx,andtheWebExlogoareregisteredtrademarksofCiscoSystems,Inc.
and/oritsaffiliatesintheUnitedStatesandcertainothercountries.
Allothertrademarksmentionedinthisdocumentorwebsitearethepropertyoftheirrespectiveowners.
TheuseofthewordpartnerdoesnotimplyapartnershiprelationshipbetweenCiscoandanyothercompany.
(0812R)AnyInternetProtocol(IP)addressesusedinthisdocumentarenotintendedtobeactualaddresses.
Anyexamples,commanddisplayoutput,andfiguresincludedinthedocumentareshownforillustrativepurposesonly.
AnyuseofactualIPaddressesinillustrativecontentisunintentionalandcoincidental.
2003-2009CiscoSystems,Inc.
Allrightsreserved.
老鹰主机HawkHost是个人比较喜欢的海外主机商,如果没有记错的话,大约2012年左右的时候算是比较早提供支付宝付款的主机商。当然这个主机商成立时间更早一些的,由于早期提供支付宝付款后,所以受众用户比较青睐,要知道我们早期购买海外主机是比较麻烦的,信用卡和PAYPAL还没有普及,大家可能只有银联和支付宝,很多人选择海外主机还需要代购。虽然如今很多人建站少了,而且大部分人都用云服务器。但是老鹰主机...
iWebFusion(iWFHosting)在部落分享过很多次了,这是成立于2001年的老牌国外主机商H4Y旗下站点,提供的产品包括虚拟主机、VPS和独立服务器租用等等,其中VPS主机基于KVM架构,数据中心可选美国洛杉矶、北卡、本德、蒙蒂塞洛等。商家独立服务器可选5个不同机房,最低每月57美元起,而大流量10Gbps带宽服务器也仅149美元起。首先我们分享几款常规服务器配置信息,以下机器可选择5...
官方网站:点击访问王小玉网络官网活动方案:买美国云服务器就选MF.0220.CN 实力 强 强 强!!!杭州王小玉网络 旗下 魔方资源池 “我亏本你引流活动 ” mf.0220.CNCPU型号内存硬盘美国CERA机房 E5 2696v2 2核心8G30G总硬盘1个独立IP19.9元/月 续费同价mf.0220.CN 购买湖北100G防御 E5 2690v2 4核心4G...
ccdp为你推荐
伪装微信地理位置微信和微信伪装地理位置打不开怎么办?一点就一闪就完了金山杀毒怎么样金山杀毒好吗pwlosera,pw是什么,是不认识的人发的短信。请解释::1433端口1433端口怎么打开ps抠图技巧ps的抠图技巧是什么安装迅雷看看播放器迅雷看看播放器下了安装不了bt封杀BT下载被封锁了,怎么办,下载不了电影了!虚拟机软件下载谁有好用的虚拟机软件?微信怎么看聊天记录如何查找微信聊天记录如何修改ie主页怎样修改IE主页
yaokan永久域名经常更换 游戏服务器租用 3322免费域名 踢楼 Hello图床 512m内存 国外在线代理 本网站在美国维护 美国十次啦服务器 135邮箱 服务器是干什么的 南通服务器 中国电信宽带测速网 raid10 免费asp空间 个人免费邮箱 fatcow 海外加速 winserver2008r2 遨游论坛 更多