nerdexam
Juniper

JN0-102 · Question #79

Which action does the ping 172.18.1.1 size 5 command perform?

The correct answer is B. It sends a continuous ping with a packet length of five bytes to the 172.18.1.1 destination.. In Junos OS, the size option with the ping command specifies the data payload size of the ICMP packet in bytes, and without a count option, ping sends continuous requests.

Operational Monitoring and Maintenance

Question

Which action does the ping 172.18.1.1 size 5 command perform?

Options

  • AIt sends only five ping requests to the 172.18.1.1 destination.
  • BIt sends a continuous ping with a packet length of five bytes to the 172.18.1.1 destination.
  • CIt sends five rapid ping requests to the 172.18.1.1 destination.
  • DIt sends a continuous rapid ping with a packet length of five bytes to the 172.18.1.1 destination.

How the community answered

(15 responses)
  • A
    7% (1)
  • B
    87% (13)
  • C
    7% (1)

Why each option

In Junos OS, the `size` option with the `ping` command specifies the data payload size of the ICMP packet in bytes, and without a `count` option, `ping` sends continuous requests.

AIt sends only five ping requests to the 172.18.1.1 destination.

The `size` option defines packet length, not the number of requests; the `count` option specifies the number of requests.

BIt sends a continuous ping with a packet length of five bytes to the 172.18.1.1 destination.Correct

In Junos OS, the `size <bytes>` option for the `ping` command specifies the number of data bytes in the ICMP packets. By default, without a `count` option, the `ping` command sends continuous requests until manually stopped. Therefore, `ping 172.18.1.1 size 5` sends continuous pings with a 5-byte packet length.

CIt sends five rapid ping requests to the 172.18.1.1 destination.

The `size` option is for packet length, not the number of requests. 'Rapid ping requests' would imply a shorter interval, which is usually controlled by the `interval` or `rapid` option, not `size`.

DIt sends a continuous rapid ping with a packet length of five bytes to the 172.18.1.1 destination.

While it is continuous with a packet length of five bytes, the 'rapid' part is not implied by the `size` option.

Concept tested: Junos OS `ping` command options (`size`, `count`)

Source: https://www.juniper.net/documentation/us/en/software/junos/cli/topics/ref/command/ping.html

Topics

#ping command#network diagnostics#Junos CLI#packet size

Community Discussion

No community discussion yet for this question.

Full JN0-102 Practice