Without further configuration, simply enabling `switchport port-security` doesn't do much on its own. Its power comes from combining it with other port security commands. These commands define *how* port security works, specifying things like:
* `port-security maximum
* `port-security violation
* `shutdown`:The port is disabled.
* `protect`:A violation is logged, but the port remains operational.
* `restrict`:Similar to protect, but future violations may trigger shutdown.
* `port-security mac-address sticky`: This command learns MAC addresses automatically and adds them to the port security access list. It persists the MAC addresses even after a reboot of the switch. This is often used in combination with `maximum`.
* `port-security mac-address
In breve, `switchport port-security` è il comando * abilitante *, ma la sua efficacia dipende interamente dalla configurazione successiva usando i comandi sopra menzionati. È la base per una serie di misure di sicurezza delle porte che aiutano a prevenire attacchi di inondazioni di indirizzi MAC, accesso non autorizzato per i dispositivi e altre violazioni della sicurezza.
networking © www.354353.com