Batch Up/Download Overview - General DataComm spectracomm ip Installation & Operation Manual

Router card
Table of Contents

Advertisement

Application Guidelines

Batch Up/Download Overview

For advanced users with SUPERVISOR mode enabled, there is a batch feature available to
simplify configuring (or re-configuring) multiple SC-IPs. This feature allows the user to upload an
ASCII text batch script from a pre-configured SC-IP via the TFTP get operation. Use the show
config command to view the batch script that would be generated from the SC-IP for a
subsequent TFTP upload. This text file may be modified and/or downloaded to the same
SC-IP or another SC-IP via TFTP.
A batch script file may also be created by a text editor (NotePad) and then downloaded from
terminal emulation program (i.e., MS HyperTerminal) at the CTRL interface. Users can initially
setup the SC-IP from a predefined configuration file, rather than entering one command at a time.
Special Considerations for Batch Files
You must be in SUPERVISOR mode to execute a batch file, since batch script files use the
configure command.
You must be in ADMIN mode if the batch script file contains user accounts configuration.
The downloaded batch script file will reside in the batch queue. The following commands can
then be used on the file:
Use the batch show command to view the batch script file in the batch queue.
Use the batch run command to execute the batch script file in the batch queue.
An execution of the batch run command will terminate at any invalid command string.
All commands executed up to that point will be in affect.
Batch Download Procedure
1. To use batch download, make a plain text file (using Notepad) with the first and last lines as
shown:
batch begin
batch end
2. Between the begin and end lines, type valid SCIP commands along with all arguments.
Typically, these commands would include IP interface configuration, terminal line baud rate
configurations and static routes, as shown in the example below:
An example download file:
batch begin
configure interfaces ip-address e0 172.16.4.145 255.255.0.0 255.255.255.255
configure ip-route add e0 128.1.0.0 255.255.0.0 128.1.1.10 1
configure ip-route add e0 135.1.0.0 255.255.0.0 135.1.1.5 1
configure term-serv comms term1 9600 8 N 1
batch end
3. To use the batch download feature, set the file transfer settings of the terminal emulation
program to wait for remote character echo. Set Line Termination to CR and Line Terminating
Timing to 1 mSec.
4.
Enter SUPERVISOR mode or ADMIN mode and activate the file transfer.
5. When the SC-IP# prompt returns to the screen, type batch show to view the
downloaded commands. If desired, type batch run to execute the file.
076R200-000
Issue 2
SpectraComm IP Router Card
Installation and Operation Manual
Batch Up/Download Overview
A-7

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sc-ip

Table of Contents