Which switchport port-security violation mode increments the violation counter and sends an SNMP trap?
Choose an answer
Tap an option to check your answer.
Correct answer: switchport port-security violation restrict.
Why this is the answer
The restrict violation mode increments the violation counter, sends an SNMP trap, and generates a syslog message, but it does not disable the port. This allows the port to continue forwarding traffic while alerting administrators to the security breach. protect drops unauthorized frames but does not increment the violation counter, send an SNMP trap, or generate a syslog message, making it less visible. shutdown disables the port immediately upon a violation, increments the counter, sends an SNMP trap, and generates a syslog message, requiring manual intervention to re-enable. access is not a valid port-security violation mode.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed