TP-Link T1600G-18TS T1600G-18TSUN V2 CLI Reference Guide Guide - Page 113
mac address-table max-mac-count
View all TP-Link T1600G-18TS manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 113 highlights
12.5 mac address-table max-mac-count Description The mac address-table max-mac-count command is used to configure the Port Security. To return to the default configurations, please use no mac address-table max-mac-count command. Port Security is to protect the switch from the malicious MAC address attack by limiting the maximum number of the MAC addresses that can be learned on the port. The port with Port Security feature enabled will learned the MAC address dynamically. When the learned MAC address number reaches the maximum, the port will stop learning. Therefore, the other devices with the MAC address unlearned cannot access to the network via this port. Syntax mac address-table max-mac-count { [ max-number num ] [ mode { dynamic | static | permanent } ] [ status { forward | drop | disable } ] [ exceed-max-learned enable | disable ] } no mac address-table max-mac-count [ max-number | mode | status ] Parameter num -- The maximum number of MAC addresses that can be learned on the port. It ranges from 0 to 64. By default, this value is 64. dynamic | static | permanent -- Learn mode for MAC addresses. There are three modes, including Dynamic mode, Static mode and Permanent mode. When Dynamic mode is selected, the learned MAC address will be deleted automatically after the aging time. When Static mode is selected, the learned MAC address will be out of the influence of the aging time and can only be deleted manually. The learned entries will be cleared after the switch is rebooted. When permanent mode is selected, the learned MAC address will be out of the influence of the aging time and can only be deleted manually too. However, the learned entries will be saved even the switch is rebooted. status -- Select the action to be taken when the number of the MAC addresses reaches the maximum learning number on the port. By default, this function is disabled. • forward: The packets will be forward but not be learned when learned MAC number exceeds the maximum MAC address number on this port. • drop: The packets will be dropped when learned MAC number exceeds the maximum MAC address number on this port. • disable: The MAC address threshold on this port is disabled. 92