The set protocols snmp trap-group event mac-threshold enable command is used to enable or disable the function of monitoring the switch MAC address table usage and sending an SNMP Trap message when the switch MAC address table usage exceeds the limit threshold.


Command Syntax

set protocols snmp trap-group event mac-threshold enable <true | false>


Parameter

Parameter

Description

enable <true | false>

Enable or disable the function of monitoring the switch MAC address table usage and sending an SNMP Trap message. The value could be true or false.

true: enables the function of monitoring the switch MAC address table usage and sending an SNMP Trap message.

false: disables the function of monitoring the switch MAC address table usage and sending an SNMP Trap message.

The function is disabled by default.


Usage Guidelines

After this function is enabled, the device can generate an SNMP Trap alarm message when the switch MAC address table usage exceeds the limit threshold, you can effectively monitor MAC address table usage and optimize system performance to maintain data forwarding and network topology stability.


Example

admin@Xorplus# set protocols snmp trap-group event mac-threshold enable true
admin@Xorplus# commit