
148 MergePoint 5224/5240 Service Processor Manager Installer and Administrator Guide
Example plain text file
You can put one or more commands in a plain text file without invoking any shell as shown in the
following screen example.
And then you can invoke the cli command with the
-f <file> option to execute the command(s) from
the file, as shown in the following example.
Autocompletion
Autocompletion can be used to find out what commands and parameters are available. Pressing the
Tab key displays all the commands at the top level, as shown in the following screen example.
Typing any of the commands such as add or set then pressing
Tab twice displays all the top level
parameters, as shown in the following screen example.
Pressing the
Tab key once after partially typing a parameter name automatically completes the
parameter name, unless there is more than one parameter name beginning with the typed
characters. If more than one parameter name begins with the typed characters, then
Tab Tab
displays them all.
NOTE: adsap2, dhcpd, and logpipe are not customer-configurable. onboard is listed for backwards compatibility
to scripts written for earlier versions of this product when it was the Cyclades OnBoard Service
Processor Manager.
set network interface failover yes
[root@MergePoint5224 /]# cli -f filename
cli> <Tab>
add commit exit list rename set show
cd delete get quit revert shell version
cli> set
<Tab> <Tab>
adsap2 event_notify logpipe pptd sshd
auth group network profile syslog
auxport httpd notifications sensoralarm timezone
bootconf ipdu ntp service user
cards ipsec onboard snmpd web
dhcpd iptables param spmanager
Commentaires sur ces manuels