12-09-2009 01:15 PM - edited 03-06-2019 08:53 AM
I'm using the following code: Cisco IOS Software, 2800 Software (C2800NM-SPSERVICESK9-M), Version 12.4(15)T3 and when I do a 'dir all' I have no time/date stamp on my system directory namely my running-config (see below). It would be nice to know the last time it was saved. I would appreciate any ideas. Thanks.
#dir all
Directory of archive:/
No files in directory
Error getting file system status (Unknown error 0)
Directory of system:/
156 drwx 0 <no date> cme
2 -r-- 0 <no date> default-running-config
3 drwx 0 <no date> its
143 dr-x 0 <no date> memory
1 -rw- 5753 <no date> running-config
142 dr-x 0 <no date> vfiles
12-09-2009 02:24 PM
sshaft1 wrote:
I'm using the following code: Cisco IOS Software, 2800 Software (C2800NM-SPSERVICESK9-M), Version 12.4(15)T3 and when I do a 'dir all' I have no time/date stamp on my system directory namely my running-config (see below). It would be nice to know the last time it was saved. I would appreciate any ideas. Thanks.
#dir all
Directory of archive:/No files in directory
Error getting file system status (Unknown error 0)
Directory of system:/156 drwx 0
cme
2 -r-- 0default-running-config
3 drwx 0its
143 dr-x 0memory
1 -rw- 5753running-config
142 dr-x 0vfiles
Hi Scot,
There should be in initial date associated with each file (posted below). If you want to archive configs, then you can use the command archive in the config mode and point it to you flash, so every time you save the config it will keep the latest plus 13 for a total of 14 copies on the flash for you.
T-1#dir all
Directory of archive:/
No files in directory
No space information available
Directory of system:/
2 drwx 0
115 dr-x 0
144 dr-x 0
1 -rw- 9724
114 dr-x 0
No space information available
Directory of flash:/
2 -rw- 1826 May 25 2006 00:39:16 +00:00 sdmconfig-28xx.cfg
3 -rw- 4734464 May 25 2006 00:39:44 +00:00 sdm.tar
4 -rw- 833024 May 25 2006 00:40:00 +00:00 es.tar
5 -rw- 1052160 May 25 2006 00:40:20 +00:00 common.tar
6 -rw- 1038 May 25 2006 00:40:38 +00:00 home.shtml
7 -rw- 102400 May 25 2006 00:40:56 +00:00 home.tar
8 -rw- 491213 May 25 2006 00:41:14 +00:00 128MB.sdf
9 -rw- 8146 Oct 29 2009 22:47:10 +00:00 startup-config
10 -rw- 398305 May 25 2006 00:42:08 +00:00 sslclient-win-1.1.0.154.pkg
11 -rw- 34023596 Apr 19 2007 18:53:00 +00:00 c2800nm-adventerprisek9_ivs-mz.124-3g.bin
64016384 bytes total (22355968 bytes free)
Directory of nvram:/
228 -rw- 8372
229 ---- 3015
230 -rw- 8372
1 -rw- 0
2 -rw- 585
4 ---- 24
245752 bytes total (231241 bytes free)
T-1#
T-1(config)#archive
T-1(config-archive)#?
Archive configuration commands:
default Set a command to its defaults
exit Exit from archive configuration mode
log Logging commands
maximum maximum number of backup copies
no Negate a command or set its defaults
path path for backups
rollback Rollback parameters
time-period Period of time in minutes to automatically archive the running-config
write-memory Enable automatic backup generation during write memory
HTH
Reza
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide