Allied Telesis SwitchBlade x3100 Series Manual page 131

Release 14.2 - issue 2
Table of Contents

Advertisement

CFC Media (SD Card)
EXECUTE SCRIPT
Syntax
EXECUTE SCRIPT=filename
Processes all of the commands specified in the specified filename. The script file contains
Description
one or more CLI commands. The first line in the file must contain a comment that identi-
fies the file as a script. Other words can also exist on the line, but the word 'script' must
appear some place in the line. Comments are identified as a hash(#) character on a line in
the file. A CLI command in the script file must occupy a single line. A command cannot
span more than one line. If a command requires user interaction like a confirmation, the
user response text is included on the line after the command. The contents of a script file
are played back as written. A syntax error in the file is detected as the script is run. If an
error is encountered, the device is left in an unknown condition.
The following table gives the range of values for each option that can be specified with
Options
this command and a default value (if applicable).
Option
filename
Example
EXECUTE SCRIPT CLIENT_EPSR_SETUP
Software Reference for SwitchBlade x3100 Series Switches (Setting Up the Switch)
Description
The filename that contains the scripting commands.
Introduction
Default Value
1-101

Advertisement

Table of Contents
loading

Table of Contents