Invoking Cli - Fujitsu PRIMERGY BX600 Reference Manual

10gbe i/o module (pcie)
Hide thumbs Also See for PRIMERGY BX600:
Table of Contents

Advertisement

3. Using the Command-Line Interface

3.2. Invoking CLI

CLI can be invoked by typing CLI on the command line as described below
CLI Syntax:
CLI [-t < transport >] [-u < username >] [-p < password >] [-o < output file >] [-s < IP
Address > [: < Port >]] [-f < script file > | "< command >"]
Option
Description
-t
takes in transport as argument. Valid transports are telnet and ssh
takes username as argument for transport authentication. It is mandatory to provide
username and password CLI Options for authentication. If these CLI options are not
-u
provided on the command line, then the CLI will prompt the user to input them before
continuing to process the rest of the CLI options and CLI commands.
-p
takes password as argument for transport authentication
-o
takes output file name as argument. This output will be redirected to this file
This option takes the IP address and an optional port number (default is 22 for ssh). If this
-s
option is not given then the CLI assumes that the SM-CLP server is running on the local
machine and attempts to connect to it.
takes script file as argument. The CLI program will exit gracefully upon execution of the
-f
script file. This option cannot be used along with a command as an argument.
A basic command or a OEMSE command can be given as a command line argument. The
command
entire command must be within double quotes. This argument cannot be used along with -f
option.
CLI commands can be run in three different modes as listed below:
Immediate
In Immediate mode the CLI command is given as a CLI option with the required
parameters. The CLI will exit the program after executing the command. If the
command did not execute for some reason or if there is a syntax error then the
CLI terminates with the appropriate error message.
Example:
CLI "OEMSESaveTCPConfig"
will execute the command OEMSESaveTCPConfig and exit.
Script
A script file can be supplied followed by a "-f" CLI option. The CLI will execute all
the CLI commands in the script file and exit. If exit is not provided at the end of
the script file then it is automatically inserted. Script will be aborted if a command
encounters with an error.
Example:
CLI -f < scriptfile >
will execute all the CLI commands in scriptfile and exit.
Table 2: CLI Options
3.2. Invoking CLI
16

Advertisement

Table of Contents
loading

Table of Contents