You are troubleshooting a problem on your Junos device. You want to view the syslog messages in real-time on your terminal. In this scenario, which command will accomplish this task?
To monitor the messages file in real time, use the monitor start messages CLI command. This command displays the new entries in the file until you stop monitoring by using the monitor stop messages CLI command.
source here ==> https://www.juniper.net/documentation/en_US/junos/topics/task/verification/error-messages-log-file-displaying.html
A. monitor log messages
The command "monitor log messages" allows you to monitor and display the syslog messages in real-time on your terminal. This command continuously displays the log messages as they are generated, providing you with a live view of the system logs.
'monitor log' is not available. Below I copied from a random switch in my company:
> monitor ?
Possible completions:
ethernet Start ethernet performance measurement
interface Show interface traffic
list Show status of monitored files
start Start showing log file in real time
static-lsp Show static label-switched-path traffic
stop Stop showing log file in real time
traffic Show real-time network traffic information
A. monitor log messages
Explanation: The "monitor log messages" command in Junos OS allows you to view syslog messages in real-time on your terminal. As new syslog messages are generated by the system, they are displayed on the terminal screen, allowing you to monitor events and troubleshoot problems as they occur.
The other options do not provide real-time monitoring of syslog messages:
B. "show log traceoptions" is used to view the contents of the traceoptions log file, which contains tracing information for debugging purposes. It does not provide real-time monitoring of syslog messages.
C. "show log messages" is used to view the contents of the "messages" log file, which contains syslog messages. However, this command displays the existing contents of the log file and does not provide real-time monitoring.
D. "monitor start message" is not a valid Junos OS command.
Ref: monitor start | Junos OS | Juniper Networks
"monitor start
...
Description
Start displaying the system log or trace file and additional entries being added to those files.
..."
This section is not available anymore. Please use the main Exam Page.JN0-104 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Nasredd
Highly Voted 1 year, 9 months agoCradical
Most Recent 1 year, 11 months agoNienke09
1 year, 4 months ago[Removed]
1 year, 11 months agoMakween
2 years agogpt_test
2 years agoGuillaume
2 years, 2 months agoMihoo
2 years, 3 months ago[Removed]
2 years, 4 months ago_muxa_
2 years, 5 months agoaisa007
2 years, 5 months agomantonegro
2 years, 5 months agoBubu3k
2 years, 5 months ago