User manual

Page 168
6.5.2 Running Scripts
Execute scripts using the Run command:
run script <script-filename>
In response, the System will execute the script filename that is specified.
The System can use an auto completion mechanism to search in the local directory for script
files. Entering a search string, followed by a <tab> after the run script command invokes
auto complete.
6.5.3 Adding Scripts
To add a script to the ODU, edit it in a text file.
The script should consist valid CLI
commands. Use # at the beginning of a remark line.
For example (DemoScript.txt):
reset system
To add the script text file to the ODU use ftp server and transfer the file to the scripts
directory under flash (flash:scripts) using the Ceragon File System commands:
6.5.4 Viewing Scripts Content
Scripts content cannot be viewed directly from the C
LI. To view the content of a script,
transfer it to the server and view it with text editor.
FA-70>copy flash:scripts/DemoScript.txt ftp://srv:admin@192.168.0.100/ DemoScript.txt
finished
# Demo Script
# This script sets the ODU to static mode, saves the configuration and reset the system.
set rf mode static qpsk 4 1 0.5
copy running-configuration startup-configuration
FA-70>copy ftp://srv:admin@192.168.0.100/DemoScript.txt flash:scripts/DemoScript.txt
finished
4Gon www.4Gon.co.uk info@4gon.co.uk Tel: +44 (0)1245 808295 Fax: +44 (0)1245 808299