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?
Correct Answer: C
The verified answer is C. logging trap 4 sends warning severity messages and all more severe syslog messages to the server. Syslog severity numbers become more severe as the number decreases, so level 4 includes emergencies, alerts, critical, errors, and warnings. Cisco CCNA 200-301 v1.1 places this skill in IP Services, where the exam expects a working understanding of how the feature behaves on real Cisco networks, not just a memorized command. Level 5 would include notices but is not limited to warning and error conditions; levels 2 and 3 omit warnings. In production, this distinction matters because a misapplied command or design choice usually creates an outage, a security gap, or unnecessary troubleshooting noise.
The correct choice matches the control-plane, data-plane, wireless, security, or services behaviour described in the scenario and should be preferred over options that merely sound related.