beautypg.com

Configuring mac information, Enabling mac information, Configuring the mac information mode – H3C Technologies H3C S5560 Series Switches User Manual

Page 52

background image

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: