The current settings of the router are stored in RAM, this type of memory loss when switched off the content router. To prevent this from happening it is necessary to make a copy to the NVRAM. The copy command is used for this purpose, identifying a data source to store and a destination where such data are stored. You can save settings to NVRAM RAM, the RAM to a TFTP server, etc…
MADRID # copy running-config startup-config
Copy RAM to NVRAM
MADRID # copy running-config startup-config
A copy of the NVRAM to RAM
A copy of the RAM to a TFTP server, is this case the router for the name of file that was saved configuration and IP address of the server. To execute the reverse process, the router must have at least one active network connection to the tftp server.
MADRID # copy running-config tftp
Remote host []? 204.200.10.56
Name of configuration file to write [madrid-confgen]?
Write file confgen madrid-host on 204.200.10.56? [Confirm]
Building configuration …
Madrid-confgen Writing ..
!!!!!!!!!!!!!!!!!!!!!
Commands
MADRID # show running-config
MADRID # show startup-config
Are the contents of RAM and NVRAM respectively
Below is a copy of a show startup-config, is observed in the first line and the amount of memory that is being used, then the version of IOS software:
Using 886 out of 131 066 bytes
!
version 11.2
no service password-encryption
no service udp-small-servers
no service tcp-small-servers
!
MADRID hostname
!
enable secret $ 5 $ 1 $ EBMD 0rTOiN4QQab7s8AFzsSof /
enable password cisco
!
SERVIDOR_WEB host ip 204.200.1.2
ip host 220.220.10.32 ROUTER_A
ip host 210.210.2.22 HOST_ADMIN
!
interface Ethernet0
INTERFAZ_DE_LAN description
ip address 192.168.1.1 255.255.255.0
shutdown
!
interface ethernet1
no ip address
How to delete the contents of the reports
The configuration data stored in nonvolatile memory are not affected by power failure, the contents will remain in the NVRAM until you run the appropriate command for removal:
MADRID # erase startup-config
On the contrary there is no command to delete the contents of the RAM. If the administrator tries to leave without any data or configuration must bounce off the router. The running is cleared only to the lack of power supply:
MADRID # reload
System configuration has-been modified. Save? [Yes / no]: no
Proceed with reload? [Confirm]
To completely clear answer settings
NO to the question if you want to save.
Take special care to erase memories, sure to remove what you want before confirming the deletion.