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.
If a value is entered after the command, the value is changed.
The command options trusted.hosts displays the hosts that are allowed administrative access. The default is *, which is all hosts.
The secureadmin command can change parameters such as disabling SSH, as well as displaying current configurations.
The version command will display the current version; the –b displays the version on the boot device.
The license command will display current license codes.
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.
The sysconfig command displays information about the system’s hardware configuration. The –A flag will display all reports.
The aggr status command displays a summary of aggregate states.
The vol status command is similar but for volumes.
The netstat and netdiag commands offer assistance with the current network status of the system.
The halt command shuts the system down.