configuration new

Prev Next

Description

Creates a new configuration file with the factory default settings which include the license from the running configuration as well as the active configuration’s IP settings, host keys, and CMC rendezvous configuration.

Syntax

configuration newfile_name[factory {keep-basic [keep-connect] | keep-connect}]

Parameters

file_name

Name of the new configuration file. The name cannot be “active.”

factory

Creates a new file with only factory defaults. Excludes the license from the new configuration.

keep-basic

Creates a new factory configuration file but retains basic licensing, host keys, and CMC rendezvous configuration settings. This parameter can include:

  • keep-connect—Keeps configuration necessary for network connectivity, including interfaces, routes, and Address Resolution Protocol (ARP).

keep-connect

Creates a new factory configuration file but retains established IP settings from the active configuration (interfaces, routes, and ARP).

Example

The following example creates a new configuration with the factory default settings and the current license and basic configuration as well as the keep-connect IP settings.

hostname (config) # configuration new newconfig factory keep-basic keep-connect

configuration factory

configuration fetch