From 22398709a2bcc2507a54f03f38f4f43d22a52db9 Mon Sep 17 00:00:00 2001 From: zzt <3252085660@qq.com> Date: Fri, 10 May 2024 13:41:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=80=9D=E7=A7=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...11\345\261\202\344\272\244\346\215\242\346\234\272.md" | 8 ++++++++ ...72\347\253\257\345\217\243\345\256\211\345\205\250.md" | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 "\345\274\240\345\242\236\346\266\233/202040510-\346\200\235\347\247\221\344\270\211\345\261\202\344\272\244\346\215\242\346\234\272.md" diff --git "a/\345\274\240\345\242\236\346\266\233/202040510-\346\200\235\347\247\221\344\270\211\345\261\202\344\272\244\346\215\242\346\234\272.md" "b/\345\274\240\345\242\236\346\266\233/202040510-\346\200\235\347\247\221\344\270\211\345\261\202\344\272\244\346\215\242\346\234\272.md" new file mode 100644 index 0000000..19871f6 --- /dev/null +++ "b/\345\274\240\345\242\236\346\266\233/202040510-\346\200\235\347\247\221\344\270\211\345\261\202\344\272\244\346\215\242\346\234\272.md" @@ -0,0 +1,8 @@ +# 思科三层交换机 + +``` +1. ip routing //开启三层交换机路由功能 +2. no switchport //给三层交换机绑定IP地址的时候需要取消二层交换机接口 +3. switchport trunk encapsulation dot1q //将trunk封装为dot1q,才可以设为trunk模式 +``` + diff --git "a/\345\274\240\345\242\236\346\266\233/20240508-\344\272\244\346\215\242\346\234\272\347\253\257\345\217\243\345\256\211\345\205\250.md" "b/\345\274\240\345\242\236\346\266\233/20240508-\344\272\244\346\215\242\346\234\272\347\253\257\345\217\243\345\256\211\345\205\250.md" index 05376ac..7dac894 100644 --- "a/\345\274\240\345\242\236\346\266\233/20240508-\344\272\244\346\215\242\346\234\272\347\253\257\345\217\243\345\256\211\345\205\250.md" +++ "b/\345\274\240\345\242\236\346\266\233/20240508-\344\272\244\346\215\242\346\234\272\347\253\257\345\217\243\345\256\211\345\205\250.md" @@ -7,6 +7,6 @@ Switch(config-if)#switchport port-security //打开安全模式 Switch(config-if)#switchport port-security maximum 1 //允许连接的终端设置最大为1 Switch(config-if)#switchport port-security violation shutdown //违规设备处理方式为关闭 Switch(config-if)#switchport port-security mac-address sticky //绑定,自动识别MAC地址 -Switch#clear port-security sticky //清楚安全模式 +Switch#clear port-security sticky //清除安全模式 ``` -- Gitee