Configuration Guide
MAC Address Configuration
Command
Function
Ruijie(config)#
mac-address-table
notification
{
interval
value
|
history-size
value
}
interval value
:Interval of generating
the MAC address change notification
(optional), in the range of 1 to 3600
seconds, 1 second by default.
history-size
value
: Maximum number
of the records in the MAC notification
history list, in the range of 1 to 200, 50
by default.
Ruijie(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.
Ruijie(config)#
snmp-server host
192.168.12.54
traps public
Ruijie(config)#
snmp-server enable traps
Ruijie(config)# mac-address-table notification
Ruijie(config)#
mac-address-table notification interval
40
Ruijie(config)#
mac-address-table notification history-size
100
Ruijie(config)#
interface gigabitethernet
0/1
Ruijie(config-if)#
snmp trap mac-notification added
Ruijie(config-if)#
snmp trap mac-notification removed
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:
Summary of Contents for RG-S2900G-E Series
Page 1: ...RG S2900G E Series Switch RGOS Configuration Guide Release 10 4 2b12 p1 ...
Page 91: ...Configuration Guide Configuring PoE Configuration ...
Page 133: ...Configuration Guide EEE Configuration ...
Page 319: ...Configuration Guide QinQ Configuration ...
Page 408: ......
Page 409: ...IP Routing Configuration 1 Static Route Configuration ...
Page 412: ......
Page 413: ...Multicast Configuration 1 IGMP Snooping Configuration 2 MLD Snooping Configuration ...
Page 757: ......
Page 758: ...ACL QoS Configuration 1 Access Control List Configuration 2 QoS Configuration ...
Page 801: ...Reliability Configuration 1 RLDP Configuration 2 TPP Configuration 3 SEM Configuration ...
Page 901: ...Configuration Guide ERSPAN Configuration ...
Page 902: ...Web based Configuration 1 Web based Configuration ...