Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Network Management and Monitoring Guide
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

Diagnostic Tools Overview

date_range 15-Jun-23

Juniper Networks devices support a suite of J-Web tools and CLI operational mode commands for evaluating system health and performance. Diagnostic tools and commands test the connectivity and reachability of hosts in the network.

  • Use the J-Web Diagnose options to diagnose a device. J-Web results appear in the browser.

  • Use CLI operational mode commands to diagnose a device. You can view the CLI command output on the console or management device. You can filter the output to a file.

To use the J-Web user interface and CLI operational tools, you must have the appropriate access privileges.

This section contains the following topics:

J-Web Diagnostic Tools

The J-Web diagnostic tools consist of the options that appear when you select Troubleshoot and Maintain in the task bar. Table 1 describes the functions of the Troubleshoot options.

Table 1: J-Web Interface Troubleshoot Options

Option

Function

Troubleshoot Options

Ping Host

Allows you to ping a remote host. You can configure advanced options for the ping operation.

Ping MPLS

Allows you to ping an MPLS endpoint using various options.

Traceroute

Allows you to trace a route between the device and a remote host. You can configure advanced options for the traceroute operation.

Packet Capture

Allows you to capture and analyze router control traffic.

Maintain Options

Files

Allows you to manage log, temporary, and core files on the device.

Upgrade

Allows you to upgrade and manage Junos OS packages.

Licenses

Displays the summary of the licenses needed and used for each feature that requires a license. Allows you to add licenses.

Reboot

Allows you to reboot the device at a specified time.

CLI Diagnostic Commands

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 user interface. Instead of invoking the tools through a graphical interface, you use operational mode commands to perform the tasks.

CLI command output appears on the screen of your console or management device, or you can filter the output to a file. For operational commands that display output, such as the show commands, you can redirect the output into a filter or a file. When you display help about these commands, one of the options listed is |, called a pipe, which allows you to filter the command output.

You can use the mtrace command to display trace information about a multicast path from a source to a receiver.

To view a list of top-level operational mode commands, type a question mark (?) at the command-line prompt.

You can view CLI diagnostic commands at the top level of operational mode listed in Table 2.

Table 2: 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.

monitor

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

ping

Determines the reachability of a remote network host.

ping mpls

Determines the reachability of an MPLS endpoint using various options.

test

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

traceroute

Traces the route to a remote network host.

Connecting to Other Network Systems

ssh

Opens secure shell connections.

telnet

Opens Telnet sessions to other hosts on the network.

Management

copy

Copies files from one location on the device to another, from the device to a remote system, or from a remote system to the device.

restart option

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

request

Performs system-level operations, including stopping and rebooting the device and loading Junos OS images.

start

Exits the CLI and starts a UNIX shell.

configuration

Enters configuration mode.

quit

Exits the CLI and returns to the UNIX shell.

footer-navigation