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

CLI Diagnostic Commands Overview

The CLI commands available in operational mode allow you to perform the same monitoring, troubleshooting, and management tasks you can perform with the J-Web interface. Instead of invoking the tools through a graphical interface, you use operational mode commands to perform the tasks.

Because the CLI is a superset of the J-Web interface, you can perform certain tasks only through the CLI. For example, you can use the mtrace command to display trace information about a multicast path from a source to a receiver, which is a feature available only through the CLI.

To view a list of top-level operational mode commands, type a question mark (?) at the command-line prompt. (See the Getting Started Guide for your router.)

At the top level of operational mode are the broad groups of CLI diagnostic commands listed in Table 106.

Table 106: CLI Diagnostic Command Summary

Command

Function

Controlling the CLI Environment

set option

Configures the CLI display.

Diagnosis and Troubleshooting

clear

Clears statistics and protocol database information.

mtrace

Traces information about multicast paths from source to receiver.

For details, see Tracing Multicast Routes from the CLI.

monitor

Performs real-time debugging of various software components, including the routing protocols and interfaces.

For details, see the following sections:

ping

Determines the reachability of a remote network host.

For details, see Pinging Hosts from the CLI.

ping mpls

Determines the reachability of an MPLS endpoint using various options.

For details, see MPLS Connection Checking.

test

Tests the configuration and application of policy filters and AS path regular expressions.

traceroute

Traces the route to a remote network host.

For details, see Tracing Unicast Routes from the CLI.

Connecting to Other Network Systems

ssh

Opens secure shell connections.

For details, see Using the ssh Command.

telnet

Opens Telnet sessions to other hosts on the network.

For details, see Using the telnet Command.

Management

copy

Copies files from one location on the Services Router to another, from the router to a remote system, or from a remote system to the router.

restart option

Restarts the various JUNOS software processes, including the routing protocol, interface, and SNMP processes.

request

Performs system-level operations, including stopping and rebooting the Services Router and loading JUNOS software images.

start

Exits the CLI and starts a UNIX shell.

configuration

Enters configuration mode.

For details, see the Getting Started Guide for your router.

quit

Exits the CLI and returns to the UNIX shell.


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