Working With NetApp ONTAP CLI Shells
Working With NetApp ONTAP CLI Shells
my
a
us
th
Working with NetApp
Mu
r
SENTHILKUMAR MUTHUSAMY 1
2
You can administer ONTAP systems with the command-line interface (CLI). You
can use the ONTAP management interfaces, access the cluster, manage nodes,
and much more.
my
Different Shells for CLI Commands
a
The cluster has three different shells for CLI commands, the clustershell,
us
the nodeshell, and the systemshell. The shells are for different purposes, and they
each have a different command set.
th
Mu
The clustershell is the native shell that is started automatically
when you log in to the cluster.
r
command.
Se
SENTHILKUMAR MUTHUSAMY 2
3
my
for technical support to perform troubleshooting tasks.
a
us
CLI Shells: th
Mu
ONTAP uses the following three CLI shells:
Cluster Shell (Default One) – scope is all the nodes in the
r
ma
cluster
Node Shell --- Scope is particular Node only (7-Mode
ku
commands)
l
SENTHILKUMAR MUTHUSAMY 3
4
Cluster Shell:
a my
us
th
Mu
r
ma
l ku
hi
nt
Se
SENTHILKUMAR MUTHUSAMY 4
5
a my
us
th
Mu
r
ma
SENTHILKUMAR MUTHUSAMY 5
6
Node Shell:
my
Switch to Node Shell from Cluster Shell.
a
us
th
Mu
r
ma
l ku
hi
nt
Se
SENTHILKUMAR MUTHUSAMY 6
7
a my
us
th
Mu
Cluster Shell Privilege Levels:
r
ma
advanced
hi
diagnostics
nt
Se
SENTHILKUMAR MUTHUSAMY 7
8
You can use the set command to check the privilege level.
a my
us
th
Mu
r
Example:
ku
To check the cluster RDB status, you need advanced privilege mode.
l
hi
nt
Se
SENTHILKUMAR MUTHUSAMY 8
9
my
a
us
th
Mu
r
ma
ku
SENTHILKUMAR MUTHUSAMY 9
10
a my
us
th
Mu
System Shell:
r
ma
You can switch to System Shell use the following command. But you
hi
SENTHILKUMAR MUTHUSAMY 10
11
my
a
us
To check the ONTAP Cluster RDB.
th
Mu
r
ma
l ku
hi
nt
Se
SENTHILKUMAR MUTHUSAMY 11