Note
This is a script command and operates only in scripts when scripting is enabled with the following command: enable cli scripting {permanent}.
Causes the WHILE construct to be terminated.
This command has no arguments or variables.
N/A.
The ENDWHILE command must be used after a corresponding WHILE _expression DOstatement(s) command.
You can insert comments by using a number sign (#). CLI scripting must be enabled to use this command.
This example creates 10 VLANs, named x1 to x10:
set var x 1 WHILE ($x <= 10) DO create vlan v$x set var x ($x + 1) ENDWHILE
This command was first available in ExtremeXOS 11.6.
This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, X690, and X695 series switches.