JN0-102 · Question #84
You are troubleshooting a routing issue and need to check the hop-by-hop path to the 10.10.10.10 destination. Which three commands would display the path? (Choose three.)
The correct answer is B. user@router> ping record-route 10.10.10.10 C. user@router>traceroute 10.10.10.10 D. user@router# run traceroute 10.10.10.10. To check the hop-by-hop path to a destination in Junos, use the traceroute command or the ping record-route command from operational mode, or run traceroute from configuration mode.
Question
You are troubleshooting a routing issue and need to check the hop-by-hop path to the 10.10.10.10 destination. Which three commands would display the path? (Choose three.)
Options
- Auser@router# traceroute 10.10.10.10
- Buser@router> ping record-route 10.10.10.10
- Cuser@router>traceroute 10.10.10.10
- Duser@router# run traceroute 10.10.10.10
- Euser@router# ping record-route 10.10.10.10
How the community answered
(38 responses)- A5% (2)
- B92% (35)
- E3% (1)
Why each option
To check the hop-by-hop path to a destination in Junos, use the `traceroute` command or the `ping record-route` command from operational mode, or `run traceroute` from configuration mode.
`user@router# traceroute 10.10.10.10` is incorrect because `traceroute` is an operational command and cannot be run directly from configuration mode without the `run` keyword.
The `ping record-route` command, executed from operational mode, attempts to record the path taken by the ICMP echo requests, showing up to nine intermediate hops if supported by network devices.
The `traceroute 10.10.10.10` command, issued from the operational mode (`>`), is the standard Junos command for displaying the hop-by-hop path and latency to a destination.
The `run traceroute 10.10.10.10` command executed from configuration mode (`#`) allows you to execute an operational mode command, such as `traceroute`, directly without exiting configuration mode.
`user@router# ping record-route 10.10.10.10` is incorrect because `ping` is an operational command and cannot be run directly from configuration mode without the `run` keyword.
Concept tested: Junos troubleshooting commands for path tracing
Source: https://www.juniper.net/documentation/us/en/software/junos/junos-os-fundamentals/topics/ref/command/traceroute.html
Topics
Community Discussion
No community discussion yet for this question.