Oracle® Fabric OS 1.0.2 Command Reference

Exit Print View

Updated: November 2016
 
 

show cli

The show cli command displays information about the attributes of the CLI.

Syntax

show cli autocommit
show cli block-entry
show cli color
show cli cols
show cli command name
show cli commands name
show cli confirm
show cli echo
show cli history number
show cli idle-timeout
show cli keys
show cli loaded-commands
show cli mode
show cli paging
show cli progress-bar
show cli prompt
show cli rows
show cli space-completion
show cli user
show cli wrap

where:

  • name is the name of the CLI command.

  • number is the number of saved history commands to display.

This command has subcommands. This table describes the subcommands and provides the syntax.

Subcommand
Description
autocommit
  • on – The default is on. When a CLI command is complete, the system automatically commits the changes to the configuration database.

  • off – When set to off, any changes must be manually written to the database using the commit command. Choosing off lets you make a set of changes and then commit the changes as a group.

block-entry
Controls whether the CLI prompts for the entry of scripting blocks, such as “for each”.
color
Controls whether the CLI displays colors for command output in a session. Only output is displayed in color. Command prompts and command text is monochrome. By default, colors are displayed, but setting color off returns the screen to monochrome display.
cols
Sets the number of columns on the terminal screen. The default is the screen size for your monitor. Setting row size might not be available through a TTY/console port.
command
Reflects the name of the commands to display.
rows
Sets the number of rows on the terminal screen. The default is the screen size for your monitor. Setting row size might not be available through a TTY/console port.
confirm
Sets the CLI confirmation mode. If the mode is set to on, the CLI confirms dangerous commands.
echo
Displays all CLI communication. Choosing on echoes all commands to the terminal screen. The default is off.
history
Sets the number of saved history commands to display. The buffer limit size is 512 commands per user. The log is persistent across CLI login sessions.
idle-timeout
After a specified number of idle minutes, the CLI session times out. Configure a value of 0 to configure an infinite CLI timeout (no timeout).
mode
Controls the CLI mode. The default is user.
paging
Sets the CLI paging mode. When set to on, the display output stops when the screen is full. When paging mode is off, the output does not stop at the end of the page.
progress-bar
Determines if a progress bar is displayed on the screen for commands that are expected to take a long time to execute.
prompt
Controls the current CLI prompt mode. The custom keyword sets the prompt to be an arbitrary CLI expression. The normal keyword sets the prompt to be the full name of the current object, such as admin@nsn150-162[OFOS].
  • custom – Sets the prompt to an arbitrary CLI expression.

  • normal – Sets the prompt to the full name of the current object.

space-completion
Controls whether the CLI completes commands when the spacebar is pressed. The default is on.
wrap
Controls whether the CLI wraps text at the end of line. The default is on.