delete var key

delete var key key
Note

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}.

Description

Deletes the variables that have been saved using a key.

Syntax Description

key Specifies that variables associated with the specified key must be deleted.

Default

N/A.

Usage Guidelines

CLI scripting must be enabled to use this command. The user is responsible for generating unique keys for each variable. The system has a limited amount of memory to store these variables.

Example

The following command deletes all variables associated with the key “red:”
delete var key red

History

This command was first available in ExtremeXOS 11.6.

Platform Availability

This command is available on all platforms.