JN0-104 Exam QuestionsBrowse all questions from this exam

JN0-104 Exam - Question 17


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?

Show Answer
Correct Answer: A

To view the syslog messages in real-time on a Junos device, you should use the command 'monitor log messages'. This command allows you to see messages as they are generated by the system, providing a live view useful for troubleshooting. Other commands like 'show log messages' only display the existing log file contents and do not update in real-time.

Discussion

12 comments
Sign in to comment
NasreddOption: D
Jul 8, 2023

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

Bubu3kOption: C
Nov 3, 2022

It's show log messages

MakweenOption: D
Apr 4, 2023

Command is: " root@user> monitor start messages" when trying to monitor system log files in real time

[Removed]Option: D
May 10, 2023

root@RE-R1> monitor start messages {linecard:1} root@RE-R1> *** messages *** May 10 08:28:33 RE-R1 dcd[1605]: DCD_CONFIG_WRITE_FAILED: IFL em0.0 configuration write failed for an IFL ADD: File exists May 10 08:28:37 RE-R1 rpio_tunnel_br[1817]: PFEMAN: trying master connection, attempt 80 to 0x1000080 for port 23064 status 65 May 10 08:28:38 RE-R1 rpio_tunnel_br[1817]: CMLC: Retrying master connection, attempt 50 to 0x1000080

mantonegroOption: D
Nov 3, 2022

Should be D

aisa007Option: D
Nov 4, 2022

D is correct

_muxa_Option: D
Nov 16, 2022

Answer D

GreatDaneOption: D
Dec 16, 2022

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. ..."

MihooOption: D
Jan 3, 2023

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

GuillaumeOption: D
Feb 6, 2023

D is correct

gpt_testOption: A
Mar 29, 2023

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.

CradicalOption: A
May 29, 2023

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.

Nienke09
Nov 30, 2023

'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