29To do… Use the command… RemarksEnter system view system-view —Enter Layer 2 Ethernet interfaceviewinterface interface-typeinterface-number —Enable MAC Information on theinterfacemac-address information enable{ added | deleted }RequiredDisabled by default.NOTE:To enable MAC Information on an Ethernet port, enable MAC Information globally first.Configuring MAC Information modeFollow these steps to configure MAC Information mode:To do… Use the command… RemarksEnter system view system-view —Configure MAC Information mode mac-address information mode{ syslog | trap }Optionaltrap by default.Configuring the interval for sending Syslog or trap messagesTo prevent Syslog or trap messages from being sent too frequently, you can set the interval for sendingSyslog or trap messages.Follow these steps to set the interval for sending Syslog or trap messages:To do… Use the command… RemarksEnter system view system-view —Set the interval for sending Syslogor trap messagesmac-address information intervalinterval-timeOptionalOne second by default.Configuring the MAC Information queue lengthTo avoid losing user MAC address information, when the buffer that stores user MAC addressinformation reaches capacity, the user MAC address information in the buffer is sent to the monitor endin the network, even if the timer set for sending MAC address monitoring Syslog or trap messages has notexpired yet.Follow these steps to configure the MAC Information queue length:To do… Use the command… RemarksEnter system view system-view —Configure the MAC Informationqueue lengthmac-address informationqueue-length valueOptional50 by default.