JN0-106 ยท Monitoring and maintenance
Network tools: ping, traceroute, telnet and SSH
ping options (count, source, size), traceroute, telnet and ssh from the device, and interpreting their results.
Key points
- ping <host> sends ICMP echo requests; useful options are count (number of requests, unlimited by default), source (source address, otherwise the outgoing interface address), size (payload bytes, default 56), rapid, interval and do-not-fragment. traceroute <host> lists the hops to a destination. telnet <host> opens a clear-text session and ssh <host> an encrypted one, both started from the device CLI.
Practice questions
What is the default size of the ping request data on a Junos device?
- 56 bytes
- 32 bytes
- 100 bytes
- 1500 bytes
Show answer
Answer: A. 56 bytes
The default is 56 bytes, which becomes 64 bytes with the ICMP header. 84 would include the IP header as well, and the other values are not defaults.
Which of these are options of the Junos ping command?
- count
- interval
- do-not-fragment
- validate
- rollback
Show answer
Answer: A. count, B. interval, C. do-not-fragment
count, interval and do-not-fragment are ping options. validate and rollback belong to other commands.
True or false: if you omit count, ping on Junos sends exactly five requests and stops.
Show answer
Answer: False
False. Without count the number of requests is unlimited, so ping runs until you interrupt it (Ctrl+C). Only rapid reports after a batch of five.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
