JN0-102 · Question #82
What happens when you issue the ping 172.19.102.2 count 5 command?
The correct answer is C. ICMP echo requests are sent to 172.19.102.2 five times.. The ping command with the count option sends a specified number of ICMP echo requests to a destination.
Question
What happens when you issue the ping 172.19.102.2 count 5 command?
Options
- AICMP echo requests are sent to 172.19.102.2 in five-millisecond intervals.
- BICMP echo requests are sent to 172.19.102.2 until five packets are dropped.
- CICMP echo requests are sent to 172.19.102.2 five times.
- DICMP echo requests are sent continuously to 172.19.102.2 for five seconds.
How the community answered
(26 responses)- A8% (2)
- C88% (23)
- D4% (1)
Why each option
The `ping` command with the `count` option sends a specified number of ICMP echo requests to a destination.
The `count` option does not specify the interval between ICMP echo requests, which is typically one second by default.
The `count` option specifies the total number of packets sent, not the number of dropped packets.
The `count 5` option in the `ping` command instructs the Junos device to send exactly five ICMP echo request packets to the specified destination IP address. This allows for a limited test of connectivity and reachability.
The `count` option specifies the number of packets, not a duration for continuous sending.
Concept tested: Junos ping command options
Source: https://www.juniper.net/documentation/us/en/software/junos/junos-os-fundamentals/topics/ref/command/ping.html
Topics
Community Discussion
No community discussion yet for this question.