setenc command

Use the setenc command to change the value of a setting or to list a setting.

You can apply an encrypted value (<encrypted value>) to a setting. The encrypted value is a value returned by the encrypt command. If <encrypted value> contains spaces, it must be enclosed in double-quotation marks (" ").


The syntax of the setenc command is either
asu setenc setting <encrypted value>
where setting is the name of a setting to change. Use the command asu show all to show a list of available settings; value is the exact encrypted value string to set for setting. For settings with a single value, the asu showvalues command output is setting_name=<encrypted value>.
asu set setting value1=value2=valueN [-v] [-nx] [connect_options]
where setting is the name of a setting to change that can accept a list of values. Use the asu showvalues setting command to show a list of all values that are available for the setting.


The output of the setenc command when the -v parameter is not specified is the setting name and the new value. When the -v parameter is specified, the description of the setting is also shown.

The setting with a single value without the -v parameter:
<setting>=<new value>
The setting with a single value with the -v parameter:
<setting>: <setting description> = <new value>
The setting with multiple values without the -v parameter:
<setting>=<new value1>=<new value2>=<new valueN>
The setting with multiple values with the -v parameter:
<setting>: <setting description>=<new value1>=<new value2>=<new valueN>

The setenc command and corresponding output are shown in the following example.

Command line:
 asu setenc CMOS_CRTRequired 5vMOYnMPa1
The 5vMOYnMPa1 equals Enable encrypted by command encrypt.