enable cli scripting

enable cli scripting {permanent}

Description

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.

Syntax Description

permanent Enables the CLI scripting commands for new sessions only; this setting is saved across switch reboots.

Default

The CLI scripting commands are disabled by default.

Usage Guidelines

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

Note

CLI scripting commands cannot be enabled when CLI space auto completion is enabled with the enable cli space-completion command.

Example

The following command enables the CLI scripting commands for the current session:

enable cli scripting

History

This command was first available in ExtremeXOS 11.6.

The permanent option was added in ExtremeXOS 12.0.

Platform Availability

This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, and X695 series switches.