IOS : Configure Replace
Where have I been ????
I didn’t know the command : configure replace, but that’s working fine.
First, save your config to flash:
copy run flash:running_dec.txt
the do your thing on the switch/router
int g 2/1
and if you want to revert back to the old config, without rebooting :
Wifi_6503#configure replace disk0:running_dec.txt
This will apply all necessary additions and deletions
to replace the current running configuration with the
contents of the specified configuration file, which is
assumed to be a complete configuration, not a partial
configuration. Enter Y if you are sure you want to proceed. ? [no]: yes
00:25:30: Rollback:Acquired Configuration lock.
Total number of passes: 1