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 all platforms.