Juniper Networks J2320 manual Using the Command-Line Interface, CLI Command Hierarchy

Models: J2320

1 330
Download 330 pages 32.01 Kb
Page 111
Image 111

Chapter 4: Services Router User Interface Overview

Using the Command-Line Interface

This section contains the following topics:

CLI Command Hierarchy on page 89

Starting the CLI on page 90

CLI Operational Mode on page 90

CLI Configuration Mode on page 91

CLI Basics on page 92

For more information about the CLI, see the JUNOS CLI User Guide.

CLI Command Hierarchy

The CLI commands are organized hierarchically, with commands that perform a similar function grouped together under the same level. For example, all commands that display information about the Services Router system and system software are grouped under the show command, and all commands that display information about the routing table are grouped under the show route command. Figure 50 on page 89 illustrates a portion of the show command hierarchy.

Figure 50: CLI Command Hierarchy Example

To execute a command, you enter the full command name, starting at the top level of the hierarchy. For example, to display a brief view of the routes in the routing table, use the command show route brief.

The hierarchical organization results in commands that have a regular syntax and provides the following features that simplify CLI use:

Consistent command names—Commands that provide the same type of function have the same name, regardless of the portion of the software they are operating on. For example, all show commands display software information and statistics, and all clear commands erase various types of system information.

Lists and short descriptions of available commands—Information about available commands is provided at each level of the CLI command hierarchy. If you type a question mark (?) at any level, you see a list of the available commands along with a short description of each command.

Command completion—Command completion for command names (keywords) and command options is also available at each level of the hierarchy. If you type a partial command name followed immediately by a question mark (with no

Using the Command-Line Interface 89

Page 111
Image 111
Juniper Networks J2320 manual Using the Command-Line Interface, CLI Command Hierarchy