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 9400 System Management Configuration Manual

Cisco ios xe bengaluru 17.4.x
Hide thumbs Also See for Catalyst 9400:
Table of Contents

Advertisement

Configuration Replace and Configuration Rollback
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
!Pass 1
!List of Commands:
no snmp-server community public ro
System Management Configuration Guide, Cisco IOS XE Bengaluru 17.4.x (Catalyst 9400 Switches)

Configuration Examples for Configuration Replace and Configuration Rollback

335

Advertisement

Table of Contents
loading

Table of Contents