Cisco IOS Software by default doesn't enable archive config feature. What is for this feature ? It's very usefull to always save config whenever you modify. I can say it's automatic backup config when modify happen. What is trigger configuration is change in IOS software ? Saving (write memory). Every time 'write memory' is execute, IOS will be copy configuration from running-config to startup-config. We use that trigger to backup configuration to another file every time 'write memory' is execute.
# Enable archive #
IOS#show archive
Archive feature not enabled
IOS(config)#
archive
path disk0:/
write-memory
IOS#show archive
There are currently 1 archive configurations saved.
The next archive file will be named disk0:/-1
Archive # Name
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Make manual archive or backup running-config #
IOS#archive config
IOS#show archive
There are currently 2 archive configurations saved.
The next archive file will be named disk0:/-2
Archive # Name
0
1 disk0:/-1 <- font="" most="" recent="">->
2
3
4
5
6
7
8
9
10
11
12
13
14
# Automatic make archive (backup) when write memory #
IOS#write memory
Building configuration...
[OK]
IOS#show archive
There are currently 3 archive configurations saved.
The next archive file will be named disk0:/-3
Archive # Name
0
1 disk0:/-1
2 disk0:/-2 <- font="" most="" recent="">->
3
4
5
6
7
8
9
10
11
12
13
14
Why are we need to archive config ?
We can rollback configuration from archive anytime, copy archive config to running-config even archive config save 14 configuration.
Have fun, I hope it usefull.
Thursday, July 25, 2013
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment