From 0ca4ca0827e9a0a4ed34181a3fefe79f43498826 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=8F=91=E6=A7=90?= <11785178+wmm1004lsp@user.noreply.gitee.com> Date: Sun, 5 May 2024 15:04:46 +0000 Subject: [PATCH] =?UTF-8?q?07=20=E7=8E=8B=E5=8F=91=E6=A7=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 王发槐 <11785178+wmm1004lsp@user.noreply.gitee.com> --- .../2024-4-30.md" | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 "07 \347\216\213\345\217\221\346\247\220/2024-4-30.md" diff --git "a/07 \347\216\213\345\217\221\346\247\220/2024-4-30.md" "b/07 \347\216\213\345\217\221\346\247\220/2024-4-30.md" new file mode 100644 index 0000000..b7d99d2 --- /dev/null +++ "b/07 \347\216\213\345\217\221\346\247\220/2024-4-30.md" @@ -0,0 +1,18 @@ +``` +(交换机与交换机)设置为trunk模式 + +1. server (服务模式) +2. client (客户模式) +3. transparent(透明模式) + +### 配置 + +Switch(config)#vlan 10 //进入Vlan +Switch(config-vlan)#name mdd01 // 进入vlan10后修改名字 +Switch(config)#vtp mode server/client //设置模式 +Switch(config)#vtp domain xx.com //设置域名 +Switch(config)#vtp v 2 //设置版本 +Switch(vlan)#vtp password ... //配置vtp密码 +Switch#show vtp status 查看VTP运行状态 +``` + -- Gitee