Table of ContentsView in Frames

Rules for specifying values in the CLI

Most commands include one or more required or optional parameters. Many parameters require you to specify a value for them. A few rules exist for specifying values in the CLI.

In the following example, an SVM is created with a text comment. The SVM is then modified to delete the comment:

cluster1::> vserver create -vserver vs0 -subtype default -rootvolume root_vs0 
-aggregate aggr1 -rootvolume-security-style unix -language C.UTF-8 -is-repository false -ipspace ipspaceA -comment "My SVM" 
cluster1::> vserver modify -vserver vs0 -comment ""

In the following example, a command-line comment that uses the "#" sign indicates what the command does.

cluster1::> security login create -vserver vs0 -user-or-group-name new-admin 
-application ssh -authmethod password #This command creates a new user account