3、tchportport-securityviolation?protectSecurityviolationprotectmode(不转发数据)restrictSecurityviolationrestrictmode(不转发数据,上报网管平台)shutdownSecurityviolationshutdownmode(关闭接口,并上报网管平台)Switch(config-if)#switchportport-securityviolationshutdown验证:测试结果是否ping通结论PC0接Fa0/1接口上PC0pingPC1 否 PC