Note
This is a script command and operates only in scripts or on the command line when scripting is enabled with the following command: enable cli scripting {permanent} .Exits the current script and sets the $STATUS variable.
statusCode | Specifies a integer value to which the $STATUS variable is set. |
N/A.
When used in nested scripts, this command allows you to terminate the current script, set the $STATUS variable, return to the parent script, and evaluate the $STATUS variable in the parent script. For more information on the $STATUS variable, see “Using CLI Scripting” in the Switch Engine 32.2 User Guide .
return -200
This command was first available in ExtremeXOS 12.4.