diff --git "a/41\344\275\231\346\262\233\345\244\252/20240508\346\200\235\347\247\221-\344\272\244\346\215\242\346\234\272\347\232\204\347\253\257\345\217\243\345\256\211\345\205\250.md" "b/41\344\275\231\346\262\233\345\244\252/20240508\346\200\235\347\247\221-\344\272\244\346\215\242\346\234\272\347\232\204\347\253\257\345\217\243\345\256\211\345\205\250.md" new file mode 100644 index 0000000000000000000000000000000000000000..4107db15089b4e5b1f75acd5f60c391b56c28bf4 --- /dev/null +++ "b/41\344\275\231\346\262\233\345\244\252/20240508\346\200\235\347\247\221-\344\272\244\346\215\242\346\234\272\347\232\204\347\253\257\345\217\243\345\256\211\345\205\250.md" @@ -0,0 +1,17 @@ +## 交换机的端口安全 + +```sh +1.选择要进行安全设置的端口 +int f0/1 +2.改成访问模式 +sw mo access +3.启动交换机接口的接口安全设置 +sw port-security +4.设置最大允许连接的终端数量为1 +sw port-security maxium 1 +5.违规设备的处理方式 +sw port-security violation shutdown +6.绑定正确的MAC地址 +sw port-security mac-address sticky +``` +