Using Scripts - Allied Telesis AR410 User Manual

Ar400 series software release 2.7.1
Hide thumbs Also See for AR410:
Table of Contents

Advertisement

Operating the router
Figure 9: Example output from the SHOW FILE command.
Filename
----------------------------------------------------------------------------
28-72.pat
28-74ang.rel
28f72-06.pat
release.lic
test.cfg
sixteenalongfile.scp
----------------------------------------------------------------------------
Software Release 2.7.1
C613-02021-00 REV F
FLASH memory is like a flat file system, with no subdirectories.
File names of up to 16 characters long, with extensions of 3 characters (DOS
16.3 format), are supported on the router. However, files on the router are
stored in FLASH using the DOS 8.3 format of 8 characters long, with
extensions of 3 characters. For example, the file
be saved as
extral~1.cfg
accessed via two file names, either of which can be used for file management.
A translation table, named
16.3 format and DOS 8.3 format. To reconcile file names the router consults the
translation table which is synchronised with file contents in memory. For more
information about working with files see the Working With Files section in the
Operation chapter in the Software Reference.
To display the files in FLASH, enter the command:
SHOW FILE
Device
Size
flash
111764
flash
2013756
flash
123268
flash
32
flash
1698
flash
24
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
script are limited to 128 characters.
extralongfilenam.cfg
in the FLASH File System. Therefore, files can be
, converts file names between DOS
longname.lfn
Created
05-May-1997 12:41:42
09-May-1997 15:58:55
18-Apr-1997 15:58:16
08-May-1997 16:43:49
09-May-1997 10:39:42
30-May-1997 15:10:12
. Commands run from a boot
boot.cfg
57
may
Locks
0
0
0
0
0
0

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ar441sAr450sAr440s

Table of Contents