System information
1-50 CREATE FFILE AR Series Router Reference Manual
Software Release 2.0.1
C613-03018-00 REV A
The CONFIG parameter specifies the name of the script or configuration file to
create. The file extension must be “
scp
” or “
cfg
”. If the file already exists, it is
replaced. If the file does not exist it is created.
The CREATE CONFIG command on page 1-49 writes the MD5 digest, not the
cleartext, of passwords in commands to the configuration file. When a configuration
script is executed the command processor can determine whether the password value is
cleartext or an MD5 digest.
The configuration of a specific software module can not be saved with this command. To
save the configuration of a specific software module, use the SHOW CONFIG command
on page 1-98 to display the configuration, capture the output and save it to a file.
For security reasons this command will only be accepted if the user has SECURITY
OFFICER privilege.
Examples
To save the current dynamic configuration as the default boot script
boot.cfg,
use the command:
CREATE CONFIG=BOOT.CFG
See Also
RESTART
SET CONFIG
SHOW CONFIG
CREATE FFILE
Syntax
CREATE FFILE=filename {DATA=bytes|ADDRESS=address
LENGTH=length}
where:
■
filename is a file name of the form
device:filename.ext
. Valid characters
are the lowercase letters (a–z), digits (0–9) and the hyphen character (-).
Wildcards are not allowed.
■
bytes is a comma-separated list of up to 80 byte values, expressed as
hexadecimal numbers.
■ address is a memory address, expressed as a hexadecimal number.
■
length is a length in bytes, expressed as a hexadecimal number.
Description
This command is used to create an FFS file. It is intended primarily for testing
purposes, and should not be required during normal operation. There are two
variants of the command. The first variant is used to create small files, and the
DATA parameter specifies the bytes to be written to the file. The second variant
is used to create larger files by copying data from elsewhere in the router’s
memory space. The ADDRESS parameter specifies the source address in
memory and the LENGTH parameter specifies the number of bytes to copy to
the new file, starting at the specified address.