Enables or disables the sending of an SNMP (Simple Network Management Protocol) trap for MAC lock messages.
violation | Sends an SNMP trap if the maximum value configured for dynamic and static MAC locking is exceeded. |
threshold | Sends an SNMP trap if the maximum value configured for dynamic and static MAC locking is reached. |
on | Sending an SNMP trap for the specified event is enabled. |
off | Sending an SNMP trap for the specified event is disabled. |
If neither violation nor threshold is specified, violation is used by default.
When MAC locking violations are enabled, the device sends an SNMP trap if a connected end station exceeds the maximum value configured for dynamic and static MAC locking.
When MAC locking thresholds are enabled, the device sends an SNMP trap if a connected end station reaches the maximum value configured for dynamic and static MAC locking.
The following example enables threshold traps on port 14.
configure mac-locking ports 14 trap threshold on
This command was first available in ExtremeXOS 15.7.1.
This command is available on the Summit X450-G2, X460-G2, X670-G2, X770, and ExtremeSwitching X440-G2, X620, X690, X870 series switches.