Ad space (banner)
📡Networking Lessons
Lesson 25 / 39

Saving the Configuration with copy running-config startup-config

To avoid "I configured everything and a reboot wiped it out," use copy running-config startup-config. It copies the active configuration (running-config) into the saved configuration read at boot (startup-config).

The syntax is copy running-config startup-config, in privileged EXEC mode.

Running copy running-config startup-config writes the current configuration to the device's non-volatile memory, so it survives a power cycle or reboot.

A common stumble is forgetting to run it after making changes; an unplanned reboot then silently erases every change you made.

In real work, it is one of the most important commands in device operations — always executed as the final step of any configuration work.

Networking
Try it (type this into the pseudo terminal)
copy running-config startup-config

🧑‍💻 You can type this command into the Networking pseudo terminal to try it yourself (this page itself has no interactive terminal).

Ad space (banner)
Ad space (in-article)