DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
258
Default
MAC address notification is disabled.
The default trap interval is 1 second.
The default number of entries in the history table is 1.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
When the Switch learns or removes a MAC address, a notification can be sent to the notification
history table and then sent to the SNMP server if the snmp-server enable traps mac-notification
change command is enabled. The MAC notification history table stores the MAC address learned or
deleted on each interface for which the trap is enabled. Events are not generated for multicast
addresses.
Example
This example shows how to enable MAC address change notification and set the interval to 10
seconds and set the history size value to 500 entries.
Switch# configure terminal
Switch(config)# mac-address-table notification change
Switch(config)# mac-address-table notification change interval 10
Switch(config)# mac-address-table notification change history-size 500
Switch(config)#
30-6 mac-address-table static
This command is used to add a static address to the MAC address table. Use the no form of this
command to remove a static MAC address entry from the table.
mac-address-table static MAC-ADDR vlan VLAN-ID {interface INTERFACE-ID [, | -] | drop}
no mac-address-table static {all | MAC-ADDR vlan VLAN-ID [interface INTERFACE-ID] [, | -]}
Parameters
Specifies the MAC address of the entry. The address can be a
unicast or a multicast entry. Packets with a destination address that
match this MAC address received by the specified VLAN are
forwarded to the specified interface.