According the the exam topics the following need to be learned:
6.1 Configure, verify, and troubleshoot port security
6.1.d Max MAC addresses
6.1.e Violation actions
6.1.f Err-disable recovery
I begin with a simple lab to add more than one PC per switch port.
Here is an extract from the book summarizing the various port-security options:
Here is the config for the network:
Here is the resultant mac-address table and security violations:
As you can see the port e0/2 was configured with shutdown as the port-security violation option. As a result the port is shutdown:
6.1.f: to recover an err.disabled port you need to go into interface configure mode in global configuration mode and “shutdown” and “no shutdown” the port.