load var key

load var key key [var1 var2 ]


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


Imports the specified set of variables associated with a key into the current session.

Syntax Description

key Specifies the key associated with the variables to be imported.
var1 var2 Specifies the variables to be imported. The first variable is mandatory, up to four more optional variables can be specified.



Usage Guidelines

The specified key should have created by the user. Also, the variables specified should have been saved using that key.

Attempting to use this command with a non-existent key results in an error message being displayed.


The following example imports the variables “username,” “ipaddr,” and “vlan” from the key “blue:”

load var key blue username ipaddr vlan


This command was first available in ExtremeXOS 11.6.

Platform Availability

This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, X670-G2, X690, X695, X870, 5320, 5420, and 5520 series switches.