configuration write

Prev Next

Saves the running configuration to the current active configuration file, or to a specified configuration file which becomes the new active configuration. The active configuration is loaded automatically when you reboot the system. The configuration changes are applied immediately to the running configuration, but they must be saved to a configuration file if you want to retain them after the next reboot.

Syntax

configuration write [to <file_name> [no-switch]]

Parameters

to <file_name>

Name of the configuration file where the running configuration is saved. This file becomes the new active configuration with a new name. This command includes an optional parameter:

  • no-switch—Saves the configuration to a new file but keeps the current configuration active.

Example

The following example saves the running configuration to a configuration file but keeps the current configuration file active.

hostname (config) # configuration write to newconfig no-switch