From a1113adc6dddcf167c699ebbe75c236ff6d5ad85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=99=E6=B2=9B=E5=A4=AA?= <1932644427@qq.com> Date: Wed, 8 May 2024 17:23:08 +0800 Subject: [PATCH] 20240508 --- ...\257\345\217\243\345\256\211\345\205\250.md" | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 "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" 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 0000000..4107db1 --- /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 +``` + -- Gitee