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.
丽萨主机怎么样?丽萨主机,团队于2017年成立。成立之初主要做的是 CDN 和域名等相关业务。最近开辟新领域,新增了独立服务器出租、VPS 等业务,为了保证业务质量从一开始就选择了中美之间的 CN2 GIA 国际精品网络,三网回程 CN2 GIA,电信去程 CN2 GIA + BGP 直连智能路由,联通移动去程直连,原生IP。适合对网络要求较高的用户,同时价格也比较亲民。点击进入:丽萨主机官方网站...
金山云618年中促销活动正在进行中!金山云针对企业级新用户优惠力度比普通个人用户优惠力度要大,所以我们也是推荐企业新用户身份购买金山云企业级云服务器,尽量购买3年配置的,而不是限时秒杀活动中1年的机型。企业级用户购买金山云服务器推荐企业专区:云服务器N3 2核4G云服务器,1-5M带宽,827.64元/3年,性价比高,性能稳定!点击进入:金山云618年中促销活动目前,金山云基础型E1云服务器2核4...
说明一下:gcorelabs的俄罗斯远东机房“伯力”既有“Virtual servers”也有“CLOUD SERVICES”,前者是VPS,后者是云服务器,不是一回事;由于平日大家习惯把VPS和云服务器当做一回事儿,所以这里要特别说明一下。本次测评的是gcorelabs的cloud,也就是云服务器。 官方网站:https://gcorelabs.com 支持:数字加密货币、信用卡、PayPal...
ccdp为你推荐
明星论坛www.51.com是一个关于什么的网站?google竞价排名谷歌是靠什么关键词排名的?谷歌竞价有什么特点?有什么优势?伪装微信地理位置怎么伪装微信地理位置?淘宝收费淘宝要收费吗?数码资源网有什么网站弄相片效果比较好的?如何建立一个网站怎样能创建一个网站硬盘人上海人说“硬盘”是什么梗xp系统停止服务XP停止服务后该怎么办?安装迅雷看看播放器迅雷看看播放器下了安装不了idc前线穿越火线河北的服务器好卡 有人知道怎么回事嘛 知道的速回
草根过期域名 paypal认证 42u标准机柜尺寸 亚洲小于500m dd444 河南移动邮件系统 大容量存储器 新天域互联 刀片服务器的优势 cn3 免费申请网站 东莞服务器托管 ssl加速 阿里云邮箱怎么注册 碳云 alexa世界排名 海外加速 winserver2008r2 vi命令 域名商城 更多