Overwrite Running Config Rather Than Merge On A Cisco Router

To replace the current running configuration with aInterface IP-Address OK? Method Status Protocol
saved Cisco IOS configuration file, use the configureFastEthernet0/0 10.10.10.3 YES manual up up
replace command in privileged EXEC mode.FastEthernet0/1 10.1.1.1 YES manual administratively
Router#configure replace flash:test.cfgdown down
This command will replace (NOTE: not merge) theSerial0/3/0 unassigned YES unset administratively
running config with the config in file test.cfg. Thisdown down
command was introduced in 12.3(7)TNOTE the following:
Here is an example of the effect:1) Router name has changed
Router#sh ip int brief2) FastEthernet 0/1 no longer has an IP address
Interface IP-Address OK? Method Status Protocol3) FastEthernet 0/1 is shutdown
FastEthernet0/0 10.10.10.3 YES manual up upThis is great as rather than just MERGING a config,
FastEthernet0/1 10.1.1.1 YES manual up upthe command REPLACES the config. You can
Serial0/3/0 unassigned YES unset administrativelyreplace the running-config from many
down downplaces:r1#configure replace ?archive: URL of config file
Router#configure replace flash:test.cfgthat will replace running-configcns: URL of config file
This will apply all necessary additions and deletionstothat will replace running-configflash: URL of config file
replace the current running configuration withthat will replace running-configftp: URL of config file
thecontents of the specified configuration file, whichthat will replace running-confighttp: URL of config file
isassumed to be a complete configuration, not athat will replace running-confighttps: URL of config file
partialconfiguration. Enter Y if you are sure you wantthat will replace running-confignull: URL of config file
to proceed. ? [no]: ythat will replace running-confignvram: URL of config file
Total number of passes: 1that will replace running-configpram: URL of config file
Rollback Doner1#that will replace running-configrcp: URL of config file
Dec 18 00:44:05.927: Rollback:Acquired Configurationthat will replace running-configscp: URL of config file
lock.that will replace running-configsystem: URL of config
Dec 18 00:44:07.703:file that will replace running-configtftp: URL of config file
%PARSER-3-CONFIGNOTLOCKED: Unlockthat will replace running-configxmodem: URL of config
requested by process '3'.file that will replace running-configymodem: URL of
Configuration not locked.config file that will replace running-config
Dec 18 00:44:08.819: %LINK-5-CHANGED: InterfaceYou could thus have a backup config in flash or on a
FastEthernet0/1, changed state to administrativelyTFTP server and restore immediately to running config.
downr1#sh ip int brief