16
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 user's 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.
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 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 the interface.
Make sure you have enabled
MAC Information globally before
you enable it on the interface.
Setting the MAC Information mode
The following MAC Information modes are available for sending MAC address changes:
•
Syslog
—The device sends syslog messages to notify MAC address changes. The device
sends syslog messages to the information center, which then outputs them to the monitoring
terminal. For more information about information center, see
Network Management and
Monitoring Configuration Guide
.
•
Trap
—The device sends SNMP notifications to notify MAC address changes. The device sends
SNMP notifications to the NMS. For more information about SNMP, see
Network Management
and Monitoring Configuration Guide
.
Содержание H3C S7500E-X
Страница 70: ...57 ...