Cisco IOS configuration file auto backup and rollback

目录
Since IOS ver 12.3(4), Cisco introduced the Archive mode into the IOS which could be used for backup the configuration file automatically and roll back the configuration to an earlier version. Below are some IOS commands for this.
|
|
for example:
|
|
$h
will be replaced by the hostname. The final backup name will be hostname-confg-1
, hostname-confg-2
, etc.
|
|
Manually archive with following command will generate the file name as hostname-config-0
,
|
|
Rollback to the earlier version of the config
|
|