188 MES3000 Ethernet switch series
MAC address table state change events for the specified time, send
SNMP notifications and save events to history.
mac address-table
notification change history
{value}
The command specifies the maximum quantity of MAC address
table state change events, saved to the history. If the history value
equals 0, events will not be saved. In case of history buffer overrun,
the oldest event will be replaced with the newest one.
[no] snmp-server enable
traps mac-notification
change
Command allows to enable or disable the transmission of SNMP
notifications on MAC address table state changes. Use the negative
form of command to disable this function.
If notification transmission is enabled, the device will send SNMP
event messages and save the respective events to the history. If the
transmission of SNMP notifications is disabled, the device will save
events in history only.
Ethernet interface configuration mode commands
Command line request appears as follows:
console(config-if)#
Table 5.226 —Ethernet interface configuration mode commands
snmp trap mac-notification
change [added | removed]
Enable generation of notifications on each interface for MAC
address state change events. You can enable generation of
notifications only for MAC address learning or removal.
Privileged EXEC mode commands
Command line request in privileged EXEC mode appears as follows:
console#
Table 5.227 —Privileged EXEC mode commands
show mac address-table
notification change history
[interfaces]
Show all notifications on MAC address state changes, saved in
history. You can filter events by port, port group (LAG), and VLAN.
show mac address-table
notification change
statistics
Show the service statistics: the total quantity of MAC address
learning events, the total quantity of MAC address removal
events, the total quantity of sent SNMP messages.
Example use of commands
This example shows how to configure the SNMP MAC Notification message transmission to
server with address 172.16.1.5. During the configuration, general service operation
permission is defined, minimum message transmission interval is selected, event history size is
specified and the service is configured on the selected port.
console(config)# snmp-server host 172.16.1.5 traps private
console (config)# snmp-server enable traps mac-notification change
console (config)# mac address-table notification change
console (config)# mac address-table notification change interval 60
console (config)# mac address-table notification change history 100
console (config)# interface gigabitethernet 0/7
console (config-if)# snmp trap mac-notification change
console (config-if)# exit
console (config)#