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.
ftlcloud怎么样?ftlcloud(超云)目前正在搞暑假促销,美国圣何塞数据中心的云服务器低至9元/月,系统盘与数据盘分离,支持Windows和Linux,免费防御CC攻击,自带10Gbps的DDoS防御。FTL-超云服务器的主要特色:稳定、安全、弹性、高性能的云端计算服务,快速部署,并且可根据业务需要扩展计算能力,按需付费,节约成本,提高资源的有效利用率。点击进入:ftlcloud官方网站...
ATCLOUD.NET怎么样?ATCLOUD.NET主要提供KVM架构的VPS产品、LXC容器化产品、权威DNS智能解析、域名注册、SSL证书等海外网站建设服务。 其大部分数据中心是由OVH机房提供,其节点包括美国(俄勒冈、弗吉尼亚)、加拿大、英国、法国、德国以及新加坡。 提供超过480Gbps的DDoS高防保护,杜绝DDoS攻击骚扰,比较适合海外建站等业务。官方网站:点击访问ATCLOUD官网活...
DMIT怎么样?DMIT是一家美国主机商,主要提供KVM VPS、独立服务器等,主要提供香港CN2、洛杉矶CN2 GIA等KVM VPS,稳定性、网络都很不错。支持中文客服,可Paypal、支付宝付款。2020年推出的香港国际线路的KVM VPS,大带宽,适合中转落地使用。现在有永久9折优惠码:July-4-Lite-10OFF,季付及以上还有折扣,非 中国路由优化;AS4134,AS4837 均...
ccdp为你推荐
安装程序配置服务器失败win10安装程序配置服务器失败怎么办支付宝查询余额我的支付宝如何查询余额拂晓雅阁我对电脑操作不熟悉,想买一本自学的电脑书籍,是电脑入门那一类的,最好还有办公软件应用那一类的flash导航条如何添加FLASH导航条bluestacksbluestacks怎么用显卡温度多少正常显卡温度多少算正常?9flash在“属性”对话框中的“Move”后面的框中输入Flash动画文件的绝对路径及文件名,这句话怎么操作?xp系统停止服务XP停止服务后该怎么办?免费免费建站我想建一个自己的免费网站,但不知道那里有..bt封杀BT下载可以封杀迅雷吗?什么原理?能破吗?
抗投诉vps主机 圣迭戈 日志分析软件 天猫双十一秒杀 京东云擎 三拼域名 福建天翼加速 圣诞促销 双拼域名 免费防火墙 如何用qq邮箱发邮件 购买国外空间 国外视频网站有哪些 web服务器是什么 德隆中文网 游戏服务器出租 浙江服务器 万网主机 如何登陆阿里云邮箱 新疆服务器 更多