JN0-102 · Question #401
You have configured logging to the console port but are uncertain of the impact to the device while troubleshooting. In this scenario, which command would allow you to minimize the impact?
The correct answer is C. set system syslog console any none. To minimize the impact of console logging while troubleshooting, configure the system syslog to send no messages of any severity to the console.
Question
You have configured logging to the console port but are uncertain of the impact to the device while troubleshooting. In this scenario, which command would allow you to minimize the impact?
Options
- Acommit synchronize comment troubleshoot
- Bcommit confirmed 1 comment troubleshoot
- Cset system syslog console any none
- Dset system syslog log-rotate-frequency 15
How the community answered
(37 responses)- A8% (3)
- B11% (4)
- C78% (29)
- D3% (1)
Why each option
To minimize the impact of console logging while troubleshooting, configure the system syslog to send no messages of any severity to the console.
`commit synchronize comment troubleshoot` is a commit command and does not directly control the volume or impact of console logging.
`commit confirmed 1 comment troubleshoot` is a commit command for safely applying changes and does not mitigate the impact of console logging output.
The command `set system syslog console any none` configures the system to suppress all syslog messages (any facility, any severity) from being sent to the console. This effectively stops the console from being flooded with output, thereby minimizing the impact during troubleshooting scenarios where excessive logging could consume resources or hinder interaction.
`set system syslog log-rotate-frequency 15` configures how often log files are rotated, which does not affect the real-time output or impact of logging to the console.
Concept tested: Junos syslog console logging impact
Source: https://www.juniper.net/documentation/us/en/software/junos/system-basics/topics/topic-map-configuring-system-logging.html
Topics
Community Discussion
No community discussion yet for this question.