Brocade Communications Systems RFS6000 User Manual

Page 27

Advertising
background image

Brocade Mobility RFS4000, RFS6000 and RFS7000 CLI Reference Guide

25

53-1001931-01

Getting context sensitive help

1

Use the following commands to obtain help specific to a command mode, command name,
keyword or argument:

NOTE

The system prompt varies depending on which configuration mode you are in.

NOTE

Enter Ctrl + V to use ? as a regular character and not as a character used for displaying context
sensitive help. This is required when the user has to enter a URL that ends with a ?

NOTE

The escape character used through out the CLI is “\”. To enter a "\" use "\\" instead.

When using context-sensitive help, the space (or lack of a space) before the question mark (?) is
significant. To obtain a list of commands that begin with a particular sequence, enter the
characters followed by a question mark (?). Do not include a space. This form of help is called word
help, because it completes a word.

RFController#service?

service Service Commands

RFController#service

Enter a question mark (?) (in place of a keyword or argument) to list keywords or arguments.
Include a space before the ?. This form of help is called command syntax help. It shows the
keywords or arguments available based on the command/keyword and argument already entered.

RFController>service ?

diag Diagnostics

encrypt Encrypt password or key with secret

save-cli Save CLI tree for all modes in html format

show Show running system information

RFController>service

It is possible to abbreviate commands and keywords to allow a unique abbreviation. For example,
“configure terminal” can be abbreviated as

config t

. Since the abbreviated command is unique,

the controller accepts the abbreviation and executes the command.

Enter the help command (available in any command mode) to provide the following description:

RFController>help

CLI provides advanced help feature. When you need help,

Command

Description

(prompt)# help

Displays a brief description of the help system

(prompt)#
abbreviated-command-entry
?

Lists commands in the current mode that begin with a
particular character string

(prompt)#
abbreviated-command-entry
<Tab>

Completes a partial command name

(prompt)# ?

Lists all commands available in the command mode

(prompt)# command ?

Lists the available syntax options (arguments and
keywords) for the command

(prompt)# command keyword ?

Lists the next available syntax option for the command

Advertising
This manual is related to the following products: