Reference Guide

Configuration Replace and Rollback | 305
R1(conf-archive)#time-period 5
R1(conf-archive)#show config
!
archive
maximum 2
time-period 5
R1(conf-archive)#
Copying and Deleting an Archive File
Copy an archive file to another location using the command archive backup, as shown in the following
example. Delete an archive file using the command
archive delete from CONFIG ARCHIVE mode.
Viewing and Editing the Contents of an Archive File
You cannot view or edit the contents of archived files. FTOS disallows these functions to ensure that
archived configurations are error-free when they are used in a replace or rollback function. You can,
however, copy the file to another location using the command
archive backup, and then view and edit the
copy. If you copy the file to another location on FTOS, then you can view the contents of the file using the
command
show file, as shown in the following example.
R1#archive backup archive_2 flash://archive_2
!
6120 bytes successfully copied
R1#dir
Directory of flash:
1 drw- 32768 Jan 01 1980 00:00:00 .
2 drwx 512 Nov 16 2007 13:20:22 ..
3 drw- 8192 Mar 11 2007 00:23:40 TRACE_LOG_DIR
4 drw- 8192 Mar 11 2007 00:23:40 CRASH_LOG_DIR
5 drw- 8192 Mar 11 2007 00:23:40 NVTRACE_LOG_DIR
6 drw- 8192 Mar 11 2007 00:23:40 CORE_DUMP_DIR
7 d--- 8192 Mar 11 2007 00:23:40 ADMIN_DIR
8 -rw- 6115 Nov 19 2007 18:35:32 startup-config
9 -rw- 32999090 Jun 11 2007 20:22:32 FTOS-EF-7.4.1.0.bin
10 -rw- 33059550 May 31 2007 20:58:56 FTOS-EF-7.4.2.0.bin
11 -rw- 23234380 May 30 2007 06:38:14 FTOS-EF-6.5.4.0.bin
12 -rw- 6115 Nov 19 2007 18:15:00 startup-config.bak
13 -rw- 34 Nov 19 2007 19:23:00 arc_delta.cfg
14 -rw- 6120 Nov 20 2007 11:17:52 archive_2
flash: 520962048 bytes total (320643072 bytes free)
R1#show file flash://archive_2
! Version E_MAIN4.7.5.353
! Last configuration change at Tue Nov 20 10:54:05 2007 by default
! Startup-config last updated at Mon Nov 19 18:35:30 2007 by default
boot system rpm0 primary flash://FTOS-EF-4.7.5.353.bin
boot system rpm0 secondary flash://FTOS-EF-7.4.2.0.bin
boot system rpm0 default flash://FTOS-EF-6.5.4.0.bin
boot system rpm1 primary flash://FTOS-EF-7.5.1.0.bin
boot system rpm1 secondary flash://FTOS-EF-7.4.2.0.bin
boot system rpm1 default flash://FTOS-EF-6.5.4.0.bin
redundancy auto-failover-limit count 3 period 60
redundancy auto-synchronize full
redundancy disable-auto-reboot rpm
redundancy primary rpm0
!
--More--