TP-Link switch configuring port-security to limit MAC IDs per port

From Notes_Wiki

Home > Switch configuration notes > TP-Link switch configuring port-security to limit MAC IDs per port

TP-Link switch configuring port-security to limit MAC IDs per port

Configure port-security for limiting MAC IDs per port

To configure port-security on a TP-Link switch use at global configuration level enable per-port limit of 1 (or desired no) of MAC IDs:

mac address-table max-mac-count max-number 1 exceed-maxlearned enable mode permanent status drop


List existing MAC address table

To list existing MAC address table use:

show mac address-table static


Get count of Max mac addresses allowed for particular port

To get count of Max mac addresses allowed for particular port use:

show mac address-table max-mac-count interface gigabitEthernet 1/0/_



Home > Switch configuration notes > TP-Link switch configuring port-security to limit MAC IDs per port