From a21e395cea84e5a12dc8d90d318185fe6690be2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=98=99=E8=8B=8F=E6=96=87?= <12071386+que-su-wen@user.noreply.gitee.com> Date: Thu, 9 May 2024 09:37:31 +0000 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 Signed-off-by: 阙苏文 <12071386+que-su-wen@user.noreply.gitee.com> --- ...54\224\350\256\260\344\275\234\344\270\232.md" | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 "22 \351\230\231\350\213\217\346\226\207/20240509\347\254\224\350\256\260\344\275\234\344\270\232.md" diff --git "a/22 \351\230\231\350\213\217\346\226\207/20240509\347\254\224\350\256\260\344\275\234\344\270\232.md" "b/22 \351\230\231\350\213\217\346\226\207/20240509\347\254\224\350\256\260\344\275\234\344\270\232.md" new file mode 100644 index 0000000..a29b5a3 --- /dev/null +++ "b/22 \351\230\231\350\213\217\346\226\207/20240509\347\254\224\350\256\260\344\275\234\344\270\232.md" @@ -0,0 +1,15 @@ + + +# 笔记 + +初识三层交换机 + +1. ip routing 开启路由功能:作用让不同网段的ip互通,全局模式 + +2. no switchport 开启端口的三层功能:作用是让二层端口变成三层端口,使其可以绑定IP [这个命令要求先进入对应的端口]int f 0/1 + +3. switchport trunk encapsulation dot1q:将trunk模式先封装成dot1q协议模式。才可以设置turnk,接口模式 + + # 作业 + +![捕获](https://img2.imgtp.com/2024/05/09/pRxIdnT2.PNG) \ No newline at end of file -- Gitee