JN0-102 · Question #67
Referring to the exhibit, which two statements are true? (Choose two.) [edit system syslog] user@router# show host 152.170.10.10 { any warning; } file changes { change-log info; }
The correct answer is A. Any warning message will be sent to the 152.170.10.10 host. D. Changes to the configuration will be logged. The syslog configuration shown will send all warning messages to the specified remote host and log changes to the device's configuration locally in a file named "changes".
Question
Referring to the exhibit, which two statements are true? (Choose two.) [edit system syslog] user@router# show host 152.170.10.10 { any warning; } file changes { change-log info; }
Options
- AAny warning message will be sent to the 152.170.10.10 host.
- BA warning message will be logged when the 152.170.10.10 host logs in.
- CChanges to the device's internal temperatures will be logged.
- DChanges to the configuration will be logged.
How the community answered
(57 responses)- A81% (46)
- B14% (8)
- C5% (3)
Why each option
The syslog configuration shown will send all warning messages to the specified remote host and log changes to the device's configuration locally in a file named "changes".
The host 152.170.10.10 any warning; statement explicitly configures the Junos OS to send syslog messages of any facility with a severity level of warning or higher to the specified remote syslog server at 152.170.10.10.
The configuration sends any warning message, not specifically when the 152.170.10.10 host logs in. The host IP refers to the syslog server, not a user.
There is no specific configuration shown that indicates logging of internal temperatures; the change-log facility is for configuration changes, not hardware sensor data.
The file changes { change-log info; } statement specifies that system messages related to configuration changes (change-log facility) with a severity level of info or higher will be logged to a local file named "changes".
Concept tested: Junos OS syslog configuration (remote host, local file, facilities, severity)
Source: https://www.juniper.net/documentation/us/en/software/junos/system-basics/topics/topic-map/system-logging.html
Topics
Community Discussion
No community discussion yet for this question.