Security
switchport port-security
Enable port-security to limit which/how many MACs can use the port.
Works on: SwitchMode: iface
Run this command live
Don't just read it — type switchport port-security in a real network simulator in your browser and watch it take effect. No install, no account needed to start.
Frequently asked
What does the "switchport port-security" command do?
Enable port-security to limit which/how many MACs can use the port.
More Security commands
access-list <10-99> {permit|deny} <src> <wild>ip access-list extended <name>ip access-group <acl> in|outswitchport port-security maximum <n>switchport port-security violation {shutdown|restrict|protect}switchport port-security mac-address {<H.H.H>|sticky}ip dhcp snoopingip arp inspection vlan <id>line vty 0 4line console 0password <password>login