Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


mtrace from-source



Display trace information about an IP multicast path from a source to this router or switch. If you specify a group address with this command, Junos OS returns additional information, such as packet rates and losses.


brief | detail

(Optional) Display the specified level of output.

extra-hops extra-hops

(Optional) Number of hops to take after reaching a nonresponsive router. You can specify a number between 0 and 255.

group group

(Optional) Group address for which to trace the path. The default group address is

interval interval

(Optional) Number of seconds to wait before gathering statistics again. The default value is 10 seconds.


(Optional) Loop indefinitely, displaying rate and loss statistics.

max-hops max-hops

(Optional) Maximum hops to trace toward the source. The range of values is 0 through 255. The default value is 32 hops.

max-queries max-queries

(Optional) Maximum number of query attempts for any hop. The range of values is 1 through 32. The default is 3.


(Optional) Always request the response using multicast.


(Optional) Do not attempt to display addresses symbolically.


(Optional) Do not use the router-alert IP option.

response response

(Optional) Send trace response to a host or multicast address.

routing-instance routing-instance-name

(Optional) Trace a particular routing instance.

source source

Source hostname or address.

ttl ttl

(Optional) IP time-to-live (TTL) value. You can specify a number between 0 and 255. Local queries to the multicast group use a value of 1. Otherwise, the default value is 127.


(Optional) Always request the response using unicast.

wait-time wait-time

(Optional) Number of seconds to wait for a response. The default value is 3.

Required Privilege Level


Output Fields

Table 1 describes the output fields for the mtrace from-source command. Output fields are listed in the approximate order in which they appear.

Table 1: mtrace from-source Output Fields

Field Name

Field Description

Mtrace from

IP address of the receiver.


IP address of the source.

via group

IP address of the multicast group (if any).

Querying full reverse path

Indicates the full reverse path query has begun.


Number of hops from the source to the named router or switch.


Name of the router or switch for this hop.


Address of the router or switch for this hop.


Protocol used (for example, PIM).

Round trip time

Average round-trip time, in milliseconds (ms).

total ttl of

Time-to-live (TTL) threshold.


Source address.

Response Dest

Response destination address.


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.


IP address receiving the multicast.

Query source

IP address sending the mtrace query.

Sample Output

mtrace from-source

Release Information

Command introduced before Junos OS Release 7.4.