Learn Cisco Packet Tracer
int fa 0/1
sw mode acc
switchport port-security
switchport port-security max 1 # max macc address
switchport port-security mac-address sticky # dynammic sticky
switchport port-security violation protect # drop packet
int fa 0/2
sw mode acc
switchport port-security
switchport port-security max 1
sw port-security mac-address 0001.64ca.eb89
switchport port-security violation restrict # drop packet with snmtp
int fa 0/3
sw mode acc
switchport port-security
switchport port-security max 1
switchport port-security mac-address sticky
switchport port-security shutdown # port akan dimatikan
# show mac-address-table
# show port-security