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.
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
Remove Console password router>enable router#configure terminal router(config)#line console 0 router(config-line)#no login router(config-line)#no password router(config-line)#exit router(config)#exit
Router(config)#Copy running-config startup-config