User guide

28 AR400 Series User Guide
Software Release 2.4.1
C613-02021-00 REV B
Figure 2: Example output from the SHOW FILE command.
The Locks field indicates the number of concurrent software processes using the file.
The router automatically compacts FLASH memory when a maximum
threshold of deleted files is reached. Compaction frees space for new files by
discarding garbage. A message will appear when FLASH compaction is
activated. Another message appears when FLASH compaction is complete.
While FLASH is compacting, do not restart the router or use any commands
that affect the FLASH file subsystem. Do not restart the router, or create, edit,
load, rename or delete any files until a message confirms that FLASH file
compaction is completed. Interrupting flash compaction may result in damage
to files.
Using Scripts
When you start or restart the router, or when it automatically restarts, it
executes the configuration commands in the boot script. A boot script is a text
file containing a sequence of standard commands that the router executes at
startup. The default boot script is called
boot.cfg
. Commands run from a boot
script are limited to 128 characters.
The commands you enter into the router from the command line affect only the
dynamic configuration in RAM, which is not retained over a power cycle. The
router does not automatically store these changes in FLASH memory. When
the router is restarted, it loads the configuration defined by the boot script, or if
the router was restarted using the RESTART command, any script file specified
in the RESTART command.
In addition to the boot configuration script that the router automatically runs
when it restarts, you can run a configuration script manually at any time, by
entering the command:
ACTIVATE SCRIPT=filename
You can also set a trigger to automatically execute a configuration script when
a specified event occurs.
Filename Device Size Created Locks
------------------------------------------------------------------------
1mac.scp flash 527 08-Nov-2000 12:46:00 0
86s-210.rez flash 1690736 14-Sep-2000 14:11:56 0
config.scp flash 64 10-Nov-2000 23:26:31 0
hdroute.scp flash 374 08-Nov-2000 12:46:00 0
loadup.scp flash 173 20-Nov-2000 07:03:30 0
loadup1.scp flash 224 14-Nov-2000 14:11:56 0
quick.scp flash 2036 08-Nov-2000 12:46:00 0
release.lic flash 32 08-Nov-2000 12:46:00 0
sleep.scp flash 189 08-Nov-2000 12:46:00 0
test.cfg flash 1698 09-Nov-2000 10:39:42 0
------------------------------------------------------------------------