removesccdp

ccdp  时间:2021-02-27  阅读:()
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.

Digital-VM暑期全场六折优惠,8个机房

Digital-VM商家目前也在凑热闹的发布六月份的活动,他们家的机房蛮多的有提供8个数据中心,包括日本、洛杉矶、新加坡等。这次六月份的促销活动全场VPS主机六折优惠。Digital-VM商家还是有一点点特点的,有提供1Gbps和10Gbps带宽的VPS主机,如果有需要大带宽的VPS主机可以看看。第一、商家优惠码优惠码:June40全场主机六折优惠,不过仅可以月付、季付。第二、商家VPS主机套餐1...

pacificrack:超级秒杀,VPS低至$7.2/年,美国洛杉矶VPS,1Gbps带宽

pacificrack又追加了3款特价便宜vps搞促销,而且是直接7折优惠(一次性),低至年付7.2美元。这是本月第3波便宜vps了。熟悉pacificrack的知道机房是QN的洛杉矶,接入1Gbps带宽,KVM虚拟,纯SSD RAID10,自带一个IPv4。官方网站:https://pacificrack.com支持PayPal、支付宝等方式付款7折秒杀优惠码:R3UWUYF01T内存CPUSS...

hosthatch:14个数据中心15美元/年

hosthatch在做美国独立日促销,可能你会说这操作是不是晚了一个月?对,为了准备资源等,他们拖延到现在才有空,这次是针对自己全球14个数据中心的VPS。提前示警:各个数据中心的网络没有一个是针对中国直连的,都会绕道而且ping值比较高,想买的考虑清楚再说!官方网站:https://hosthatch.com所有VPS都基于KVM虚拟,支持PayPal在内的多种付款方式!芝加哥(大硬盘)VPS5...

ccdp为你推荐
fontfamilyfont-family:ms shell dlg是什么意思?qq讨论组qq讨论组是什么意思?万维读者网罂粟花的含义?百度k站百度k站为什么中国电信互联星空电信的互联星空服务是什么?数码资源网安卓有没有可以离线刷题的软件?如何建立一个网站要建立一个网站怎么弄啊?创维云电视功能创维电视怎么用,我买了个创维云电视,现在不知道怎么用手机往电视上传照片,谁能解答以下,mate8价格华为mate8 128g售价多少钱系统分析员考系统分析员有什么好处?
linuxvps pccw 免备案cdn 美国php主机 鲜果阅读 空间出租 老左正传 lol台服官网 双11秒杀 华为云服务登录 视频服务器是什么 lamp怎么读 ledlamp 阿里云个人邮箱 hostease 湖南铁通 美国主机 paypal兑换 ddos攻击教程 流媒体服务器软件 更多