EasyManua.ls Logo

Avocent Cyclades ACS 5000 - Modes of Operation

Avocent Cyclades ACS 5000
152 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 1: Using the Command Line Interface 3
Modes of operation
The following table describes the three modes of executing commands using the CLI utility.
Table 1.1: Modes of Operation
Mode Description
Command Line CLI is invoked in the Linux shell with commands and parameters. For example:
[root@CAS root]# bin/CLI config network hostsettings
hostname <parameter>
Batch CLI commands may be saved in a text file and executed in batch mode by invoking
the CLI utility with the -f <filename> option.
CLI commands may be used in a shell script. For example, #/bin/CLI may be
invoked at the top of a shell script if the script contains only CLI commands. Any
type of shell may be used to run CLI commands along with other commands.
For example:
Create a script that calls /bin/CLI to configure a hostname in batch mode.
#!/bin/CLI
config network hostsettings hostname FremontACS
config savetoflash
:wq
Run a CLI command from the same script that is running other Linux commands.
#!/bin/bash
...
/bin/CLI -s config network hostsettings hostname
FremontACS
...
Run multiple CLI commands from a script that is running other Linux commands.
#!/bin/bash
...
/bin/CLI << EOF
config network hostsettings hostname FremontACS
config security adduser username johndoe
config savetoflash
EOF

Table of Contents

Other manuals for Avocent Cyclades ACS 5000

Related product manuals