308 | Configuration Replace and Rollback
www.dell.com | support.dell.com
Figure 12-10. Viewing an Archive File
Viewing the Difference between Configuration Files
View the difference between the running-configuration and an archived configuration using the command
show run diff. In Figure 12-11, the running-configuration is archived as archive_3, and then the hostname is
changed to “FTOS.” The command
show run diff lists each difference in the two files; in this case, there is
only one, the hostname.
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--