From ee194cec676b4051716c38fc7d9bdb775b8ee38b Mon Sep 17 00:00:00 2001 From: zz <223355> Date: Fri, 10 May 2024 22:01:24 +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 --- ...1\345\261\202\344\272\244\346\215\242\346\234\272.md" | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 "20\346\234\261\347\216\211\346\225\217/20240510-\345\210\235\350\257\206\344\270\211\345\261\202\344\272\244\346\215\242\346\234\272.md" diff --git "a/20\346\234\261\347\216\211\346\225\217/20240510-\345\210\235\350\257\206\344\270\211\345\261\202\344\272\244\346\215\242\346\234\272.md" "b/20\346\234\261\347\216\211\346\225\217/20240510-\345\210\235\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..13c5e44 --- /dev/null +++ "b/20\346\234\261\347\216\211\346\225\217/20240510-\345\210\235\350\257\206\344\270\211\345\261\202\344\272\244\346\215\242\346\234\272.md" @@ -0,0 +1,9 @@ + + + + +## 三层交换机基础 + +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