Exhibit
Requirement: send warnings, errors, critical, alerts, and emergencies
Exhibit: An engineer wants a device to send only warning messages and more critical events to a syslog server. Which logging level should be configured?
Answer choices
Why each option matters
Good practice is not just finding the correct option. The wrong answers often show the exact trap the exam wants you to fall into.
Distractor review
logging trap debugging
Debugging is the least severe and sends everything, which is more than requested.
Best answer
logging trap warnings
Warnings include warning and all more severe levels.
Distractor review
logging trap notifications
Notifications include level 5 as well, which is less severe than warnings.
Distractor review
logging trap informational
Informational sends even more messages than requested.
Common exam trap
Common exam trap: answer the scenario, not the keyword
A frequent exam trap is selecting 'logging trap debugging' or 'informational' because these options seem to provide comprehensive logging. However, these levels include all messages, even low-priority informational and debug messages, which can overwhelm the syslog server and make it difficult to identify critical issues. Another trap is misunderstanding the syslog severity numbering, assuming higher numbers mean higher severity, when in fact, lower numbers indicate more critical events. This confusion leads to incorrect trap level configuration and ineffective monitoring.
Technical deep dive
How to think about this question
Syslog is a standardized protocol used by Cisco devices to send event messages to a centralized syslog server for monitoring and troubleshooting. Each syslog message is assigned a severity level from 0 to 7, where 0 represents the most critical events (emergencies) and 7 represents debugging messages, which are the least critical. This hierarchical severity system allows network engineers to filter messages based on their importance, ensuring that only relevant events are logged or alerted. When configuring syslog on Cisco devices, the 'logging trap' command determines the minimum severity level of messages sent to the syslog server. Setting 'logging trap warnings' means the device will send all messages with severity level 4 (warnings) and all more severe messages (levels 0 to 3). This approach balances the need to capture important network issues without overwhelming the syslog server with less critical informational or debugging messages. A common exam trap is confusing the severity levels and selecting a level like 'debugging' or 'informational,' which sends too many messages, including less critical ones that can obscure important alerts. Understanding that lower numbers mean higher severity helps avoid this mistake. In practical network operations, using 'logging trap warnings' ensures that network administrators receive timely alerts about potential problems without excessive noise, improving incident response and network reliability.
KKey Concepts to Remember
- Syslog messages use severity levels from 0 (emergencies) to 7 (debugging) to classify event importance in Cisco devices.
- Configuring 'logging trap warnings' sets the syslog level to capture warning messages and all more critical events, including errors and emergencies.
- Lower numerical syslog levels indicate higher severity, so selecting a level includes that level and all levels with smaller numbers.
- Cisco devices send syslog messages to servers based on the configured trap level, filtering out less severe messages to reduce noise.
- The 'logging trap' command controls which syslog severity levels are forwarded to a remote syslog server in Cisco IOS.
- Choosing a syslog level too low, like debugging, floods the syslog server with excessive messages, making critical events harder to identify.
- Warning level (4) includes warnings, errors, critical, alerts, and emergencies, providing a balanced view of important network events.
- Syslog severity levels help network engineers prioritize troubleshooting by focusing on relevant event severity in monitoring and alerting.
TExam Day Tips
- Watch for words such as best, first, most likely and least administrative effort.
- Review why wrong options are wrong, not only why the correct option is correct.
Related practice questions
Related 200-301 practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
CCNA subnetting practice questions
Practise IPv4 subnetting, CIDR, masks, host ranges and subnet selection.
CCNA OSPF practice questions
Practise OSPF neighbours, router IDs, metrics, areas and routing-table interpretation.
CCNA VLAN practice questions
Practise VLANs, access ports, trunks, allowed VLANs and switching scenarios.
CCNA STP practice questions
Practise spanning tree, root bridge election, port roles and STP troubleshooting.
CCNA EtherChannel practice questions
Practise LACP, PAgP, port-channel behaviour and bundle requirements.
CCNA ACL practice questions
Practise standard and extended ACLs, permit/deny logic and traffic filtering.
CCNA NAT practice questions
Practise static NAT, dynamic NAT, PAT and inside/outside address translation.
CCNA DHCP practice questions
Practise DHCP scopes, relay, leases and troubleshooting.
CCNA show ip route practice questions
Practise routing-table output, longest-prefix match, AD and route selection.
CCNA show interfaces trunk practice questions
Practise trunk verification and VLAN forwarding across switches.
CCNA wireless security practice questions
Practise WLAN security, authentication and wireless architecture concepts.
CCNA IPv6 practice questions
Practise IPv6 addressing, routes, neighbour discovery and common IPv6 exam traps.
More questions from this exam
Keep practising from the same exam bank, or move into a focused topic page if this question exposed a weak area.
Question 1
A router learns the same prefix from both OSPF and EIGRP. Which route is installed by default?
Question 2
A router shows this output: R1#show ip ospf neighbor Neighbor ID Pri State Dead Time Address Interface 10.1.1.2 1 FULL/DR 00:00:34 192.168.12.2 GigabitEthernet0/0 10.1.1.3 1 2WAY/DROTHER 00:00:39 192.168.12.3 GigabitEthernet0/0 Which statement is correct?
Question 3
What is the OSPF metric called?
Question 4
A non-root switch has two uplinks toward the root bridge. One path has a lower total STP cost than the other. What role will the lower-cost uplink have?
Question 5
A router interface applies this ACL inbound: 10 deny tcp any any eq 80 20 permit ip any any A user reports that web browsing to a server by IP address fails, but ping works. Which statement best explains the behavior?
Question 6
A router learns route 198.51.100.0/24 from OSPF with AD 110 and also has a static route to the same prefix configured with AD 150. Which route is installed?
FAQ
Questions learners often ask
What does this 200-301 question test?
Syslog messages use severity levels from 0 (emergencies) to 7 (debugging) to classify event importance in Cisco devices.
What is the correct answer to this question?
The correct answer is: logging trap warnings — Syslog severity levels include lower numbers for more severe events. Warning is level 4, so setting logging trap warnings sends level 4, 3, 2, 1, and 0 messages.
What should I do if I get this 200-301 question wrong?
Then try more questions from the same exam bank and focus on understanding why the wrong options are tempting.
Discussion
Sign in to join the discussion.