Configuration Examples For Configuration Replace And Configuration Rollback; Creating A Configuration Archive; Replacing The Current Running Configuration With A Saved Cisco Ios Configuration File - Cisco Catalyst 9200 Configuration Manual

Hide thumbs Also See for Catalyst 9200:
Table of Contents

Advertisement

Configuration Replace and Configuration Rollback
Use this command to exit to user EXEC mode.
Example:
Device# exit
Device>
Configuration Examples for Configuration Replace and
Configuration Rollback

Creating a Configuration Archive

The following example shows how to perform the initial configuration of the Cisco IOS configuration archive.
In this example, flash:myconfiguration is specified as the location and filename prefix for the files in the
configuration archive and a value of 10 is set as the maximum number of archive files to be saved.
configure terminal
!
archive
path flash:myconfiguration
maximum 10
end
Replacing the Current Running Configuration with a Saved Cisco IOS
Configuration File
The following example shows how to replace the current running configuration with a saved Cisco IOS
configuration file named flash:myconfiguration. The configure replace command interactively prompts you
to confirm the operation.
Device# configure replace flash:myconfiguration
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
In the following example, the list keyword is specified in order to display the command lines that were applied
during the configuration replace operation:
Device# configure replace flash:myconfiguration list
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

Configuration Examples for Configuration Replace and Configuration Rollback

System Management Configuration Guide, Cisco IOS XE Gibraltar 16.10.x (Catalyst 9200 Switches)
191

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents