[Contents] [Prev] [Next] [Index] [Report an Error]

Getting Online Help from the JUNOS Command-Line Interface

The JUNOS command-line interface (CLI) has a context-sensitive online help feature that enables you to access information about commands and statements from the JUNOS CLI. This topic contains the following sections:

Getting Help About Commands

Information about commands is provided at each level of the CLI command hierarchy. You can type a question mark to get help about commands:

Getting Help About a String in a Statement or Command

You can use the help command to display help about a text string contained in a statement or command name:

help apropos string

string is a text string about which you want to get help. This string is used to match statement or command names as well as to match the help strings that are displayed for the statements or commands.

If the string contains spaces, enclose it in quotation marks (" " ). You can also specify a regular expression for the string, using standard UNIX-style regular expression syntax.

In configuration mode, this command displays statement names and help text that match the string specified. In operational mode, this command displays command names and help text that match the string specified.

Getting Help About Configuration Statements

You can display help based on text contained in a statement name using the help topic and help reference commands:

help topic word
help reference statement-name

The help topic command displays usage guidelines for the statement based on information that appears in the JUNOS configuration guides. The help reference command displays summary information about the statement based on the summary descriptions that appear in the JUNOS configuration guides.

Getting Help About System Log Messages

You can display help based on a system log tag using the help syslog command:

help syslog syslog-tag

The help syslog command displays the contents of a system log message.

Related Topics


[Contents] [Prev] [Next] [Index] [Report an Error]