From 4a98b33dd1539b57049abed4bac3acba8b3d801d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=8F=AD=E9=98=B3=E4=B8=BD?= <2431466589@qq.com> Date: Fri, 10 May 2024 23:26:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=9C=E4=B8=9A?= 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 "21 \346\217\255\351\230\263\344\270\275/20240509 \344\270\211\345\261\202\344\272\244\346\215\242\346\234\272.md" diff --git "a/21 \346\217\255\351\230\263\344\270\275/20240509 \344\270\211\345\261\202\344\272\244\346\215\242\346\234\272.md" "b/21 \346\217\255\351\230\263\344\270\275/20240509 \344\270\211\345\261\202\344\272\244\346\215\242\346\234\272.md" new file mode 100644 index 0000000..0b3c288 --- /dev/null +++ "b/21 \346\217\255\351\230\263\344\270\275/20240509 \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,接口模式 + +### 作业 + +https://s2.loli.net/2024/05/10/qZf78bF6GAwxluj.png \ No newline at end of file -- Gitee