mtrace to-gateway
Syntax
mtrace to-gateway gateway gateway <brief | detail> <extra-hops extra-hops> <group group> <interface interface-name> <interval interval> <loop> <max-hops max-hops> <max-queries max-queries> <multicast-response | unicast-response> <no-resolve> <no-router-alert> <response response> <routing-instance routing-instance-name> <ttl ttl> <unicast-response> <wait-time wait-time>
Description
Display trace information about a multicast path from this router or switch to a gateway router or switch.
Options
gateway gateway | Send the trace query to a gateway multicast address. |
brief | detail | (Optional) Display the specified level of output. |
extra-hops extra-hops | (Optional) Number of hops to take after reaching a nonresponsive router or switch. 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 0.0.0.0. |
interface interface-name | (Optional) Source address for sending the trace query. |
interval interval | (Optional) Number of seconds to wait before gathering statistics again. The default value is 10. |
loop | (Optional) Loop indefinitely, displaying rate and loss statistics. |
max-hops max-hops | (Optional) Maximum hops to trace toward the source. You can specify a number between 0 and 255.. The default value is 32. |
max-queries max-queries | (Optional) Maximum number of query attempts for any hop. You can specify a number between 0 and 255. The default value is 3. |
multicast-response | (Optional) Always request the response using multicast. |
no-resolve | (Optional) Do not attempt to display addresses symbolically. |
no-router-alert | (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. |
ttl ttl | (Optional) IP time-to-live value. You can specify a number between 0 and 225. Local queries to the multicast group use TTL 1. Otherwise, the default value is 127. |
unicast-response | (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
view
Output Fields
Table 1 describes the output fields for the mtrace to-gateway
command. Output fields are listed in the approximate order in which
they appear.
Field Name |
Field Description |
---|---|
Mtrace from |
IP address of the receiver. |
to |
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 |
Number of hops from the source to the named router or switch. |
router-name |
Name of the router or switch for this hop. |
address |
Address of the router or switch for this hop. |
protocol |
Protocol used (for example, PIM). |
Round trip time |
Average round-trip time, in milliseconds (ms). |
total ttl of |
Time-to-live (TTL) threshold. |
Sample Output
mtrace to-gateway
user@host> mtrace to-gateway gateway 192.168.3.2 group 233.252.0.1 interface 192.168.1.73 brief Mtrace from 192.168.1.73 to 192.168.1.2 via group 233.252.0.1 Querying full reverse path... * * 0 routerA.lab.mycompany.net (192.1.1.2) -1 routerA.lab.mycompany.net (192.1.1.2) PIM thresh^ 1 -2 routerB.lab.mycompany.net (192.1.2.2) PIM thresh^ 1 -3 routerC.lab.mycompany.net (192.1.3.2) PIM thresh^ 1 Round trip time 2 ms; total ttl of 3 required.
Release Information
Command introduced before Junos OS Release 7.4.