Bitzu

JN0-106 ยท Monitoring and maintenance

Monitor commands

monitor interface, monitor traffic, monitor start/stop for log files, and how monitor differs from show.

Key points

  • show prints a snapshot and returns to the prompt. monitor keeps updating: monitor interface shows live interface statistics, monitor traffic captures packet headers (options include interface, count, matching, size, no-resolve), and monitor start <file> follows a log or trace file as new lines are added, until monitor stop.
  • Monitoring can degrade performance, so stop it as soon as the data is collected.

Source: https://www.juniper.net/documentation/us/en/software/junos/cli-reference/topics/ref/command/monitor-start.html

Practice questions

Single choice

Which command displays new entries of the messages log file as they are written?

  1. monitor start messages
  2. show log messages
  3. monitor traffic
  4. show system uptime
Show answer

Answer: A. monitor start messages

monitor start follows a log or trace file and prints new lines as they are added. The other commands do not follow a file continuously.

Select all that apply

Which of these are options of monitor traffic?

  1. count
  2. matching
  3. no-resolve
  4. commit
  5. rollback
Show answer

Answer: A. count, B. matching, C. no-resolve

count, matching and no-resolve are monitor traffic options. commit and rollback are configuration-mode operations, not capture options.

True or false

True or false: it is harmless to leave monitor traffic running for hours after you finished troubleshooting.

Show answer

Answer: False

False. Monitoring can degrade device performance, so it should be stopped immediately after the data is collected.

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.

Download on the App StoreGet it on Google Play

More JN0-106 topics in this module