Skip to main content
NetApp Knowledge Base

Which are the different shells in ONTAP and what are their uses?

Views:
1,420
Visibility:
Public
Votes:
3
Category:
data-ontap-8
Specialty:
core
Last Updated:

 

Applies to

  • Data ONTAP 8
  • ONTAP 9

Answer

There are three different shells available in ONTAP:

Clustershell
  • This is the default shell that is started when a user logs into the system. 
  • Prompt in Admin privilege mode appears as ::>
  • Prompt in Advanced and Diag privilege mode appears as ::*>
  • Tab completion is supported
  • To see a list of available clustershell commands, type '?'
Nodeshell
  • Nodeshell commands are similar to 7-mode
  • Tab completion is not supported
  • The nodeshell can be started by running the command, 
    ::> system node run -node <node_name> 
  • To exit nodeshell back to clustershell, type 'exit' or 'Ctrl-D
  • Nodeshell commands can be run directly from clustershell  by using the following syntax:
    ::> node run -node <nodename> -command <nodeshell command>
  • To see a list of available nodeshell commands, type '?' at an interactive nodeshell prompt
  • Nodeshell for any node in the cluster can be accessed from any other node
Systemshell
  • Low level shell used for advanced, diagnostic and troubleshooting purposes
  • Under normal circumstances systemshell should not be used without directions from NetApp Support
  • Prompt appears as node_name%
  • Systemshell is specific to a node 
  • Systemshell for any node in the cluster can be accessed from Clustershell on any node
  • To use, the diag user must be unlocked and password protected  
  • For information on unlocking the diag user, see How to unlock the diag user account

 

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.