Administrative command-line interface

The administrative command-line interface (CLI) utility allows you to run administrative commands in interactive mode. You can also run a single command or run a set of commands from a script without starting an interactive administrative CLI session.

If you run the administrative CLI utility with any of the valid parameters, an interactive session is not started. If you run the command with no parameters, the administrative CLI starts in a session. When you are in an interactive administrative CLI session, the sfscli> prompt is displayed.

This is the syntax for using the administrative CLI command:

Read syntax diagramSkip visual syntax diagram
>>-sfscli--+-+--------+--+--------------+-+--------------------><
           | +- -?----+  '-command_name-' |
           | +- -h----+                   |
           | '- -help-'                   |
           +- -ver------------------------+
           +- -overview-------------------+
           +- -script--file_name----------+
           '-command_string---------------'

Parameters

–? | –h | –help command_name
Displays help for the specified command (for example, –h catlog displays help for the catlog command). If a command name is not specified, this parameter displays a list of available commands in the administrative CLI.
–ver
Displays the current version and licensing information for this product.
–overview
Displays the overview information about the administrative CLI, including command modes, standard format, help and listing parameters, and syntax diagram conventions.
–script file_name
Runs the set of command strings in the specified file outside of an interactive administrative CLI session. If you specify this parameter, you must specify a file name.

The format options specified using the setoutput command apply to all commands in the script.

Output from successful commands routes to the standard output stream (stdout). Output from unsuccessful commands route to the standard error stream (stderr). If an error occurs while one of the commands in the script is running, the script will exit at the point of failure and return to the system prompt.

command_string
Runs the specified command string outside of an administrative CLI session.

Parent topic: Administrative CLI overview

Library | Support | Terms of use | Feedback
(C) Copyright IBM Corporation 2003, 2004. All Rights Reserved.
IBM TotalStorage SAN File System v2.2