Command Line Interface

Creating and Running Scripts

Creating and Running Scripts

To reduce the time required to configure one or more Broadmores, you can script a series of CLI commands that can be saved to a file, uploaded to the Broadmore, and executed as needed.

You can use a text editor or a terminal emulation program to create a script file. For example, using a terminal emulator such as Symantec Procomm®, you can perform the following steps to create a script and save it to a file.

A script file must meet the following requirements:

Each command must begin on a new line.

Comments or unused configuration settings must begin with a semicolon (;). When the Broadmore’s script interpreter encounters a semicolon, all remaining text on the line is ignored.

The file must be named as follows:

filename.scp

See Appendix G for a list of Broadmore commands.

NOTE: Do not use the following command in a script:

showi

This command is “show interactive” for the system log and requires user input. If necessary, use the show command instead.

9-4

Broadmore 1750 - Release 4.6

Page 238
Image 238
Carrier Access 1750 user manual Creating and Running Scripts, See Appendix G for a list of Broadmore commands