System information
Using the cycli Utility 307
cycli Parameters and Arguments
Entering Values With Parameters
Enter values that contain spaces within double quotes (“). To set a value that
contains double quotes, precede the double quote within a double quote with a
backslash (\), which is achieved by typing two backslashes.
To add a user called “mozart” and to set the value of the user’s GECOS to
“Wolfgang Amadeus “Wolfie” Mozart, \\ “Vienna, Austria” //,” you would
enter the following:
Entering a Command in Interactive Mode
Based on the branch in the example in Figure 10-1, you could enter the set
command with the following parameters in interactive mode to turn on
Ethernet failover.
Entering a Command in Command Mode
Based on the branch in Figure 10-1, you could enter the set command to turn
on Ethernet failover with the parameters shown in the following screen
example in command mode. When the command completes, the shell prompt
returns. The backslash in the example indicates that the command is too long
for the page format. On the command line, you could enter all the parameters
together with the value on the same command line.
cli> add onboard user mozart
OK
cli> set user mozart gecos “Wolfgang Amadeus \”Wolfie\” Mozart,
\\\\\”Vienna, Austria\”\/\/\”
OK
[admin@onboard /home/admin]# cycli
cli> set network interface failover yes
[admin@onboard /home/admin]# cycli -CF1 set network \
interface failover yes