
097-93100-01 Revision C – February, 2010
TimeCreator 1000 User’s Guide 203
Appendix B Command Descriptions and Communications Interface
CLI Commands
Generate Message
Use this command to generate all TimeCreator 1000 traps in one run, or to generate
a specific trap. This command essentially acts as a trap simulator.
Command Syntax
:
To generate all trap messages -
generate message
To generate a specific trap message -
tc1000>generate message
“trapID,trapAID1,trapAID2,trapState,trapValue”
Example 1:
To generate all trap messages -
tc1000>generate message
Example 2a:
To generate the message for the trap “IMC-IOC 1 communication failed”, which has ID=2,
trapAID1=257 (corresponds to trapAID1=1 for IOC1 in
)
trap AID2=n/a (use 0),
trapState=2, and trapValue=n/a (use 0
) -
tc1000>generate message “2,257,0,2,0”
Example 2a:
To generate the message for the trap “IMC-IOC 1 communication restored”, which has ID=2,
trapAID1=257 (corresponds to trapAID1=1 for IOC1 in
)
trap AID2=n/a (use 0),
trapState=1, and trapValue=n/a (use 0
) -
tc1000>generate message “2,257,0,1,0”
Related:
show log
Level :
User, Power-User and Admin
Note:
for the the alarm trap bindings “trapID”,
“trapAID1”, “trapAID2”, “trapState” and “trapValue”.
See
for the the event trap bindings.
If trapAID1 corresponds to the IOC module number,1 or 2, use the
value trapAID1=257 for IOC1 and trapAID1=258 for IOC2. Use the
number “0” for entries of “n/a”, such as for trapAID2 and trapValue.