The J-Web CLI terminal provides access to the JUNOS command line interface (CLI) through the J-Web interface. The functionality and behavior of the CLI available through the CLI terminal page is the same as the JUNOS CLI available through the routing platform console. The CLI terminal supports all CLI commands and other features such as CLI help and autocompletion. Using the CLI terminal page you can fully configure, monitor, and manage your routing platform.
Figure 116 shows the CLI terminal displaying all the options that you can configure in CLI configuration mode.
Figure 116: J-Web CLI Terminal
To access the CLI through the J-Web interface, your management device requires the following features:
Note: The CLI terminal is supported on JRE version 1.4 and later only.
The JUNOS CLI uses industry-standard tools and utilities to provide a set of commands for monitoring and configuring a routing platform. You type commands on a line and press Enter to execute them. The CLI provides command help, command completion, and Emacs-style keyboard sequences for moving around on the command line and scrolling through a buffer of recently executed commands.
The commands in the CLI 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 device 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. The hierarchical organization results in commands that have a regular syntax and provides the following features that simplify CLI use:
The Tab key option is currently not available on the CLI terminal.
The CLI has two modes:
For more information about the JUNOS CLI, see the JUNOS CLI User Guide. For information about configuring and monitoring JUNOS features with the CLI, see the JUNOS manuals in Related Juniper Networks Documentation.
To get started on the CLI terminal:
After you log in, a percentage sign (%) prompt appears to indicate that you are in the UNIX shell (see Figure 117).
The presence of the angle bracket (>) prompt indicates that the CLI has started. By default, the prompt is preceded by a string that contains your username and the hostname of the device. The angle bracket also indicates that you are in operational mode.
For security purposes, each time you log out of the routing platform or leave the CLI terminal page, the CLI terminal session ends and you are required to reenter your password. When you select Diagnose>CLI Terminal again, retype your JUNOS password to access the CLI.
Figure 117: Starting the CLI Terminal