![background image](http://html1.mh-extra.com/html/ibm/8239-token-ring-stackable-hub/8239-token-ring-stackable-hub_setup-and-user-manual_3405648093.webp)
>> set schedule script script1 <Enter>
Enter Schedule #(1-20):
>> set schedule script script1
Select index 1:
>> set schedule script script1 1 <Enter>
Schedule
Script
Days
Index
Mode
Time
Number
SMTWTFS
Dates
-----
-----
----
------
--------
-----
1
disabled
13:00+
3
+++++
Enable the Script: To enable the script, type:
>> enable schedule 1 <Enter>
Schedule
Script
Days
Index
Mode
Time
Number
SMTWTFS
Dates
-----
-----
----
------
--------
-----
1
enabled
13:00+
3
+++++
The schedule is now enabled.
Note:
¹
Any output generated by a scheduled script will appear at the terminal
attached to the EIA-232 port.
¹
Output that prompts you to press any key to continue does not stop the
script running; the script continues to completion. The output may
appear erratic because of screen buffer overrun.
¹
Traps are generated for script completions and script failures. After a
scheduled script is executed (on an 8239 Model 1 only), an Execute
Script Trap may be sent depending on the script trap_setting. The
default value is enabled. To change the script trap_setting, issue
ENABLE/DISABLE TRAP_SETTING SCRIPT. To display the current
setting, issue DISPLAY TRAP_SETTINGS. For more information about
traps, refer to “Trap Processing” on page 7-10.
From an RMON Event (8239 Model 1 only)
To run a script from an RMON event, follow these steps.
Create the Script: Follow the steps in “Creating Scripts” on page 7-4 to create a
script. Make a note of the index number of your script, as it is used by the
scheduler.
Set Up RMON Alarms and Events: Use the terminal interface or SNMP. Make a
note of the event index, as it is used by the Event Table.
Assume the event index is 14 for this example.
Attach the Event to the Script: Type:
>> set event_script <Enter>
The command interface responds:
Chapter 7. 8239 Device Management
7-9
Summary of Contents for 8239 Token-Ring Stackable Hub
Page 1: ...8239 Token Ring Stackable Hub Setup and User s Guide GA27 4209 00...
Page 2: ......
Page 3: ...8239 Token Ring Stackable Hub Setup and User s Guide GA27 4209 00...
Page 8: ...vi 8239 Setup and User s Guide...
Page 10: ...viii 8239 Setup and User s Guide...
Page 28: ...1 8 8239 Setup and User s Guide...
Page 36: ...2 8 8239 Setup and User s Guide...
Page 70: ...5 18 8239 Setup and User s Guide...
Page 102: ...7 18 8239 Setup and User s Guide...
Page 120: ...8 18 8239 Setup and User s Guide...
Page 135: ......
Page 139: ......
Page 140: ...Printed in USA GA27 4209 00...
Page 141: ...Spine information 8239 Token Ring Stackable Hub Setup and User s Guide...