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 0000000000000000000000000000000000000000..19871f66c69b8019ebe06ea98a793810c18e0c0f --- /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 05376ac892b6944900255b2dd8e7b33cfee0216f..7dac8946af3284d04bb6cce9a0043781a84a736b 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 //清除安全模式 ```