Reverting To The Startup Configuration File; Performing A Configuration Replace Operation With The Configure Confirm Command; Performing A Configuration Rollback Operation - Cisco Catalyst 9200 Configuration Manual

Hide thumbs Also See for Catalyst 9200:
Table of Contents

Advertisement

Reverting to the Startup Configuration File

!Pass 1
!List of Commands:
no snmp-server community public ro
snmp-server community mystring ro
end
Total number of passes: 1
Rollback Done
Reverting to the Startup Configuration File
The following example shows how to revert to the Cisco IOS startup configuration file using the configure
replace command. This example also shows the use of the optional force keyword to override the interactive
user prompt:
Device# configure replace flash:startup-config force
Total number of passes: 1
Rollback Done
Performing a Configuration Replace Operation with the configure confirm
Command
The following example shows the use of the configure replace command with the time minutes keyword
and argument. You must enter the configure confirm command within the specified time limit to confirm
replacement of the current running configuration file. If the configure confirm command is not entered within
the specified time limit, the configuration replace operation is automatically reversed (in other words, the
current running configuration file is restored to the configuration state that existed prior to entering the
configure replace command).
Device# configure replace flash:startup-config time 120
This will apply all necessary additions and deletions
to replace the current running configuration with the
contents of the specified configuration file, which is
assumed to be a complete configuration, not a partial
configuration. Enter Y if you are sure you want to proceed. ? [no]: Y
Total number of passes: 1
Rollback Done
Device# configure confirm
The following example shows the use of the configure revert command with the timer keyword. You must
enter the configure revert command to cancel the timed rollback and trigger the rollback immediately, or to
reset parameters for the timed rollback.
Device# configure revert timer 100

Performing a Configuration Rollback Operation

The following example shows how to make changes to the current running configuration and then roll back
the changes. As part of the configuration rollback operation, you must save the current running configuration
before making changes to the file. In this example, the archive config command is used to save the current
running configuration. The generated output of the configure replace command indicates that only one pass
was performed to complete the rollback operation.
System Management Configuration Guide, Cisco IOS XE Gibraltar 16.10.x (Catalyst 9200 Switches)
192
Configuration Replace and Configuration Rollback

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents