copy running-config startup-config saves the active running-config to startup-config. The running configuration operates from RAM and changes take effect immediately; startup-config resides in NVRAM and is loaded after a reboot. section 5.3 section 5.5
Use the command in privileged EXEC mode:
- copy running-config startup-config section 5.3
- write memory and write perform the same copy operation. section 5.3
- Without saving, a restart loses running-config changes and may restore the factory-default configuration. section 5.3
Practical scenario
After configuring an interface or routing setting, save it with copy running-config startup-config before reloading the device. The saved configuration then survives power-off and restart. section 5.3
