
146 MergePoint 5224/5240 Service Processor Manager Installer and Administrator Guide
You can use autocompletion with the set command to find out the accepted values.
Entering values with parameters
Enter values that contain spaces within double quotes (“). To set a value containing 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 7.1, you could enter the set command with the
following parameters in interactive mode to turn on Ethernet failover.
Entering a command in command code
Based on the branch in Figure 7.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.
Entering a command in batch mode
Based on the example in Figure 7.1, you could use batch mode to turn on Ethernet failover as
shown in the following examples.
cli>
set network interface failover <Tab><Tab>
set to yes or no. Enables or disables the interface bond0.
cli>
cli> add spmanager user mozart
OK
cli> set user mozart gecos “Wolfgang Amadeus \”Wolfie\” Mozart,
\\\\\”Vienna, Austria\”\/\/\”
OK
[admin@MergePoint5224 /home/admin]# cli
cli> set network interface failover yes
[admin@MergePoint5224 /home/admin]# cli -CF1 set network \
interface failover yes
Commentaires sur ces manuels