Which statement is true regarding syslog on Junos devices?
A.
No logging is enabled by default.
B.
By default, the information is stored in a file named events.
C.
Only the message severity level must be configured.
D.
You can configure the router to send log messages to the console.
Explanation:
testing sending messages to the console
root@vSRX_R2# show
user * {
any emergency;
}
file messages {
any any;
authorization info;
}
file interactive-commands {
interactive-commands any;
}
[edit system syslog]
root@vSRX_R2#
root@vSRX_R2# set system syslog console any any
[edit]
root@vSRX_R2# commit
commit complete
[edit]
root@vSRX_R2# Jul 10 01:26:35 vSRX_R2 mgd[1268]: UI_COMMIT_PROGRESS: Commit operation in progress: signaling ‘Event processing process’, pid 948, signal 1, status 0 with notification errors enabled
Jul 10 01:26:35 vSRX_R2 mgd[1268]: UI_COMMIT_PROGRESS: Commit operation in progress: ssync begins
Jul 10 01:26:35 vSRX_R2 mgd[1268]: UI_COMMIT_PROGRESS: Commit operation in progress: ssync ends
Jul 10 01:26:35 vSRX_R2 mgd[1268]: UI_COMMIT_PROGRESS: Commit operation in progress: commit complete
Jul 10 01:26:35 vSRX_R2 mgd[1268]: UI_COMMIT_PROGRESS: Commit operation in progress: signaling ‘Alarm control process’, pid 1149, signal 30, status 0 with notification errors enabled
[edit]
root@vSRX_R2#
[edit]
root@vSRX_R2#
[edit]
root@vSRX_R2# del system syslog console any any
Jul 10 01:26:48 vSRX_R2 mgd[1268]: UI_CMDLINE_READ_LINE: User ‘root’, command ‘del system syslog console any any ‘
Jul 10 01:26:48 vSRX_R2 mgd[1268]: UI_CFG_AUDIT_OTHER: User ‘root’ delete: [system syslog console any] “any
[edit]
root@vSRX_R2# commit
Jul 10 01:26:51 vSRX_R2 mgd[1268]: UI_CMDLINE_READ_LINE: User ‘root’, command ‘commit ‘ vSRX_R2 mgd[1268]: UI_COMMIT_PROGRESS: Commit operation in progress: activating ‘/var/etc/rc.conf.inc’
………………………..
Jul 10 01:26:56 vSRX_R2 mgd[1268]: UI_COMMIT_PROGRESS: Commit operation in progress: ssync ends
Jul 10 01:26:56 vSRX_R2 mgd[1268]: UI_COMMIT_PROGRESS: Commit operation in progress: notifying daemons of new configuration
Jul 10 01:26:57 vSRX_R2 mgd[1268]: UI_COMMIT_PROGRESS: Commit operation in progress: notifying eventd(87)
commit complete
[edit]
root@vSRX_R2#
http://www.juniper.net/techpubs/en_US/junos12.1/information-products/topic-collections/syslog-messages/syslog-messages.pdf
A.
No logging is enabled by default. false is enable by default
B.
By default, the information is stored in a file named events. false is on messages
C.
Only the message severity level must be configured. false