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
Good practice is not just finding the correct option. The wrong answers often show the exact trap the exam wants you to fall into.
Best answer
protect
Correct. Protect is the quietest enforcement mode.
Distractor review
restrict
Restrict provides similar forwarding behavior but tracks and reports violations.
Distractor review
shutdown
Shutdown places the port into err-disabled state after a violation.
Distractor review
shutdown vlan
Shutdown vlan is not the standard switchport port-security violation mode being tested here.
Common exam trap
Common exam trap: answer the scenario, not the keyword
A frequent exam trap is mistaking the protect mode for restrict mode because both drop unauthorized frames. Candidates often assume that any violation mode dropping frames must generate alerts or disable the port. However, protect mode silently drops frames without sending syslog messages or SNMP traps and keeps the interface operational. Confusing these modes leads to selecting restrict or shutdown instead of protect. Remember, protect is the quietest violation mode, designed to enforce security without disrupting network availability or alerting administrators automatically.
Technical deep dive
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.
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?
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?
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.