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.
Practice questions
Which command displays new entries of the messages log file as they are written?
- monitor start messages
- show log messages
- monitor traffic
- 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.
Which of these are options of monitor traffic?
- count
- matching
- no-resolve
- commit
- 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: 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.
