Enabling mac information on an interface, Configuring mac information mode, Configuring the mac information cache queue length – H3C Technologies H3C WX5500E Series Access Controllers User Manual
Page 40

29
Enabling MAC Information on an interface
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter Layer 2 Ethernet
interface view.
interface interface-type
interface-number
N/A
3.
Enable MAC Information on
the interface.
mac-address information enable
{ added | deleted }
By default, MAC Information is
disabled on each interface.
Configuring MAC Information mode
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
(Optional) Configure MAC
Information mode.
mac-address information mode
{ syslog | trap }
The default setting is trap.
Configuring the interval for sending syslog or trap messages
To prevent syslog or trap messages from being sent too frequently, you can set the interval for sending
syslog or trap messages.
To set the interval for sending syslog or trap messages:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
(Optional) Set the interval for
sending syslog or trap
messages.
mac-address information interval
interval-time
The default setting is one second.
Configuring the MAC Information cache queue length
The device processes MAC address changes differently depending on whether the MAC Information
cache queue length is 0:
•
If it is 0, the device sends a syslog or trap message immediately after learning or deleting a MAC
address.
•
If it is not 0, the device stores MAC address changes in the cache queue:
{
When the timer set for sending syslog or trap messages does not expire, the device overwrites
the last piece of information written into the cache queue with the new MAC address change if
the cache queue has been exhausted.
{
When the timer set for sending syslog or trap messages expires, the device sends syslog or trap
messages regardless of whether or not the cache queue has been exhausted.
To configure the MAC Information cache queue length: