Configuring a Cisco router or switch requires a series of settings that are typically saved on the device. It is important to save these configurations for future reference or whenever a reboot is required. One way to do this is to load the startup config, which is the configuration file that contains the settings previously saved on the device. In this article, we will discuss how to load startup config on a Cisco router or switch.
Backing up the Startup Configuration
Before discussing how to load the startup configuration, it is important to discuss how to back it up. This is important because the startup configuration contains all the settings required for the device to function properly. If this file is lost or corrupted, the device may not function as expected. To back up the startup configuration, use the following command:
router# copy startup-config tftp
This command copies the startup configuration file to a TFTP server for safekeeping.
Loading the Startup Configuration
When a router or switch is booted, it loads the configuration file in the NVRAM. If this file is missing or corrupted, the device may fail to boot properly. To load the startup configuration, use the following command:
router# copy startup-config running-config
This command copies the startup configuration file to the running configuration, which is the active configuration for the device.
Verifying the Startup Configuration
To verify that the startup configuration has been loaded correctly, use the following command:
router# show startup-config
This command displays the contents of the startup configuration file. Verify that all the settings have been loaded correctly.
Saving the Configuration
After loading the startup configuration, it is important to save any changes made to the device. To save the configuration, use the following command:
router# copy running-config startup-config
This command saves the running configuration to the startup configuration file in the NVRAM.
Conclusion
In this article, we have discussed how to load the startup configuration on a Cisco router or switch. It is important to back up the startup configuration, load it correctly, verify its contents, and save any changes made to the device. By following these steps, you can ensure that your device functions properly and that your configurations are saved for future reference or whenever a reboot is required.