How To Save Configuration in Cisco Router And Erase Cisco Router Configuration– Cisco certifications labs using Cisco packet tracer
In this tutorial you will learn how to save a configuration in cisco router, how to erase config on cisco router and Cisco commands for how to show cisco router running config and startup configuration. Cisco routers starts executing startup configurations, any changes made to the router’s configuration while it is running is erased on each restart of a router, if you do want to retain any changes made to the router configurations after a restart then you must know the cisco commands for saving running configuration to startup configuration. Commands for writing and displaying router running configurations or startup configuration can be executed in Privileged Exec mode. So for displaying, saving or erasing Cisco router configuration you need to be at the Privileged Exec mode. For more about Cisco router modes click here.
At Privileged mode (UpaaeRouter1 being the host name) the prompt will look like this UpaaeRouter1# .
Cisco Show Commands for displaying running configuration and startup configuration:
UpaaeRouter1# show running-config // executing this command will display the router running configuration. UpaaeRouter1# show startup-config // executing this command displays/show startup configuration pf cisco router.
Cisco commands To save configurations in Cisco Router:
Save running configuration to startup configuration
UpaaeRouter1# copy running-config startup-config // this command will save the configuration changes you have made (running-configuration) to startup-configuration in the NVRAM.
Save startup configuration to running configuration
UpaaeRouter1# copy startup-config running-config // this command will write the startup configuration to the running configuration.
How To Erase Configuration on Cisco Router:
If you want to clear the configuration of your cisco router follow these steps:
- Log on to your router.
- Enter the privileged EXEC by typing enable command.
- At privileged EXEC mode type write erase, which will erase the NVRAM file system and removes all files.
- Confirm that you want to erase all files at prompt.
- After the complete execution of “step 4” enter reload, and type no when prompted whether to save the configuration.
UpaaeRouter1# write erase
UpaaeRouter1# reload // these two commands will erase both running and startup configurations.
Recommended Resources for CCNA Exam:
Following are the resources which every Cisco Networking student should be equipped with, these will not only guarantee passing Cisco Exams, but will help you understand every pitfall and minor details of Cisco networking.
- CCNA Routing and Switching Complete Study Guide: Exam 100-105, Exam 200-105, Exam 200-125
- CCNA Routing and Switching 200-125 Official Cert Guide Library
- CCNA Routing and Switching Portable Command Guide (ICND1 100-105, ICND2 200-105, and CCNA 200-125)
- Cisco CCNA Simplified: Your Complete Guide to Passing the Cisco CCNA Routing and Switching Exam (Kindle Edition).