ONTAP commands for remote node management
You can remotely perform node-management tasks by either accessing its SP and running SP CLI commands, or accessing the BMC and running BMC CLI commands. For several commonly performed remote node-management tasks, you can also use ONTAP commands from another node in the cluster. Some SP and BMC commands are platform-specific and might not be available on your platform.
Certain command types can be used in both SP and BMC command sets. The differences between them will be shown when entering the command line.
-
The
help
command in SP:SP> help
-
The
help
command in BMC:BMC> help
Learn more about the help
command options available for SP and BMC in View the help information in the ONTAP SP/BMC CLI.
Learn more about corresponding ONTAP BMC CLI in Supported CLI commands for the ONTAP Baseboard Management Controller.
If you want to… | Use this SP command… | Use this BMC command… | Use this ONTAP command… | |
---|---|---|---|---|
Display available commands or subcommands of a specified command for SP/BMC/ONTAP |
|
|
N/A |
|
Display the current privilege level for the SP/BMC/ONTAP CLI |
|
|
N/A |
|
Set the privilege level to access the specified mode for the SP/BMC/ONTAP CLI |
{ |
{ |
N/A |
|
Display system date and time |
|
|
|
|
Display events that are logged by the SP/BMC/ONTAP |
{ |
{ |
N/A |
|
Display SP/BMC/ONTAP status and network configuration information |
[
|
[
|
|
|
Display the length of time the SP/BMC/ONTAP has been up and the average number of jobs in the run queue over the last 1, 5, and 15 minutes |
|
|
N/A |
|
Display system console logs |
|
[ |
(prints system console logs) |
|
Display the SP/BMC/ONTAP log archives or the files in an archive |
[ |
[ |
N/A |
|
Display the power status for the controller of a node |
|
|
|
|
Display battery information |
|
|
N/A |
|
Display ACP information or the status for expander sensors |
[ |
N/A |
N/A |
|
List all system FRUs and their IDs |
|
|
N/A |
|
Display product information for the specified FRU |
|
[ |
N/A |
|
Display the FRU data history log |
(advanced privilege level) |
|
N/A |
|
Display the status for the environmental sensors, including their states and current values |
or
|
{ |
|
|
Display the status and details for the specified sensor |
You can obtain |
[ |
N/A |
|
Display the SP/BMC/ONTAP firmware version information |
|
|
|
|
Display the SP/BMC/ONTAP command history |
(advanced privilege level) |
(advanced privilege level) |
N/A |
|
Display the SP/BMC/ONTAP debug information |
(advanced privilege level) |
(advanced privilege level) |
N/A |
|
Display the SP/BMC/ONTAP messages file |
(advanced privilege level) |
(advanced privilege level) |
N/A |
|
Display the settings for collecting system forensics on a watchdog reset event, display system forensics information collected during a watchdog reset event, or clear the collected system forensics information |
[ |
N/A |
N/A |
|
Log in to the system console |
|
|
|
|
You should press Ctrl-D to exit the system console session. |
||||
Turn the node on or off, or perform a power-cycle (turning the power off and then back on) |
|
|
(advanced privilege level) |
|
|
|
N/A |
||
|
|
N/A |
||
The standby power stays on to keep the SP running without interruption. During the power-cycle, a brief pause occurs before power is turned back on.
|
||||
Create a core dump and reset the node |
The |
|
(advanced privilege level) |
|
These commands have the same effect as pressing the Non-maskable Interrupt (NMI) button on a node, causing a dirty shutdown of the node and forcing a dump of the core files when halting the node. These commands are helpful when ONTAP on the node is hung or does not respond to commands such as |
||||
Reboot the node with an optionally specified BIOS firmware image (primary, backup, or current) to recover from issues such as a corrupted image of the node's boot device |
{ |
{ |
(advanced privilege level) |
|
If no BIOS firmware image is specified, the current image is used for the reboot. The SP stays operational as long as the input power to the node is not interrupted. |
||||
Compare the current battery firmware image against a specified firmware image |
(advanced privilege level) If |
(advanced privilege level) If |
N/A |
|
Update the battery firmware from the image at the specified location |
(advanced privilege level) You use this command if the automatic battery firmware upgrade process has failed for some reason. |
N/A |
N/A |
|
Update the SP/BMC/ONTAP firmware by using the image at the specified location |
|
|
|
|
Reboot the SP/BMC/ONTAP |
|
|
|
|
Erase the NVRAM flash content |
(advanced privilege level) This command cannot be initiated when the controller power is off ( |
N/A |
N/A |
|
Exit the SP/BMC/ONTAP CLI |
|
|
N/A |