This feature was introduced into Cisco IOS Release 12.3(4), the Archive
command enables the administrator to configure snapshots of the
configuration files.[inspiration here]
On a 3750 Switch, I bumped into the following error:
%ARCHIVE_CONFIG-4-ARCHIVE_SKIPPED: Archive of router configuration was skipped due to a previous initiation.
I also tried to save a copy on the switch, but still, the archive didn't worked:
BEFORE:
switch#show archive
The maximum archive configurations allowed is 14.
There are currently 1 archive configurations saved.
The next archive file will be named flash:/ARCHIVE-<timestamp>-1
Archive # Name
1 flash:/ARCHIVE-Mar--1-02-01-51.358-EET-0 <- Most Recent
2
3
4
5
6
7
8
9
10
switch# archive config
Mar 31 11:55:23.016 EET: %ARCHIVE_CONFIG-4-ARCHIVE_SKIPPED: Archive of router configuration was skipped due to a previous initiation.
AFTER: (the same result)
switch#show archive
The maximum archive configurations allowed is 14.
There are currently 1 archive configurations saved.
The next archive file will be named flash:/ARCHIVE-<timestamp>-1
Archive # Name
1 flash:/ARCHIVE-Mar--1-02-01-51.358-EET-0 <- Most Recent
2
3
4
5
6
7
8
9
10
There seems to be 2 workarounds: one that solves the problem after a reboot, but you can figure out on your own that reloading a production device in the middle of the day is not exactly dream hack.
The second one assumes to erase and reconfigure the archive configuration, and so I did. And IT WORKS. You can see the results bellow:
switch(config)#no archiveswitch(config)#archive
switch(config-archive)# log config
switch(config-archive-log-cfg)# logging enable
switch(config-archive-log-cfg)# logging size 500
switch(config-archive-log-cfg)# hidekeys
switch(config-archive)# path flash:ARCHIVE/
switch(config-archive)# write-memory
switch(config-archive)# time-period 10080
switch#show archive
The maximum archive configurations allowed is 14.
There are currently 1 archive configurations saved.
The next archive file will be named flash:ARCHIVE/-<timestamp>-1
Archive # Name
1 flash:ARCHIVE/Mar-31-12-05-16.835-EET-0 <- Most Recent
2
3
4
5
6
7
8
9
10
switch#archive config
switch#show archive
The maximum archive configurations allowed is 14.
There are currently 2 archive configurations saved.
The next archive file will be named flash:ARCHIVE/-<timestamp>-2
Archive # Name
1 flash:ARCHIVE/Mar-31-12-05-16.835-EET-0
2 flash:ARCHIVE/Mar-31-12-06-08.944-EET-1 <- Most Recent
3
4
5
6
7
8
9
10
Niciun comentariu:
Trimiteți un comentariu