28
MAC Information configuration example
Network requirements
As shown in
, enable MAC Information on Ethernet 1/0/1 on Device to send MAC address
changes in Syslog messages to Host B through Ethernet 1/0/3. Host B analyzes and displays the
Syslog messages.
Figure 6 Network diagram
Configuration procedure
1.
Configure Device to send Syslog messages to Host B (see
Network Management and
Monitoring Configuration Guide
).
2.
Enable MAC Information:
# Enable MAC Information on Device.
<Device> system-view
[Device] mac-address information enable
# Configure MAC Information mode as Syslog.
[Device] mac-address information mode syslog
# Enable MAC Information on Ethernet 1/0/1.
[Device] interface ethernet 1/0/1
[Device-Ethernet1/0/1] mac-address information enable added
[Device-Ethernet1/0/1] mac-address information enable deleted
[Device-Ethernet1/0/1] quit
# Set the MAC Information queue length to 100.
[Device] mac-address information queue-length 100
# Set the interval for sending Syslog or trap messages to 20 seconds.
[Device] mac-address information interval 20