nerdexam
Juniper

JN0-102 · Question #158

Which two commands will successfully create ping traffic? (Choose two.)

The correct answer is B. user@router# run ping 10.10.10.1 C. user@router> ping 10.10.10.1. To create ping traffic in Junos OS, one can directly use the ping command from operational mode or prefix it with run when in configuration mode. Both methods successfully initiate ICMP echo requests.

User Interface Options

Question

Which two commands will successfully create ping traffic? (Choose two.)

Options

  • Auser@router# ping 10.10.10.1
  • Buser@router# run ping 10.10.10.1
  • Cuser@router> ping 10.10.10.1
  • Duser@router> request ping 10.10.10.1

How the community answered

(40 responses)
  • A
    10% (4)
  • B
    88% (35)
  • D
    3% (1)

Why each option

To create ping traffic in Junos OS, one can directly use the `ping` command from operational mode or prefix it with `run` when in configuration mode. Both methods successfully initiate ICMP echo requests.

Auser@router# ping 10.10.10.1

The `ping` command cannot be executed directly from configuration mode (indicated by '#'); it must be prefixed with `run` to be executed as an operational command.

Buser@router# run ping 10.10.10.1Correct

In Junos OS, when in configuration mode (indicated by '#'), the `run` keyword allows the execution of an operational mode command, such as `ping 10.10.10.1`, without exiting configuration mode. This command successfully generates ping traffic to the specified destination.

Cuser@router> ping 10.10.10.1Correct

In Junos OS, when in operational mode (indicated by '>'), the `ping` command can be directly executed, such as `ping 10.10.10.1`, to generate ICMP echo requests and test network reachability. This command successfully creates ping traffic.

Duser@router> request ping 10.10.10.1

While `request` is a valid keyword for some operational commands, the standard and most direct command to initiate ping from operational mode (indicated by '>') is simply `ping`; `request ping` is not a valid or common command for this purpose.

Concept tested: Junos CLI ping commands

Source: https://www.juniper.net/documentation/us/en/software/junos/command-reference/topic-map/cli-commands-ping.html

Topics

#CLI commands#ping#operational mode#configuration mode

Community Discussion

No community discussion yet for this question.

Full JN0-102 Practice