Configuring mac information, Enabling mac information, Configuring the mac information mode – H3C Technologies H3C S5560 Series Switches User Manual
Page 52
18
Configuring MAC Information
The MAC Information feature can generate syslog messages or SNMP notifications when MAC address
entries are learned or deleted. You can use these messages to monitor users leaving or joining the
network and analyze network traffic.
The MAC Information feature buffers the MAC change syslog messages or SNMP notifications in a
queue. The device overwrites the oldest MAC address change written into the queue with the most recent
MAC address change when the following conditions exist:
•
The MAC change notification interval does not expire.
•
The queue has been exhausted.
To send a syslog message or SNMP notification immediately after it is created, set the queue length to
zero.
The device writes information and sends messages only for the following MAC addresses:
•
Dynamic MAC addresses.
•
MAC addresses that pass MAC authentication.
•
MAC addresses that pass 802.1X authentication.
•
Secure MAC addresses.
The device does not write information or send messages for blackhole MAC addresses, static MAC
addresses, multiport unicast MAC addresses, multicast MAC addresses, and local MAC addresses.
For more information about MAC authentication, 802.1X, and secure MAC addresses, see Security
Configuration Guide.
Enabling MAC Information
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable MAC Information
globally.
mac-address information enable
By default, MAC Information is
globally disabled.
3.
Enter Layer 2 Ethernet
interface view.
interface interface-type
interface-number
N/A
4.
Enable MAC Information on
the interface.
mac-address information enable
{ added | deleted }
By default, MAC Information is
disabled on an interface.
Make sure you have enabled
MAC Information globally before
you enable it on the interface.
Configuring the MAC Information mode
The following MAC Information modes are available for sending MAC address changes:
- H3C S5130 Series Switches H3C S5120 Series Switches H3C SR8800 H3C SR6600-X H3C SR6600 H3C MSR 5600 H3C MSR 50 H3C MSR 3600 H3C MSR 30 H3C MSR 2600 H3C MSR 20-2X[40] H3C MSR 20-1X H3C MSR 930 H3C MSR 900 H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module