configure mac-locking ports trap

configure mac-locking ports port_list trap {violation | threshold} [on | off]

Description

Enables or disables the sending of an SNMP (Simple Network Management Protocol) trap for MAC lock messages.

Syntax Description

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.

Default

If neither violation nor threshold is specified, violation is used by default.

Usage Guidelines

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.

Example

The following example enables threshold traps on port 14.

configure mac-locking ports 14 trap threshold on

History

This command was first available in ExtremeXOS 15.7.1.

Platform Availability

This command is available on the Summit X450-G2, X460-G2, X670-G2, X770, and ExtremeSwitching X440-G2, X620, X690, X870 series switches.