Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 2 Using the Command Line Interface (CLI) : Overview

Overview
The TIBCO Messaging Appliance P-7500 CLI is a text-based interface for configuring and monitoring the system. It allows the network administrator to perform all system administration, configuration, provisioning, and network troubleshooting functions.
You can access the CLI through either a console connection to the system or through a Secure Shell (SSH) connection.
The commands in the CLI are organized into these levels:
Privileged EXEC lets you use the same commands as those at the User EXEC level plus configuration commands that do not require saving the changes to the system config file
CONFIG lets you make configuration changes to the device and contains sub-levels for individual interfaces, routing protocols, and other configuration areas
To leave any level or sub-level, type exit. This takes you back up one level.
In addition to entering commands singly in response to prompts, the CLI provides a basic scripting facility to automate common tasks and command sequences.
Displaying CLI Command and Option Information
To display a list of commands or command options available in just the current CLI level, press Tab, or enter ? or tree.
To display a list of commands or command options available in both the current and global CLI levels, enter ??, Help, or tree all.
To display a list of commands or command options available in just the global CLI level, enter tree global.
Automatic CLI Command Completion
The CLI supports command completion, so you do not need to enter the entire name of a command or option. If you enter part of a command, then press Tab, the CLI lists the options you can enter at that point in the command string. As long as you enter enough characters of the command or option name to avoid ambiguity with other commands or options, the CLI understands what you are typing and completes it.
Commenting CLI Commands
Command comments can be entered directly in the CLI by identifying them with an exclamation mark (!) at the start of a line. This tells the P-7500 system that the information is a comment and is to be ignored.
Comments are useful for describing or providing information about command sequences that will be used more than once. For example, you can reuse a sequence of commands, or you can create a script of several commands to make it simpler and faster to do common tasks. For more information on the CLI scripting facility, see “Writing and Running CLI Scripts” on page  33.
Retrieving Entered CLI Commands for Reuse
All entered CLI commands are stored on the system in a history buffer. You can retrieve these entered commands by navigating the history buffer using the keyboard arrow keys. You can then copy these retrieved commands and either reuse them as is, or edit them for reuse.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved