和思科的命令一样:配置步骤:switchportport-securityswitchportport-securityviolationprotectswitchportport-securitymac-address0000.0000.0000switchportport-securitymac-addressstickyendcopyrunning-configstartup-config