38
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 Command Remarks
1. Enter system view.
system-view
N/A
2. Set the MAC change
notification interval.
mac-address information
interval
interval
The default setting is 1 second.
Setting the MAC Information queue length
Step Command Remarks
1. Enter system view.
system-view
N/A
2. Set the MAC Information
queue length.
mac-address information
queue-length
value
The default setting is 50.
MAC Information configuration example
Network requirements
Enable MAC Information on Ten-GigabitEthernet 1/0/1 on Device in Figure 7 to send MAC address
changes in syslog messages to the log host, Host B, through interface Ten-GigabitEthernet 1/0/2.
Figure 7 Network diagram
Configuration restrictions and guidelines
When you edit the file /etc/syslog.conf, follow these restrictions and guidelines:
• Comments must be on a separate line and must begin with a pound sign (#).
• No redundant spaces are allowed after the file name.
• The logging facility name and the severity level specified in the /etc/syslog.conf file must be
the same as those configured on the device. Otherwise, the log information might not be output