HKEY Current config is a directory in the registry of a Windows operating system. It contains low level commands that are usually named after their API designations.
You want to totally reinitialize the router and replace the current running-config with the current startup-config. What command will you use?
HKEY_USERS
hkey_users
it save the current program to nvram
Show running-config
Router(config)# hostname AdminAdmin(config)# enable secret cangetinAdmin(config)# interface fa0/1Admin(config-if)#ip address 192.168.1.22 255.255.255.248Router(config)# hostname AdminAdmin(config)# enable password cangetinAdmin(config)# interface fa0/1Admin(config-if)# ip address 192.168.1.22 255.255.255.248Router(config)# hostname AdminAdmin(config)# enable secret cangetinAdmin(config)# interface fa0/0Admin(config-if)# ip address 192.168.1.22 255.255.255.248Router(config)# hostname AdminAdmin(config)# enable password cangetinAdmin(config)# interface fa0/0Admin(config-if)# ip address 192.168.1.22 255.255.255.248
The statup-config is the configuration that is loaded when the router boots or powers up. The runnning-config is the current configuration in the router. It may have been modified since the last boot and so might be different. Having these two provides a nice safety feature. Changes can be made to the running-config and if something badly goes wrong, you can restart the router and get back to the configuration without the changes.
startup-config resides in NVRAM and running-config resides in RAM.
To save the running configuration on a router, you typically use the command copy running-config startup-config in the privileged EXEC mode. This command copies the current configuration stored in RAM (running-config) to NVRAM (startup-config), ensuring that the configuration is retained after a reboot. Alternatively, you can use the shorthand command write memory. Always confirm the save by checking the startup configuration with the show startup-config command.
The IOS command to copy the running configuration to NVRAM is copy running-config startup-config. This command saves the current configuration in RAM (running config) to the non-volatile memory (NVRAM), ensuring that the configuration is preserved after a reboot. You can also use the shorthand version, wr or write memory, to achieve the same result.
If you want to make the saved configuration the current configuration, essentially undoing configuration changes since you last saved, you can use:copy start runcopy startup-config running-config
R3#configure terminalR3(config)#access-list 104 permit ip 10.0.0.128 0.0.0.127 anyR3(config)#ip nat inside source list 104 interface Serial0/0/0 overloadR3(config)#interface fastEthernet0/1R3(config-if)#ip access-group 104 inR3(config-if)#ip nat insideR3(config-if)#exitR3(config)#interface Serial0/0/0R3(config-if)#ip nat outsideR3(config-if)#exitR3(config)#interface Serial0/0/1R3(config-if)#ip nat outsideR3(config-if)#endWriting by vanhuuvt32bonphuonglanha@gmail.com