cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1169
Views
0
Helpful
1
Replies

system files on 2821 router have no time/data stamp

sshaft1
Level 1
Level 1

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

1 Reply 1

Reza Sharifi
Hall of Fame
Hall of Fame

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--           0                      default-running-config
    3  drwx           0                      its
  143  dr-x           0                      memory
    1  -rw-        5753                      running-config
  142  dr-x           0                      vfiles

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                      its
  115  dr-x           0                      lib
  144  dr-x           0                      memory
    1  -rw-        9724                      running-config
  114  dr-x           0                      vfiles

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                      startup-config
  229  ----        3015                      private-config
  230  -rw-        8372                      underlying-config
    1  -rw-           0                      ifIndex-table
    2  -rw-         585                      IOS-Self-Sig#3001.cer
    4  ----          24                      persistent-data

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

Review Cisco Networking for a $25 gift card