To set the MAC Information mode:
Step
Enter system view.
1.
Set the MAC Information
2.
mode.
Setting the MAC change notification interval
To prevent syslog messages or SNMP notifications from being sent too frequently, you can set the
MAC change notification interval to a larger value.
To set the MAC change notification interval:
Step
Enter system view.
1.
Set the MAC change
2.
notification interval.
Setting the MAC Information queue length
Step
Enter system view.
1.
Set the MAC Information
2.
queue length.
MAC Information configuration example
Network requirements
Enable MAC Information on interface GigabitEthernet 1/0/1 on Device in
address changes in syslog messages to the log host, Host B, through interface GigabitEthernet
1/0/2.
Figure 4 Network diagram
Host A
192.168.1.1/24
Host B
192.168.1.2/24
Command
system-view
mac-address information mode
{ syslog | trap }
Command
system-view
mac-address information
interval interval-time
Command
system-view
mac-address information
queue-length value
Device
GE1/0/1
GE1/0/3
GE1/0/2
17
Remarks
N/A
The default setting is trap.
Remarks
N/A
The default setting is 1 second.
Remarks
N/A
The default setting is 50.
Figure 4
Server
192.168.1.3/24
to send MAC