¹
Define a set of commands prior to actually executing them (for example, for
preconfiguring stack units)
You can create or modify script files in real-time on all 8239 stack units. You can
transfer script files into or out of all stack units:
¹
Using XMODEM via the stack unit’s local EIA-232 port
¹
Using TFTP to the stack unit’s IP address
¹
By downloading from a BOOTP server
Script files that are created using the terminal interface or that are downloaded via
TFTP are retained after a reset. All stack units can execute scripts when invoked
by a user command through a terminal interface. Only the 8239 Model 1 supports
scheduling a script, which means that the script is executed by time of day. When a
script is downloaded using BOOTP, it is automatically executed after the download
completes.
The script interface, unlike the command interface, provides no interactive syntax
checking. When a script is created or updated, no checking is done to ensure that:
¹
The command syntax is valid
¹
The specified hub IDs exist
¹
The appropriate access mode exists for command execution
If an error is detected during the execution of a script, the remaining lines in the
script are not executed.
Each script file can contain up to 25 lines; each line can contain up to 72
characters. A script can contain comments that are ignored when the script is
executed. Each comment line counts toward the maximum number of lines in a
script. Comment lines begin with #; all characters after the # to the end of the line
are ignored.
Creating Scripts
Follow the steps in the example in this section to create a script.
Creating a Script Name
The first task in creating a script is to choose a name and attach it to a
script index.
Once the script has a name, you can add commands, modify commands, delete
commands, and run the script by using this name.
Assume that there are currently no scripts defined. To create a script named
script1, type:
>>script <Enter>
The script interface displays accepted inputs:
Accepted inputs:
1) -NoName-1
6) -NoName-6
2) -NoName-2
7) -NoName-7
3) -NoName-3
8) -NoName-8
4) -NoName-4
9) -NoName-9
5) -NoName-5
10) -NoName-10
>>script
You must choose one of the 10 available script index numbers. Type:
7-4
8239 Setup and User’s Guide
Содержание 8239 Token-Ring Stackable Hub
Страница 1: ...8239 Token Ring Stackable Hub Setup and User s Guide GA27 4209 00...
Страница 2: ......
Страница 3: ...8239 Token Ring Stackable Hub Setup and User s Guide GA27 4209 00...
Страница 8: ...vi 8239 Setup and User s Guide...
Страница 10: ...viii 8239 Setup and User s Guide...
Страница 28: ...1 8 8239 Setup and User s Guide...
Страница 36: ...2 8 8239 Setup and User s Guide...
Страница 70: ...5 18 8239 Setup and User s Guide...
Страница 102: ...7 18 8239 Setup and User s Guide...
Страница 120: ...8 18 8239 Setup and User s Guide...
Страница 135: ......
Страница 139: ......
Страница 140: ...Printed in USA GA27 4209 00...
Страница 141: ...Spine information 8239 Token Ring Stackable Hub Setup and User s Guide...