CCNA 200-301 · Security Fundamentals · medium
An access switch port (FastEthernet0/5) is configured with Port Security (switchport port-security maximum 1). The security engineer wants the switch port to drop frames from unauthorized MAC addresses, increment the security violation counter, and send an SNMP trap / Syslog message, while keeping the port up/up for the legitimate workstation rather than placing the port into err-disabled. Which Port Security violation mode should be configured?
Published · Last updated · checked before publication — how we verify questions
Options
Answer: B. switchport port-security violation restrict
Cisco Port Security supports three violation modes: (B) protect drops unauthorized frames silently without logging or incrementing the counter; (C) restrict drops unauthorized frames, increments the violation counter, and sends a Syslog/SNMP alert while keeping the port active; and (D) shutdown (default) puts the port into err-disabled.
Why the other options are wrong
- A. switchport port-security violation protect — protect drops frames from unknown MACs but does not send a Syslog/SNMP alert or increment the violation counter.
- C. switchport port-security violation shutdown — shutdown immediately places the interface into the err-disabled state, cutting off the legitimate user as well.
- D. switchport port-security mac-address sticky — sticky controls how legitimate MAC addresses are learned and saved to running-config, not the violation action.
More Security Fundamentals questions
- A network security architect is comparing TACACS+ (Cisco-developed device administration protocol) and RADIUS (network…
- When configuring an enterprise wireless LAN on a Cisco WLC, the security policy requires WPA3-Enterprise (802.1X/EAP)…
- An attacker on an access switch port runs an ARP spoofing tool (ettercap) sending gratuitous ARP replies claiming that…
All Security Fundamentals questions and the topic overview →
Cisco and CCNA are trademarks of Cisco Systems, Inc. PrepIQ Hub is not affiliated with, endorsed by, or sponsored by Cisco Systems, Inc.