MAC Information configuration
Overview
Introduction to MAC Information
To monitor a network, you must monitor users who are joining and leaving the network. Because a MAC
address uniquely identifies a network user, you can monitor users who are joining and leaving a network
by monitoring their MAC addresses.
With the MAC Information function, Layer 2 Ethernet interfaces send Syslog or trap messages to the
monitor end in the network when they obtain or delete MAC addresses. By analyzing these messages,
the monitor end can monitor users who are accessing the network.
How MAC Information works
When a new MAC address is obtained or an existing MAC address is deleted on a device, the device
writes related information about the MAC address to the buffer area used to store user information.
When the timer set for sending MAC address monitoring Syslog or trap messages expires, or when the
buffer reaches capacity, the device sends the Syslog or trap messages to the monitor end.
Configuring MAC Information
The MAC Information configuration tasks include:
•
Enabling MAC Information globally
•
Enabling MAC Information on an interface
•
Configuring MAC Information mode
•
Configuring the interval for sending Syslog or trap messages
•
Configuring the MAC Information queue length
Enabling MAC Information globally
Follow these steps to enable MAC Information globally:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enable MAC Information globally
mac-address information enable
Required
Disabled by default.
Enabling MAC Information on an interface
Follow these steps to enable MAC Information on an interface:
23