Using Command Line Interface – Netapp

The Data ONTAP CLI is a command language interpreter that executes commands from the Data ONTAP console. You can access the console with a physical connection, through telnet, or through the Remote LAN Manager (RLM). The commands can also be executed using rsh and ssh protocols. You can concatenate commands together on the same line by separating the commands with semi-colons, (;). Using command line interface accessing Netapp.

Using Command Line Interface – Netapp

Using command Line interface – Netapp. The quoting rules in the Data ONTAP CLI are unusual. There is no escape character like the backslash;

however there are the following special characters:

& (ampersand)     - Unicode indicator
# (pound sign)    - comment indicator
; (semicolon)     - command separator
’ (single quote)  - parameter wrapper
" (double quote)  - parameter wrapper
(space)         - parameter separator
(tab)           - parameter separator

? (question mark) - for command help

When special characters are part of a command argument, the argument needs to be surrounded by quotes or the character will be treated as a special character. A single quote character needs to be surrounded by double quote characters and a double quote character needs to be surrounded by single quote characters. The other special characters can be surrounded by either single or double quotes.


The following examples show quote usage:

qtree create /vol/test_vol/’qtree1’

the qtree 1 is created.
qtree create /vol/test_vol/’qtree#1’

qtree create /vol/test_vol/"qtree’1"

qtree’1 is created.
qtree create /vol/test_vol/’hello"’"’"1

Related Articles

Manual takeover and giveback cluster mode netapp

snapdrive command line

volume de-duplication netapp

Thanks for your wonderful Support and Encouragement

Ankam Ravi Kumar

Working as Linux / Storage Administrator L3. Interested in sharing the knowledge.

1 Response

  1. satish says:

    Awesome Traffic Documents For Your Nodes And Inventories, It Was Very Helpful To All The Netapp Learns,Not Only Learns Who Working Full Time Employees Also. Thanks a lot … ! NetApp RAVI KUMAR [ARK NRK]

Leave a Reply

Your email address will not be published. Required fields are marked *