Lab Simulation
Your task is to configure the Fa0/12 interface on the switch to limit the maximum number of MAC addresses that are allowed to access the port to two and to shutdown the interface when there is a violation.

Answer: Switch1> enable
Explanation:
Switch# configure terminal
Switch(config)# interface fa0/12
Switch1(config-if)#switchport mode access
Switch1(config-if)# switchport port-security maximum 2
Switch1(config-if)# switchport port-security violation shutdown
Switch1(config-if)# no shutdown
Switch1(config-if)# end
Switch# copy running-config startup-config