set

Availability: This command is available to cluster and Vserver administrators at the admin privilege level.

Description

The set command
changes attributes of the user interface.

Parameters

[-privilege<PrivilegeLevel>] - Privilege Level

Use this parameter to specify
the privilege level of the command session.
Possible values are

admin - Used for routine system management commands

advanced - Used for infrequent, dangerous, or complicated commands

diagnostic - Used for detailed diagnostic commands
that are used only by support personnel

[-confirmations{on|off}] - Confirmation Messages

Use this parameter
with the value on to specify
that the interface prompt for confirmation
before executing potentially dangerous commands.
Use this parameter
with the value off to specify
that the interface not prompt for confirmation,
even before potentially dangerous commands execute.
The default setting is on.

[-showallfields{true|false}] - Show All Fields

Use this parameter
with the value true to specify
that the interface display all field columns
when displaying tabular output.
Use this parameter
with the value false to specify
that the interface display only selected columns.
The default setting is false.

[-showseparator<text>] - Show Separator

Use this parameter to specify
the characters to use as the field separator.
The field separator is used between field columns when
-showallfields is set to "true".
The separator can be from one to three characters in length.
When specifying the separator,
enclose it in quotation marks (").
Set the separator to one or more spaces to disable this feature.

[-active-help{true|false}] - Active Help

Use this parameter
with the value true to specify
that pressing the question mark (?) key
is sufficient to execute a help request.
Use this parameter
with the value false to specify
that you must press the Return key after the question mark key
to execute a help request.
The default setting is true.

[-units{auto|raw|B|KB|MB|GB|TB|PB}] - Data Units

Use this parameter to specify
the default units used when reporting data sizes.
Possible values are:

auto - Auto-scale data size for human-readable output

raw - Bytes without unit designation

B - Bytes

KB - Kilobytes

MB - Megabytes

GB - Gigabytes

TB - Terabytes

PB - Petabytes

The default setting is auto.

[-rows<integer>] - Pagination Rows ('0' disables)

Use this parameter to specify
the number of rows that can be displayed in the current CLI session
before the interface pauses output.
If you do not set this value,
it adjusts automatically based on the actual height of your terminal.
If the actual height is undefined,
the default number of rows is 24.

Use this parameter to specify
the name of the Vserver to use as the default value for
the -vserver parameter of commands.

[-node<text>] - Default Node

Use this parameter to specify
the name of the node to use as the default value for
the -node parameter of commands.

[-stop-on-error{true|false}] - Stop On Error

Use this parameter with
the value true to
specify that continuing commands should stop if
they encounter an error.
Use this parameter with
the value false to
specify that continuing commands should continue if
they encounter an error.

[-prompt-timestamp{above|inline|none}] - Display Prompt Timestamp

Print the current date and time as a part of the prompt.
The possible values are

above - print the timestamp using the system timestamp format on the line above the remainder of the prompt.

inline - print the timestamp using the system timestamp format at the beginning of the line with the remainder of the prompt.

none - do not print the timestamp.

The default value is none.

Examples

The following example sets the privilege level to advanced.

cluster1::> set -privilege advanced
Warning: These advanced commands are potentially dangerous; use them only when
directed to do so by NetApp personnel.
Do you wish to continue? (y or n): y
cluster1::*>

The following examples cause all columns to be shown in output rows, with a comma used as the field separator.