Chapter 3: Management Commands 91
snmp-server enable
traps violation
The Port MAC locking component interprets this command and configures
violation action to send an SNMP 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.
For other port security commands, see “Port Security Commands” on page 540.
no snmp-server
enable traps
violation
This command disables the sending of new violation traps.
snmp-server enable
traps
This command enables the Authentication Flag.
Parameter Description
community-string The community which is created and then associated
with the group. The range is 1 to 20 characters.
group-name The name of the group that the community is
associated with. The range is 1 to 30 characters.
ipaddress Optionally, the IPv4 address that the community
may be accessed from.
Default disabled
Format
snmp-server enable traps violation
Mode ◆ Global Config
◆ Interface Config
Format
no snmp-server enable traps violation
Mode Interface Config
Default enabled
Format
snmp-server enable traps