Configuring 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 ports 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.
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.
Enabling MAC Information
MAC information can be enabled either globally or on an interface. To enable MAC Information on an
Ethernet port, enable MAC Information globally first.
Enabling MAC Information globally
To enable MAC Information globally:
Step...
1.
Enter system view
2.
Enable MAC Information
globally
Enabling MAC Information on an interface
To enable MAC Information on an interface:
Step...
1.
Enter system view
2.
Enter Layer 2 Ethernet
interface view
3.
Enable MAC Information on
the interface
Configuring MAC Information mode
To configure MAC Information mode:
Command...
system-view
mac-address information enable
Command...
system-view
interface interface-type interface-
number
mac-address information enable {
added | deleted }
23
Remarks
—
Required
Disabled by default
Remarks
—
—
Required
Disabled by default