From 69fccdf6367fc6014cc46602e93e96b28e7f054d Mon Sep 17 00:00:00 2001 From: zzzxy <2132446376@qq.com> Date: Sat, 11 May 2024 12:57:32 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AC=94=E8=AE=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...0\211\345\261\202\344\272\244\346\215\242\346\234\272.md" | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 "22\351\202\271\345\220\221\345\216\237/2024-05-10-\350\256\244\350\257\206\344\270\211\345\261\202\344\272\244\346\215\242\346\234\272.md" diff --git "a/22\351\202\271\345\220\221\345\216\237/2024-05-10-\350\256\244\350\257\206\344\270\211\345\261\202\344\272\244\346\215\242\346\234\272.md" "b/22\351\202\271\345\220\221\345\216\237/2024-05-10-\350\256\244\350\257\206\344\270\211\345\261\202\344\272\244\346\215\242\346\234\272.md" new file mode 100644 index 0000000..1568812 --- /dev/null +++ "b/22\351\202\271\345\220\221\345\216\237/2024-05-10-\350\256\244\350\257\206\344\270\211\345\261\202\344\272\244\346\215\242\346\234\272.md" @@ -0,0 +1,5 @@ +## 三层交换机 + +1. ip routing 开启路由功能:作用让不同网段的ip互通,全局模式下 +2. no switchport 开启端口的三层功能:作用是让二层端口变成三层端口,使其可以绑定IP [这个命令要求先进入对应的端口]int f 0/1 +3. switchport trunk encapsulation dot1q:将trunk模式先封装成dot1q协议模式。才可以设置turnk,接口模式 \ No newline at end of file -- Gitee