A、Switch1(config-if)# switchport port-security maximum 1
B、Switch1(config)# mac-address-table secure
C、Switch1(config)# access-list 10 permit ip host
D、Switch1(config-if)# switchport p ort-security violation shutdown
E、Switch1(config-if)# ip access-group 10