NetApp Data ONTAP general commands

Below are some examples of some general commands for the command-line interface of a NetApp Data ONTAP operating system.  The screens below are from version 8.

The options command has several different parameters for configuring different parameters.  For example, the command options ssh.port will display the current listening port that the SSH service is using.

ontap_general_1

If a value is entered after the command, the value is changed.

ontap_general_2

The command options trusted.hosts displays the hosts that are allowed administrative access.  The default is *, which is all hosts.

ontap_general_4

The secureadmin command can change parameters such as disabling SSH, as well as displaying current configurations.

ontap_general_3

The version command will display the current version; the –b displays the version on the boot device.

ontap_general_5

The license command will display current license codes.

ontap_general_6

The config dump command saves the system configuration into a single file with the file name specified at the default path of /etc/configs.  If the file already exists, the –f flag must be used.

ontap_general_7

The sysconfig command displays information about the system’s hardware configuration.  The –A flag will display all reports.

ontap_general_9

The aggr status command displays a summary of aggregate states.

ontap_general_10

The vol status command is similar but for volumes.

ontap_general_11

The netstat and netdiag commands offer assistance with the current network status of the system.

ontap_general_12

The halt command shuts the system down.

ontap_general_13