BelAir20E User Guide
Scripting Guidelines
April 2, 2012
Confidential
Document Number BDTM02201-A01 Standard
148.16.4.123 as an IP address, then the default password is
root@148.16.4.123.
• For FTPS, the default user name is the unit’s MAC address stripped of
colons. The default password is unit’s MAC address stripped of colons,
followed by @, followed by the node IP address. For example, if the node
has 11:22:33:44:55:66 as a MAC address and 148.16.4.123 as an IP address,
then the default user name is 112233445566 and the default password is
112233445566@148.16.4.123.
CAUTION!
Do not use these commands to perform a software upgrade on a BelAir node.
Use the upgrade load command instead. Refer to
for full details on performing software upgrades.
Managing and Manually
Running Script Files
Use the following commands as required:
/system/copy script <script file> <copied file name>
/system/delete script <script file>
/system/rename script <script file> <new name>
/system/show script <script file>
list scripts
run script <scriptname> [<output_file>]
The
copy
,
delete
,
rename
and
show script
commands are available in
system
mode and allow you to manage and customize script files as you require.
The
list
and
run script
commands are available from any mode. The
list scripts
command displays the scripts that are available to you. The
run script
command
allows you to execute a previously created script file.
Tip
If you have a simple script that does not specify physical interfaces and does not
contain a
reboot
command, you can also run it by copying it and pasting it into
a CLI session window. If you use this method:
1 Paste only 20 to 25 commands at a time. Otherwise, you may overfill the
command buffer used for the CLI session. If you overfill the command buffer,
you need to determine exactly which commands were executed and which
were not before proceeding.
2 After pasting a block of commands, verify that your script behaved as
expected; that is, that the pasted commands produced the expected
configuration.