- A
protect
Correct. Protect is the quietest enforcement mode.
- B
restrict
Why wrong: Restrict provides similar forwarding behavior but tracks and reports violations.
- C
shutdown
Why wrong: Shutdown places the port into err-disabled state after a violation.
- D
shutdown vlan
Why wrong: Shutdown vlan is not the standard switchport port-security violation mode being tested here.
Quick Answer
The answer is protect. This port security violation mode silently drops frames from unauthorized MAC addresses while keeping the interface fully operational, and it does not generate an SNMP trap or syslog message, making it the only mode that operates without any notification or counter increment. In contrast, restrict also drops frames but increments the violation counter and can send notifications, while shutdown disables the port entirely. On the CCNA 200-301 v2 exam, this distinction tests your understanding of how each violation mode handles unauthorized traffic differently, often appearing in multiple-choice questions that ask which mode drops traffic without alerting the network management system. A common trap is confusing restrict with protect because both keep the interface up, but remember that restrict logs the violation and protect does not. For a quick memory tip, think of protect as the silent guardian: it protects the port by dropping bad traffic without making a sound.
CCNA Network Services and Security Practice Question
This 200-301 practice question tests your understanding of network services and security. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. A key principle to apply: port-security violation modes determine how a switch port reacts when frames from unauthorized MAC addresses are detected.. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
Which port-security violation mode drops frames from unauthorized MAC addresses but keeps the interface up and does not send an SNMP trap or syslog message?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
protect
Protect silently drops frames from unauthorized sources while leaving the interface up. Restrict also drops frames but increments the violation counter and can generate notifications.
Key principle: Port-security violation modes determine how a switch port reacts when frames from unauthorized MAC addresses are detected.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
protect
Why this is correct
Correct. Protect is the quietest enforcement mode.
Related concept
Port-security violation modes determine how a switch port reacts when frames from unauthorized MAC addresses are detected.
- ✗
restrict
Why it's wrong here
Restrict provides similar forwarding behavior but tracks and reports violations.
When this WOULD be correct
In a different question, if asked about a port-security mode that drops unauthorized MAC frames but also sends alerts to network management systems, 'restrict' would be the correct answer, as it fits the criteria of notifying administrators while maintaining interface functionality.
- ✗
shutdown
Why it's wrong here
Shutdown places the port into err-disabled state after a violation.
When this WOULD be correct
In a question asking for a port-security violation mode that completely disables the interface upon detecting unauthorized MAC addresses, 'shutdown' would be the correct answer. This scenario would focus on a strict security posture where any unauthorized access leads to immediate interface shutdown.
- ✗
shutdown vlan
Why it's wrong here
Shutdown vlan is not the standard switchport port-security violation mode being tested here.
When this WOULD be correct
In a scenario where the question asks which port-security violation mode disables a specific VLAN but still allows other VLANs to function normally, 'shutdown vlan' would be the correct answer. This could involve a focus on VLAN-specific security measures rather than interface status.
Option-by-option analysis
Why each answer is right or wrong
Understanding why wrong answers are wrong — and when they would be correct — is what separates a 750 score from a 900. The 200-301 exam frequently reuses these exact scenarios with slightly different constraints.
✓protectCorrect answer▾
Why this is correct
Correct. Protect is the quietest enforcement mode.
✗restrictWrong answer — click to see why▾
Why this is wrong here
The 'restrict' mode allows frames from unauthorized MAC addresses to be dropped while sending SNMP traps and syslog messages, which contradicts the requirement of keeping the interface up without notifications.
★ When this WOULD be the correct answer
In a different question, if asked about a port-security mode that drops unauthorized MAC frames but also sends alerts to network management systems, 'restrict' would be the correct answer, as it fits the criteria of notifying administrators while maintaining interface functionality.
Why candidates choose this
Candidates may choose 'restrict' because it sounds similar to 'protect' and implies a proactive approach to security, leading them to mistakenly associate it with a mode that drops unauthorized traffic without shutting down the interface.
✗shutdownWrong answer — click to see why▾
Why this is wrong here
The 'shutdown' mode disables the interface when a violation occurs, which is contrary to the requirement of keeping the interface up. It also does not align with the need to drop frames without sending SNMP traps or syslog messages.
★ When this WOULD be the correct answer
In a question asking for a port-security violation mode that completely disables the interface upon detecting unauthorized MAC addresses, 'shutdown' would be the correct answer. This scenario would focus on a strict security posture where any unauthorized access leads to immediate interface shutdown.
Why candidates choose this
Candidates may choose 'shutdown' because it is a well-known port-security mode that directly addresses unauthorized access, leading to confusion with the requirement to drop frames while keeping the interface operational.
✗shutdown vlanWrong answer — click to see why▾
Why this is wrong here
The 'shutdown vlan' mode disables the entire VLAN when a violation occurs, which is not aligned with the requirement to keep the interface up. This option also typically sends SNMP traps or syslog messages, which contradicts the question's criteria.
★ When this WOULD be the correct answer
In a scenario where the question asks which port-security violation mode disables a specific VLAN but still allows other VLANs to function normally, 'shutdown vlan' would be the correct answer. This could involve a focus on VLAN-specific security measures rather than interface status.
Why candidates choose this
Candidates may find 'shutdown vlan' tempting because it suggests a strong security posture by disabling a VLAN, which might seem like a logical choice when considering unauthorized access prevention.
Analysis generated from the official 200-301blueprint and verified against question context. The “when correct” sections are what AI assistants cite when candidates ask “what’s the difference between these options?”
Common exam traps
Common exam trap: answer the scenario, not the keyword
Be careful not to confuse Protect with Restrict, as both drop frames but only Restrict sends notifications.
Trap categories for this question
Similar concept trap
Restrict provides similar forwarding behavior but tracks and reports violations.
Detailed technical explanation
How to think about this question
Port-security is a Layer 2 security feature on Cisco switches that restricts input to an interface by limiting and identifying MAC addresses of the stations allowed to access the port. When a frame with an unauthorized MAC address is received, the switch triggers a violation event. The violation mode configured on the port determines the switch's response to this event, which can range from silently dropping frames to disabling the port entirely. The protect violation mode is the least intrusive enforcement method. It drops frames from unauthorized MAC addresses without generating any log messages or SNMP traps, and crucially, it keeps the interface in an up state. This mode is useful when administrators want to enforce security quietly without alerting network management systems or disrupting legitimate traffic. In contrast, the restrict mode also drops unauthorized frames but increments violation counters and sends notifications, while the shutdown mode disables the port by placing it into an err-disabled state, requiring manual intervention to restore connectivity. A common exam trap is confusing protect with restrict mode because both drop unauthorized frames. However, protect is silent and non-disruptive, whereas restrict provides alerts and counters. Misunderstanding this distinction can lead to incorrect answers. Practically, protect mode is ideal in environments where maintaining port availability is critical and administrators prefer to monitor violations manually rather than receive automated alerts. This behavior aligns with Cisco’s design to offer flexible security enforcement tailored to network policies.
KKey Concepts to Remember
- Port-security violation modes determine how a switch port reacts when frames from unauthorized MAC addresses are detected.
- The protect mode drops unauthorized frames silently without generating syslog messages or SNMP traps, keeping the interface operational.
- The restrict mode also drops unauthorized frames but increments violation counters and sends syslog messages and SNMP traps for monitoring.
- The shutdown mode places the port into an err-disabled state after a violation, effectively disabling the interface until manually re-enabled.
- Port-security protects Layer 2 networks by limiting access based on MAC addresses, preventing unauthorized devices from communicating.
- Cisco switches use violation modes to balance security enforcement with network availability and administrative alerting.
- Choosing the correct violation mode depends on the desired trade-off between security visibility and network uptime.
- Understanding port-security violation modes is essential for configuring secure access on switchports in Cisco networks.
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.
Key takeaway
Port-security violation modes determine how a switch port reacts when frames from unauthorized MAC addresses are detected.
Real-world example
How this comes up in practice
A help-desk technician troubleshoots why a newly connected PC cannot reach shared printers on the same floor. The cable is good, the switch port is active, but the PC is in VLAN 20 and the printers are in VLAN 10. The uplink trunk only allows VLAN 10. A trunk being up does not mean every VLAN crosses it.
What to study next
Got this wrong? Here's your next step.
Review port-security violation modes determine how a switch port reacts when frames from unauthorized MAC addresses are detected., then practise related 200-301 questions on the same topic to reinforce the concept.
- →
Network Services and Security — study guide chapter
Learn the concepts, then practise the questions
- →
Network Services and Security practice questions
Targeted practice on this topic area only
- →
All 200-301 questions
1,819 questions across all exam domains
- →
CCNA 200-301 v2 study guide
Full concept coverage aligned to exam objectives
- →
200-301 practice test guide
How to use practice tests most effectively before exam day
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.
Network Infrastructure and Connectivity practice questions
Practise 200-301 questions linked to Network Infrastructure and Connectivity.
Switching and Network Access practice questions
Practise 200-301 questions linked to Switching and Network Access.
IP Routing practice questions
Practise 200-301 questions linked to IP Routing.
Network Services and Security practice questions
Practise 200-301 questions linked to Network Services and Security.
AI and Network Operations practice questions
Practise 200-301 questions linked to AI and Network Operations.
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.
Practice this exam
Start a free 200-301 practice session
Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.
FAQ
Questions learners often ask
What does this 200-301 question test?
Network Services and Security — This question tests Network Services and Security — Port-security violation modes determine how a switch port reacts when frames from unauthorized MAC addresses are detected..
What is the correct answer to this question?
The correct answer is: protect — Protect silently drops frames from unauthorized sources while leaving the interface up. Restrict also drops frames but increments the violation counter and can generate notifications.
What should I do if I get this 200-301 question wrong?
Review port-security violation modes determine how a switch port reacts when frames from unauthorized MAC addresses are detected., then practise related 200-301 questions on the same topic to reinforce the concept.
What is the key concept behind this question?
Port-security violation modes determine how a switch port reacts when frames from unauthorized MAC addresses are detected.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Keep practising
More 200-301 practice questions
- A switchport connected to another switch should carry multiple VLANs, but it was manually configured as an access port.…
- What problem is HSRP designed to solve?
- Which TWO statements correctly describe the causes or implications of CRC errors, runts, giants, or output errors as see…
- You are connected to R1. Configure IPv4 and IPv6 addressing on R1's interfaces and verify reachability to R2. The curren…
- Which TWO statements accurately describe how AI/ML concepts are applied to network operations in modern enterprise netwo…
- Which TWO switch port configurations are required when connecting a Cisco IP phone and a desktop PC to a single access p…
Last reviewed: May 17, 2026
This 200-301 practice question is part of Courseiva's free Cisco certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 200-301 exam.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.