Commands to Manipulate Configurations
Command Meaning
Todd#copy running-config startup-config Saves the running configuration to NVRAM
Todd#show running-config Shows the running configuration on the terminal
Todd#show startup-config Shows the start-up configuration (in NVRAM) on
the terminal
Todd#erase startup-config Erases the configuration stored in NVRAM
You can manually save the file from DRAM to NVRAM by using the copy runningconfig
startup-config command (you can use the shortcut copy run start also):
Todd#copy running-config startup-config
Destination filename [startup-config]? [press enter]
Building configuration...
[OK]
Todd#
Building configuration...
Todd#show running-config
Building configuration...
Current configuration : 3343 bytes
!
version 12.4
[output cut]
The sh start command—one of the shortcuts for the show startup-config command—
shows you the configuration that will be used the next time the router is reloaded. It also tells
you how much NVRAM is being used to store the startup-config file. Here’s an example:
Todd#show startup-config
Using 1978 out of 245752 bytes
!
version 12.4
[output cut]
Todd#erase startup-config
Erasing the nvram filesystem will remove all configuration files!
Continue? [confirm][enter]
[OK]
Erase of nvram: complete
Todd#
*Feb 28 23:51:21.179: %SYS-7-NV_BLOCK_INIT: Initialized the geometry of nvram
Todd#sh startup-config
startup-config is not present
Todd#reload
Proceed with reload? [confirm]System configuration has been modified.
Save? [yes/no]: n