Reset Search
 

 

Article

TCL Scripting does not support "ERROR"

« Go Back

Information

 
TitleTCL Scripting does not support "ERROR"
Symptoms
In Extreme Management Center 8.0.4 and 8.0.5 the ERROR command no longer works and the script will not stop when the condition is met.

Example:
IF (![string equal $vendor "Extreme"]) THEN 
  error "This script is only supported for Extreme switches." 
ENDIF 

If this script was run on an Enterasys switch the script will continue on past the above condition.
Environment
  • Extreme Management Center
  • NetSight
Cause
ERROR was remove and will be replace with "Die" in version 8.1
Resolution
The keyword "Die" can be used.  This is not a valid TCL command and the script will error out at that point.

Support for "Die" will be included in version 8.1 of Extreme Management Center.
Additional notes

Feedback

 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255