Chapter One: Overview of CLI
1
Chapter 1 Overview of CLI

Preface

Our feature rich StorTrends® iTX comes with a built-in command line interface (CLI) that prov ides
extensive options to monitor and control “managed objects”. Wherever applicable, CLI follows industry
standards and uses extensible ‘tags’ for new features and objects. The command line utility can be a ccessed
through an in-band special console connected to the StorTrends® iTX system or out-of-band via a SSH or
telnet client. It can also be used with scripting languages to automate a set of operations.

Overview of CLI

Our CLI supports commands in excess of 140 verbs and supports XML output format. The design is v ery
similar to DMTF SMASH specifications and is being extended to fully comply with SMASH. Ev ery managed
element or object has a SMASH compliant <Target> addressing conforming to the server manage ment
instance addressing specification. The commands implemented are essentially “stateless” in nature. SM ASH
compliant <Verbs> is used to select the management actions, which are complemented by extensive <O ption>
attributes to control the behavior of the command. <Property> attributes can control the behavior of the
output produced by the <Verb> along with various other mapping actions to the CIM schema.
The output produced can be controlled depending on the need, For example, in automation scripting. Output
can also be made to be in the W3C standard compliant, self-descriptive XML format. The output f ormat
includes new tags pertinent to the object management. Inherent support for multi-lingual docu ments and
Unicode data, along with content separation from presentation, aids in development of manage ment
applications that have their own data representation format. CLIs used for monitoring of perfor mance
parameters are dished out in XML tags that assist in graphing and charting, and can be right a way imported
by spreadsheet applications.

Accessing CLI

The CLI can be accessed either through an in-band console connected directly to the ITX box or thro ugh the
out-of-band / remote CLP agents. It can also be accessed through a remote terminal emulation prog ram using
SSH or Telnet. Once connected, the administrator has to login to the system to perform the operatio ns. In a
typical console session, the user will be presented with a login screen such as:
login: cli <Enter>
password: ******* <Enter>
“cli” is the special user that has been provided with CLI access. The password is factory defaulted to
“password”. Once logged in, the system will present the user with a CLI shell as follows:
CLI>
The user can then enter the supported commands in any order. The supported commands are listed in t he
next section. To close the session, the user can type the command ‘quit’. This will end the session.