snmp-server enable traps violation

The Port MAC locking component interprets this command and configures violation action to send an SNMP (Simple Network Management Protocol) trap with default trap frequency of 30 seconds. The Global command configures the trap violation mode across all interfaces valid for port-security. There is no Global trap mode as such.

Note

Note

For other port security commands, see Port Security Commands.
Default disabled
Format snmp-server enable traps violation
Mode
  • Global Config
  • Interface Config