Mac information configuration, Overview, Introduction to mac information – H3C Technologies H3C S10500 Series Switches User Manual

Page 40: How mac information works, Configuring mac information, Enabling mac information globally, Enabling mac information on an interface

Advertising
background image

29

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 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.

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

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:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter Layer 2 Ethernet interface
view

interface interface-type
interface-number

Enable MAC Information on the
interface

mac-address information enable
{ added | deleted }

Required
Disabled by default.

Advertising