2-2Enabling MAC Information on an InterfaceFollow these steps to enable MAC Information on an interface:To do… Use the command… RemarksEnter system view system-view —Enter interface view interface interface-typeinterface-number —Enable MACInformation on theinterfacemac-address information enable{ added | deleted }RequiredDisabled by defaultTo enable MAC Information on an Ethernet interface, 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 MACInformation modemac-address information mode{ syslog | trap }Optionaltrap by defaultConfiguring the Interval for Sending Syslog or Trap MessagesTo prevent Syslog or Trap messages being sent too frequently and thus affecting system performance,you can set the interval for sending Syslog 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 forsending Syslog or Trapmessagesmac-address information intervalinterval-timeOptionalOne second by default.Configuring the MAC Information Queue LengthTo avoid losing user MAC address information, when the buffer storing user MAC address information isused up, the user MAC address information in the buffer is sent to the monitor end in the network, evenif the timer set for sending MAC address monitoring Syslog or Trap messages has not expired yet.Follow these steps to configure the MAC Information queue length: