实验三 VTP server交换机的配置

上传人:lcm****801 文档编号:47120387 上传时间:2018-06-29 格式:PDF 页数:4 大小:192.59KB
返回 下载 相关 举报
实验三 VTP server交换机的配置_第1页
第1页 / 共4页
实验三 VTP server交换机的配置_第2页
第2页 / 共4页
实验三 VTP server交换机的配置_第3页
第3页 / 共4页
实验三 VTP server交换机的配置_第4页
第4页 / 共4页
亲,该文档总共4页,全部预览完了,如果喜欢就下载吧!
资源描述

《实验三 VTP server交换机的配置》由会员分享,可在线阅读,更多相关《实验三 VTP server交换机的配置(4页珍藏版)》请在金锄头文库上搜索。

1、实验四 VTP Server 交换机的配置 一一VTPVTP 原理原理 二实验目的二实验目的 通过 vtp 实验掌握 vtp 原理 三三VTPVTP 的配置步骤的配置步骤 搭建实验拓扑图,如下图 1 所示: Fig 1 Fig 1 实验拓扑图实验拓扑图 进入左面第一台交换机, ,配置 VTP,工作模式为 server: /进入特权配置模式 Switchenable /进入 vlan 配置模式 Switch#vla Switch#vlan data Switch#vlan database % Warning: It is recommended to configure VLAN from c

2、onfig mode, as VLAN database mode is being deprecated. Please consult user documentation for configuring VTP/VLAN in config mode. /设 vtp 工作模式为 server Switch(vlan)#vtp server Device mode already VTP SERVER. /设置 vtp 名称为 test Switch(vlan)#vtp domain test Changing VTP domain name from NULL to test /设置 v

3、tp 密码为 20103259 Switch(vlan)#vt Switch(vlan)#vtp pass Switch(vlan)#vtp password 20103259 Setting device VLAN database password to 20103259 /退出 vlan 配置 Switch(vlan)#ex Switch(vlan)#exit APPLY completed. Exiting. /显示 vlan 配置信息 Switch#sh Switch#show vtp s Switch#show vtp status VTP Version : 2 Configur

4、ation Revision : 0 Maximum VLANs supported locally : 255 Number of existing VLANs : 5 VTP Operating Mode : Server VTP Domain Name : test VTP Pruning Mode : Disabled VTP V2 Mode : Disabled VTP Traps Generation : Disabled MD5 digest : 0xDC 0x45 0x44 0x72 0xA1 0xBB 0x3B 0xE7 Configuration last modified

5、 by 0.0.0.0 at 0-0-00 00:00:00 Local updater ID is 0.0.0.0 (no valid interface found) Switch# 进入右面第二台交换机,配置 vtp,模式为 client Switchenable Switch#vlan database % Warning: It is recommended to configure VLAN from config mode, as VLAN database mode is being deprecated. Please consult user documentation f

6、or configuring VTP/VLAN in config mode. /把 vtp 模式设置为 client 模式,名称和密码和 server 要一致 Switch(vlan)#vtp client Setting device to VTP CLIENT mode. Switch(vlan)#vtp domain test Changing VTP domain name from NULL to test Switch(vlan)#vtp password 20103259 Setting device VLAN database password to 20103259 Swi

7、tch(vlan)#exit APPLY completed. Exiting. Switch#show vtp status VTP Version : 2 Configuration Revision : 0 Maximum VLANs supported locally : 255 Number of existing VLANs : 5 VTP Operating Mode : Client VTP Domain Name : test VTP Pruning Mode : Disabled VTP V2 Mode : Disabled VTP Traps Generation : D

8、isabled MD5 digest : 0xDC 0x45 0x44 0x72 0xA1 0xBB 0x3B 0xE7 Configuration last modified by 0.0.0.0 at 0-0-00 00:00:00 Switch# 把链接两台交换机两端的端口设为 trunk 口,允许所有 vlan 通过。 vtp server交换机和vtp client 交换机的配置过程如下, vtp server 交换机的配置(vtp client 的设置和 vtp server 同理) Switchenable Switch#vlan database % Warning: It i

9、s recommended to configure VLAN from config mode, as VLAN database mode is being deprecated. Please consult user documentation for configuring VTP/VLAN in config mode. Switch(vlan)#vtp domain test Domain name already set to test. Switch(vlan)#vtp password 20103259 Password already set to 20103259 Sw

10、itch(vlan)#vlan 2 name test_2 VLAN 2 added: Name: test_2 Switch(vlan)#vlan 3 na Switch(vlan)#vlan 3 name test_3 VLAN 3 added: Name: test_3 Switch(vlan)#exit APPLY completed. Exiting. Switch#show vlan Switch(config)#interface f0/1 Switch(config-if)#switchport mo Switch(config-if)#switchport mode trunk Switch(config-if)#exit Switch(config)#interface f0/2 Switch(config-if)#switchport access vlan 2 Switch(config-if)#int f0/3 Switch(config-if)#switchport access vlan 3 Switch(config-if)# Switch(config-if)#exit

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 办公文档 > 其它办公文档

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号