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 ExtremeXOS 32.6.1 User Guide .
return -200
This command was first available in ExtremeXOS 12.4.
This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, X690, and X695 series switches.