nerdexam
CiscoCisco

200-301 · Question #454

200-301 Question #454: Real Exam Question with Answer & Explanation

The correct answer is C: logging trap 4. To configure a Cisco device to send syslog messages for warning and error conditions, the logging trap 4 command should be used.

Submitted by manish99· Mar 5, 2026IP Services

Question

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?

Options

  • Alogging trap 5
  • Blogging trap 2
  • Clogging trap 4
  • Dlogging trap 3

Explanation

To configure a Cisco device to send syslog messages for warning and error conditions, the logging trap 4 command should be used.

Common mistakes.

  • A. Logging trap 5 corresponds to 'notice' messages, which would include warnings (level 4) and errors (level 3), but the prompt specifically asks for warning and error conditions, so setting it to 4 is more precise for the requested minimum level.
  • B. Logging trap 2 corresponds to 'critical' messages, which would not include 'error' (level 3) or 'warning' (level 4) messages.
  • D. Logging trap 3 corresponds to 'error' messages, which would not include 'warning' (level 4) messages.

Concept tested. Cisco IOS syslog configuration

Reference. https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/esm/command/esm-cr-book/esm-cr-l1.html#wp1010317374

Topics

#syslog#logging trap#syslog severity

Community Discussion

No community discussion yet for this question.

Full 200-301 PracticeBrowse All 200-301 Questions