Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Display Real-Time Information from Device to Host

SUMMARY This section describes how to display real-time monitoring information about each device between the device and a destination host.

Display Real-Time Monitoring Information

To display real-time monitoring information about each device between the device and a specified destination host, enter the traceroute monitor command with the following syntax:

Table 1 describes the traceroute monitor command options.

Table 1: CLI traceroute monitor Command Options

Option

Description

host

Sends traceroute packets to the hostname or IP address you specify.

count number

(Optional) Limits the number of ping requests, in packets, to send in summary mode. If you do not specify a count, ping requests are continuously sent until you press Q.

inet

(Optional) Forces the traceroute packets to an IPv4 destination.

inet6

(Optional) Forces the traceroute packets to an IPv6 destination.

interval seconds

(Optional) Sets the interval between ping requests, in seconds. The default value is 1 second.

no-resolve

(Optional) Suppresses the display of the hostnames of the hops along the path.

size bytes

(Optional) Sets the size of the ping request packet. The size can be from 0 through 65,468 bytes. The default packet size is 64 bytes.

source address

(Optional) Uses the source address that you specify, in the traceroute packet.

summary

(Optional) Displays the summary traceroute information.

To quit the traceroute monitor command, press Q.

The following is sample output from a traceroute monitor command:

Table 2 summarizes the output fields of the display.

Table 2: CLI traceroute monitor Command Output Summary

Field

Description

host

Hostname or IP address of the device issuing the traceroute monitor command.

psizesize

Size of ping request packet, in bytes.

Keys

Help

Displays the Help for the CLI commands.

Press H to display the Help.

Display mode

Toggles the display mode.

Press D to toggle the display mode

Restart statistics

Restarts the traceroute monitor command.

Press R to restart the traceroute monitor command.

Order of fields

Sets the order of the displayed fields.

Press O to set the order of the displayed fields.

quit

Quits the traceroute monitor command.

Press Q to quit the traceroute monitor command.

Packets

number

Number of the hop (device) along the route to the final destination host.

Host

Hostname or IP address of the device at each hop.

Loss%

Percent of packet loss. The number of ping responses divided by the number of ping requests, specified as a percentage.

Pings

Snt

Number of ping requests sent to the device at this hop.

Last

Most recent round-trip time, in milliseconds, to the device at this hop.

Avg

Average round-trip time, in milliseconds, to the device at this hop.

Best

Shortest round-trip time, in milliseconds, to the device at this hop.

Wrst

Longest round-trip time, in milliseconds, to the device at this hop.

StDev

Standard deviation of round-trip times, in milliseconds, to the device at this hop.

Display Multicast Path Information

To display information about a multicast path from a source to the device, enter the mtrace from-source command with the following syntax:

Table 3 describes the mtrace from-source command options.

Table 3: CLI mtrace from-source Command Options

Option

Description

source host

Traces the path to the specified hostname or IP address.

extra-hops number

(Optional) Sets the number of extra hops to trace past nonresponsive devices. Specify a value from 0 through 255.

group address

(Optional) Traces the path for the specified group address. The default value is 192.0.2.0.

interval seconds

(Optional) Sets the interval between statistics gathering. The default value is 10.

max-hops number

(Optional) Sets the maximum number of hops to trace toward the source. Specify a value from 0 through 255. The default value is 32.

max-queries number

(Optional) Sets the maximum number of query attempts for any hop. Specify a value from 1 through 32. The default value is 3.

response host

(Optional) Sends the response packets to the specified hostname or IP address. By default, the response packets are sent to the device.

routing-instance routing-instance-name

(Optional) Traces the routing instance you specify.

ttl number

(Optional) Sets the time-to-live (TTL) value in the IP header of the query packets. Specify a hop count from 0 through 255. The default value for local queries to the all routers multicast group is 1. Otherwise, the default value is 127.

wait-time seconds

(Optional) Sets the time to wait for a response packet. The default value is 3 seconds.

loop

(Optional) Loops indefinitely, displaying rate and loss statistics. To quit the mtrace command, press Ctrl-C.

multicast-response

(Optional) Forces the responses to use multicast.

unicast-response

(Optional) Forces the response packets to use unicast.

no-resolve

(Optional) Does not display hostnames.

no-router-alert

(Optional) Does not use the device alert IP option in the IP header.

brief

(Optional) Does not display packet rates and losses.

detail

(Optional) Displays packet rates and losses if a group address is specified.

The following is sample output from the mtrace from-source command:

Each line of the trace display is usually in the following format (depending on the options selected and the responses from the devices along the path):

Table 4 summarizes the output fields of the display.

Note:

The packet statistics gathered from Juniper Networks devices and routing nodes always display as 0.

Table 4: CLI mtrace from-source Command Output Summary

Field

Description

hop-number

Number of the hop (device) along the path.

host

Hostname, if available, or IP address of the device. If the no-resolve option was entered in the command, the hostname is not displayed.

ip-address

IP address of the device.

protocol

Protocol used.

ttl

TTL threshold.

Round trip time milliseconds ms

Total time between the sending of the query packet and the receiving of the response packet.

total ttl of number required

Total number of hops required to reach the source.

Source

Source IP address of the response packet.

Response Dest

Response destination IP address.

Overall

Average packet rate for all traffic at each hop.

Packet Statistics For Traffic From

Number of packets lost, number of packets sent, percentage of packets lost, and average packet rate at each hop.

Receiver

IP address receiving the multicast packets.

Query Source

IP address of the host sending the query packets.