An engineering team asks an implementer to configure syslog for warning conditions and error conditions. Which command does the implementer configure to achieve the desired result?
A. logging trap 5: This sets the logging severity level to "notifications." Syslog messages at this level include system notifications that are not errors but are important for system administrators to be aware of, such as interface status changes.
B. logging trap 2: This sets the logging severity level to "critical." Syslog messages at this level include critical system events that require immediate attention, such as system crashes or severe errors.
C. logging trap 3: This sets the logging severity level to "errors." Syslog messages at this level include error messages that indicate problems within the system, such as configuration errors or service failures.
D. logging trap 4: This sets the logging severity level to "warnings." Syslog messages at this level include warning messages that indicate potential issues or conditions that may lead to problems if not addressed, such as high CPU usage or interface errors.
Option 'd' is correct.
Wow, I screwed that one up completely :-)
In this question, the logging trap 4 command sets the logging severity level to warning (level 4). This means that log messages with severity levels 0 to 4 will be sent to the syslog server. You can adjust the severity level according to your requirements.
Here's a brief overview of syslog severity levels:
Emergency (0): System is unusable.
Alert (1): Action must be taken immediately.
Critical (2): Critical conditions.
Error (3): Error conditions.
Warning (4): Warning conditions.
Notice (5): Normal but significant conditions.
Informational (6): Informational messages.
Debugging (7): Debugging messages.
Therefore, option ‘d’ is correct.
The answer is option 'd'.
The confusion students have with this question is that the command identifies the logging level *and below* that are sent to the syslog server. By issuing the command: logging trap 3, it identifies error (3), warning (4), notification (5), informational (6), and debugging (7). No other command will include both error (3) and warning(4).
https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst2960x/software/15_2_6_e/configuration_guide/b_1526e_consolidated_2960x_cg/b_1526e_consolidated_2960x_cg_chapter_01000010.pdf
C. logging trap 3
Explanation:
The logging trap command is used to set the severity level for syslog messages that will be sent to the syslog server. The severity levels range from 0 to 7, with 0 being the most severe and 7 being the least severe.
In this scenario, the engineering team wants to configure syslog to capture warning conditions and error conditions. The severity level for warning messages is 4 (warning) and for error messages is 3 (error).
Therefore, by using the command logging trap 3, the implementer will configure syslog to capture and send error messages to the syslog server.
This section is not available anymore. Please use the main Exam Page.200-301 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.
ac89l
Highly Voted 1 year, 5 months agoMinSun600
Most Recent 2 months, 2 weeks agoeb63e5a
6 months ago[Removed]
7 months agoPaddyInNZ
10 months, 2 weeks agoPaddyInNZ
10 months, 2 weeks agoPaddyInNZ
10 months, 2 weeks agolearntstuff
1 year, 3 months agoMadKisa
1 year, 3 months ago[Removed]
1 year, 4 months agoDunedrifter
1 year, 4 months agoHM01
1 year, 4 months agoyeazas
10 months, 4 weeks agoMariachi
1 year, 7 months agorogi2023
1 year, 7 months ago