From 7b8465cb4c199b5c7419c84ff011d118f3b56a44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E6=B5=81=E6=B6=9B?= <1841582040@qq.com> Date: Thu, 9 May 2024 18:02:16 +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 --- ...02\344\272\244\346\215\242\346\234\272.md" | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 "\351\273\204\346\265\201\346\266\233/20240509 \344\270\211\345\261\202\344\272\244\346\215\242\346\234\272.md" diff --git "a/\351\273\204\346\265\201\346\266\233/20240509 \344\270\211\345\261\202\344\272\244\346\215\242\346\234\272.md" "b/\351\273\204\346\265\201\346\266\233/20240509 \344\270\211\345\261\202\344\272\244\346\215\242\346\234\272.md" new file mode 100644 index 0000000..614305b --- /dev/null +++ "b/\351\273\204\346\265\201\346\266\233/20240509 \344\270\211\345\261\202\344\272\244\346\215\242\346\234\272.md" @@ -0,0 +1,23 @@ +# 笔记 + +## 三层交换机 + +#### 当成交换机时,在接口模式,将trunk模式先封装成dot1q模式,才可以设置turnk + +​ switchport trunk encapsulation dot1q + +#### 开启路由器功能(全局模式下) + +​ 作用让不同的网段ip互通 + +​ ip routing + +#### 开启端口的三层功能(要求先进入对应的端口) + +​ 作用是让二层端口变成三层端口,使其可以绑定ip + +​ no switchport + +# 作业 + +![捕获](https://s2.loli.net/2024/05/09/3G9kNSsxDIby74T.png) -- Gitee