Configuring mac information, Configuration guidelines, Enabling mac information – H3C Technologies H3C S12500-X Series Switches User Manual

Page 42: Adding or modifying a blackhole mac address entry

Advertising
background image

31

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. When the timer set for sending syslog messages or SNMP notifications does not expire, the

device overwrites the last piece of information written into the queue with the new MAC address change

if 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, and 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.

Configuration guidelines

Enable MAC Information globally before you enable it on interfaces.

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, global MAC
Information is disabled.

3.

Enter interface view.

Enter Layer 2 Ethernet interface

view:
interface interface-type

interface-number

Enter S-channel interface view:

interface s-channel

interface-number.channel-id

Enter S-channel aggregate

interface view:

interface schannel-aggregation

interface-number:channel-id

N/A

4.

Enable MAC Information on
the interface.

mac-address information enable
{ added | deleted }

By default, MAC Information is
disabled on an interface.

Advertising
This manual is related to the following products: