1-9By setting the maximum number of MAC addresses that can be learned from individual ports, theadministrator can control the number of the MAC address entries the MAC address table candynamically maintain. When the number of the MAC address entries learnt from a port reaches the setvalue, the port stops learning MAC addresses.Follow these steps to set the maximum number of MAC addresses a port can learn:To do… Use the command… RemarksEnter system view system-view —Enter Ethernet port view interface interface-typeinterface-number —Set the maximum number of MACaddresses the port can learnmac-address max-mac-countcountRequiredBy default, the number of the MACaddresses a port can learn is notlimited.If you have configured the maximum number of MAC addresses that a port can learn, you cannotenable the MAC address authentication or port security functions on the port, and vice versa.Disabling MAC Address learning for a VLANThe contents of this section are only applicable to the S3100-EI series among S3100 series switches.You can disable a switch from learning MAC addresses in specific VLANs to improve stability andsecurity for the users belong to these VLANs and prevent unauthorized accesses.Table 1-2 Disable MAC address learning for a VLANOperation Command DescriptionEnter system view system-view —Enter VLAN view vlan vlan-id —Disable the switch fromlearning MAC addresses in theVLANmac-address max-mac-count 0RequiredBy default, a switch learns MACaddresses in any VLAN.