Objective: Become familiar with the router configuration and the copy commands available in the Cisco IOS.
Lab Equipment: Router 1 from the eRouters menu
Background Reading: Lab Primer Lesson 1: Introduction to the Cisco Router Command-Line Interface
1. Connect to Router 1, and enter privileged mode.
Router>enable
Router#

2. Display the active configuration in memory. The currently active configuration script running on the router is referred to as the running-config in the router’s CLI. Note that privileged mode is required to display the active configuration. The running configuration script is not automatically saved on a Cisco router and will be lost in the event of power failure. The running configuration must be manually saved with the copy command.
Router#show running-config
CCNA(Stand-ALONE)Lab 7-Copy Command_Copy

3. Try to display the configuration stored in NVRAM (known as the startup-config). You have not saved the configuration, so there is not one to show.
Router#show startup-config
CCNA(Stand-ALONE)Lab 7-Copy Command_Command_02

4. Copy the current active configuration to NVRAM. The current active configuration is in RAM; it should be saved so that the router will still boot up with the configuration in the event of a power outage.
Router#copy running-config startup-config
CCNA(Stand-ALONE)Lab 7-Copy Command_休闲_03

5. Now, show the configuration stored in NVRAM.
Router#show startup-config
CCNA(Stand-ALONE)Lab 7-Copy Command_Copy_04

6. If you decide that you would like to configure the router from scratch, you can erase the startup configuration and reload the router. This will enable you to completely delete all configurations on the router so that you can start from scratch. Type the command that will delete the configuration file in NVRAM. When prompted, confirm that you do want to erase the NVRAM file system by pressing the Y key.
Router#erase startup-config
CCNA(Stand-ALONE)Lab 7-Copy Command_Copy_05

7. Now, type the command to reload the router, and press the Y key when prompted to confirm the reload.
Router#reload
CCNA(Stand-ALONE)Lab 7-Copy Command_职场_06
CCNA(Stand-ALONE)Lab 7-Copy Command_Command_07

8. After the router reboots, look at the startup configuration file again. Because you did not save it before you reloaded, there is nothing there.
Router>enable
Router#show startup-config
CCNA(Stand-ALONE)Lab 7-Copy Command_休闲_08

9. Now, change the host name of the router to Boson.
Router#config terminal
Router(config)#hostname Boson
Boson(config)#exit
Boson#
CCNA(Stand-ALONE)Lab 7-Copy Command_CCNA_09

10. Save your router configuration, and reload the router. Again, press the Y key when prompted to confirm the reload.
Boson#copy run start
Boson#reload
CCNA(Stand-ALONE)Lab 7-Copy Command_Command_10

11. After the router reloads, the host name of Boson appears in the prompt. If you run the show startup-config command, nothing appears.
Boson>enable
Boson#show startup-config
CCNA(Stand-ALONE)Lab 7-Copy Command_职场_11
******************************************************