Enables the use of CLI scripting commands. When used without the permanent option, it enables the CLI scripting commands for the current session and is a per session setting. The permanent option enables the CLI scripting commands for new sessions only and is saved across switch reboots.
permanent | Enables the CLI scripting commands for new sessions only; this setting is saved across switch reboots. |
The CLI scripting commands are disabled by default.
You must enable the CLI scripting commands on the switch to use the scripting keywords in the script, and before you can configure or execute a script.
Note
CLI scripting commands cannot be enabled when CLI space auto completion is enabled with the enable cli space-completion command.
The following command enables the CLI scripting commands for the current session:
enable cli scripting
This command was first available in ExtremeXOS 11.6.
The permanent option was added in ExtremeXOS 12.0.
This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, and X695 series switches.