JN0-102 · Question #157
How do you ping from configuration mode?
The correct answer is A. [edit interfaces]. To execute an operational command like ping while in Junos OS configuration mode, the run command prefix is used. This allows temporary execution of an operational command without fully exiting configuration mode.
Question
How do you ping from configuration mode?
Options
- A[edit interfaces]
- B[edit interfaces]
- C[edit interfaces]
- D[edit interfaces]
How the community answered
(41 responses)- A93% (38)
- B2% (1)
- C5% (2)
Why each option
To execute an operational command like `ping` while in Junos OS configuration mode, the `run` command prefix is used. This allows temporary execution of an operational command without fully exiting configuration mode.
While the provided choices are malformed as `[edit interfaces]`, the technical way to ping from configuration mode is by using the `run` command prefix, such as `run ping <destination>`. This executes an operational mode command directly from the configuration prompt, enabling diagnostics without leaving configuration editing.
The text `[edit interfaces]` is a configuration mode hierarchy path, not a command to execute a ping operation.
The text `[edit interfaces]` is a configuration mode hierarchy path, not a command to execute a ping operation.
The text `[edit interfaces]` is a configuration mode hierarchy path, not a command to execute a ping operation.
Concept tested: Executing operational commands from configuration mode
Source: https://www.juniper.net/documentation/us/en/software/junos/junos-cli/topics/topic-map/cli-operational-commands-config-mode.html
Topics
Community Discussion
No community discussion yet for this question.