Configuring MAC information mode
To configure MAC information mode:
To do...
1.
Enter system view
2.
Configure MAC information
mode
Configuring the interval for sending Syslog or trap messages
To prevent Syslog or trap messages from being sent too frequently, set the interval for sending Syslog or
trap messages.
To set the interval for sending Syslog or trap messages:
To do...
1.
Enter system view
2.
Set the interval for sending
Syslog or trap messages
Configuring the MAC information queue length
To avoid losing user MAC address information, when the buffer storing user MAC address information is
used up, the user MAC address information in the buffer is sent to the monitor end in the network, even if
the timer set for sending MAC address monitoring Syslog or trap messages has not expired yet.
To configure the MAC information queue length:
To do...
1.
Enter system view
2.
Configure the MAC
information queue length
MAC information configuration example
Network requirements
As shown in
Host A is connected to a remote server (Server) through Router.
•
Enable MAC information on GigabitEthernet 4/0/1 on Router. Router sends MAC address changes
•
in Syslog messages to Host B through GigabitEthernet 4/0/3. Host B analyzes and displays the
Syslog messages.
Use the command...
system-view
mac-address information mode
{ syslog | trap }
Use the command...
system-view
mac-address information interval
interval-time
Use the command...
system-view
mac-address information
queue-length value
Figure
2:
Remarks
—
Optional
trap by default
Remarks
—
Optional
One second by default
Remarks
—
Optional
50 by default
9