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}.
Imports the specified set of variables associated with a key into the current session.
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. |
N/A.
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.
This command is available on the Summit X450-G2, X460-G2, X670-G2, X770, and ExtremeSwitching X440-G2, X590, X620, X690, X870 series switches.