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