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.
OneTechCloud(易科云)是一家主打CN2等高端线路的VPS主机商家,成立于2019年,提供的产品包括VPS主机和独立服务器租用等,数据中心可选美国洛杉矶、中国香港、日本等,有CN2 GIA线路、AS9929、高防、原生IP等。目前商家针对全场VPS主机提供月付9折,季付8折优惠码,优惠后香港VPS最低季付64元起(≈21.3元/月),美国洛杉矶CN2 GIA线路+20Gbps防御型VPS...
官方网站:点击访问星梦云活动官网活动方案:机房CPU内存硬盘带宽IP防护流量原价活动价开通方式成都电信优化线路4vCPU4G40G+50G10Mbps1个100G不限流量210元/月 99元/月点击自助购买成都电信优化线路8vCPU8G40G+100G15Mbps1个100G不限流量370元/月 160元/月点击自助购买成都电信优化线路16vCPU16G40G+100G20Mb...
BuyVM测评,BuyVM怎么样?BuyVM好不好?BuyVM,2010年成立的国外老牌稳定商家,Frantech Solutions旗下,主要提供基于KVM的VPS服务器,数据中心有拉斯维加斯、纽约、卢森堡,付费可选强大的DDOS防护(月付3美金),特色是1Gbps不限流量,稳定商家,而且卢森堡不限版权。1G或以上内存可以安装Windows 2012 64bit,无需任何费用,所有型号包括免费的...
ccdp为你推荐
bbsxp怎么用 CUTEFTP上传BBSXP到FTP服务器人人时光机怎么查看人人网的注册时间?邮箱打不开怎么办163邮箱突然打不开了怎么办照片转手绘有什么软件可以把相片变成手绘的,不是美图秀秀里面的ios系统ios系统有哪些版本?电子商务网站模板网页制作模板blogcn哪种博客更好...sina.baidu.blogcn还是.............?QzongQZONG怎么玩?声母是什么哪些是声母,哪些是韵母,微信怎么看聊天记录微信如何查找聊天记录
php空间租用 godaddy续费优惠码 空间打开慢 网页背景图片 空间服务商 hinet 新家坡 佛山高防服务器 in域名 免费mysql数据库 免费外链相册 阿里云官方网站 web应用服务器 iki 贵阳电信 中国联通宽带测速 阿里云个人邮箱 广州服务器托管 hdsky magento主机 更多