D-Link DES-7200 Refrigerator User Manual


  Open as PDF
of 1968
 
DES-7200 Configuration Guide Chapter 2 MAC Address Configuration
2-24
Command Function
DES-7200(config-if)# snmp trap
mac-notification {added | removed}
Enable the MAC address change
notification on the interface.
added: Send a MAC address change
notification when a MAC address is
added on this interface.
Removed: Send a MAC address
change notification when a address is
deleted.
To disable the MAC address change notification function, use the no
snmp-server enable traps command in the global configuration mode. To turn
off the global switch of the MAC address change notification function, use the
no mac-address-table notification command. To disable the MAC address
change notification funciton on a specified interface, use the no snmp trap
mac-notification {added | removed} command in the interface configuration
mode.
This example shows how to enable the MAC address change notification
funciton, use public as the authentication name to send a MAC address change
notification to the NMS whose IP address is 192.168.12.54 at the interval of 40
seconds, set the size of the MAC address change history list to 100, and enable
the MAC address change notification funciton on gigabitethernet 0/1 when a
MAC address is added or removed.
DES-7200(config)# snmp-server host 192.168.12.54 traps public
DES-7200(config)# snmp-server enable traps
DES-7200(config)# mac-address-table notification
DES-7200(config)# mac-address-table notification interval 40
DES-7200(config)# mac-address-table notification history-size 100
DES-7200(config)# interface gigabitethernet 0/1
DES-7200(config-if)# snmp trap mac-notification added
DES-7200(config-if)# snmp trap mac-notification removed
2.9.2 Viewing the
MAC Address
change
Notification
Information
In the privileged mode, you can view the information on the MAC address table
of the device by using the commands listed in the following table:
Command Function