VTP技术实验配置(超详细_原创).doc_第1页
VTP技术实验配置(超详细_原创).doc_第2页
VTP技术实验配置(超详细_原创).doc_第3页
VTP技术实验配置(超详细_原创).doc_第4页
VTP技术实验配置(超详细_原创).doc_第5页
已阅读5页,还剩3页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

VTP的配置 实验目的: 了解熟悉vtp的配置命令 熟悉VTP配置步骤及过程实验内容: 1.求证两台server模式之间修订号改变随之的变化 2.求证两台server模式 一台transparnet模式修改修订号之间他们的变化 命令:1.创建VTP域 Swith(config)#vtp domain domain_name 2.配置交换机的VTP模式 Swith(config)#vtp mode server | client | transparent 一.两台server模式之间修订号修改之间的变化实验拓扑:serverserver F0/1trunkF0/1trunkSwitch7F0/1Switch77Switch8Switch8 1. 构建物理拓扑图如上 /注意选用的是交叉线,所对应的端口号2. 创建switch7,switch8的trunk链路Switch7 switch7(config)#int f0/1switch7(config-if)#switchport mode trunkswitch7(config-if)#switchport trunk enswitch7(config-if)#switchport trunk encapsulation dot1qswitch7(config-if)#no shudown switch8switch8(config)#int f0/1switch8(config-if)#switchport mode trunkswitch8(config-if)#switchport trunk encapsulation dot1qswitch8(config-if)#no shutdown3. 创建域和模式Switch7switch7(config)#vtp domain zichunli switch7(config)#vtp mode serverSwitch8Switch8(config)#vtp domain zichunli Switch8(config)#vtp mode server4. 在switch7里面创建valn 10,vlan 20switch7(config)#vlan 10switch7(config)#vlan 205. 在switch8里面创建vlan 30 Switch8(config)#vlan 30实验测试:1. 当switch7里创建 vlan 10,vlan 20 ,查看switch8 VTP 和vlan状态情况结果显示 switch8#show vtp status VTP Version : 2Configuration Revision : 2 /修订号学习switch7修订号Maximum VLANs supported locally : 1005Number of existing VLANs : 7 VTP Operating Mode : ServerVTP Domain Name : zichunliVTP Pruning Mode : DisabledVTP V2 Mode : DisabledVTP Traps Generation : DisabledMD5 digest : 0x50 0x30 0x57 0x39 0xE6 0xCB 0x30 0x6B Configuration last modified by 0.0.0.0 at 3-1-93 01:35:52Local updater ID is 0.0.0.0 (no valid interface found)switch8#show vlan brieVLAN Name Status Ports- - - -1 default active Fa0/2, Fa0/3, Fa0/4, Fa0/5 Fa0/6, Fa0/7, Fa0/8, Fa0/9 Fa0/10, Fa0/11, Fa0/12, Fa0/13 Fa0/14, Fa0/15, Fa0/16, Fa0/17 Fa0/18, Fa0/19, Fa0/20, Fa0/21 Fa0/22, Fa0/23, Fa0/24, Gi0/1 Gi0/210 VLAN0010 active /学习到sw7的vlan 1020 VLAN0020 active /学习到sw7的vlan 201002 fddi-default act/unsup 1003 token-ring-default act/unsup 1004 fddinet-default act/unsup 1005 trnet-default act/unsup 2.当switch8创建vlan 30时 Switch7#show vlan brieVLAN Name Status Ports- - - -1 default active Fa0/2, Fa0/3, Fa0/4, Fa0/5 Fa0/6, Fa0/7, Fa0/8, Fa0/9 Fa0/10, Fa0/11, Fa0/12, Fa0/13 Fa0/14, Fa0/15, Fa0/16, Fa0/17 Fa0/18, Fa0/19, Fa0/20, Fa0/21 Fa0/22, Fa0/23, Fa0/24, Gi0/1 Gi0/210 VLAN0010 active 20 VLAN0020 active 30 VLAN0030 active /switch7 自动学习switch8所创建的vlan301002 fddi-default act/unsup 1003 token-ring-default act/unsup 1004 fddinet-default act/unsup 1005 trnet-default act/unsupswitch7#show vtp statusVTP Version : 2Configuration Revision : 3 ./switch7自动学习到switch8的修订号Maximum VLANs supported locally : 1005Number of existing VLANs : 8VTP Operating Mode : ServerVTP Domain Name : zichunliVTP Pruning Mode : DisabledVTP V2 Mode : DisabledVTP Traps Generation : DisabledMD5 digest : 0x50 0x30 0x57 0x39 0xE6 0xCB 0x30 0x6B Configuration last modified by 0.0.0.0 at 3-1-93 01:35:52小结: 当两台配置vtp为server模式时,修订号变化决定哪台为老大.他们能相互学习.二.两台server模式加一台transparent模式修订号修改之间的变化 一.实验拓扑: transparentserverSwitch1trunkF0/1F0/1F0/2F0/1trunkSwitch2Switch3server 二.基本配置: 1.trunk 链路的创建 Switch1: switch1(config)#int f0/1switch1(config-if)#switchport trunk encapsulation dot1qswitch1(config-if)#switchport mode trunk /配置switch1的f0/1为trunk链路switch1(config-if)#no shutdownSwitch2:switch2(config)#int f0/1switch2(config-if)#switchport trunk encapsulation dot1qswitch2(config-if)#switchport mode trunk /配置switch2的f0/1为trunk链路switch2(config-if)#no shutswitch2(config-if)#*Mar 1 00:04:45.135: %DTP-5-TRUNKPORTON: Port Fa0/1 has become dot1q trunkswitch2(config-if)#exitswitch2(config)#int f0/2 switch2(config-if)#switchport trunk encapsulation dot1q switch2(config-if)#switchport mode trunk /配置switch2的f0/2为trunk链路switch2(config-if)#no shut*Mar 1 00:05:17.003: %DTP-5-TRUNKPORTON: Port Fa0/2 has become dot1q trunkdwo% Invalid input detected at marker.switch2(config-if)#no shutdownswitch3:switch3(config)#int f0/1switch3(config-if)#switchport trunk encapsulation dot1q switch3(config-if)#switchport mode trunk /配置switch3的f0/1为trunk链路switch3(config-if)#no shutdown2. 创建vtp域,模式switch1:switch1#vlan database /在模拟器上是这个格式switch1(vlan)#vtp domain zi /创建域名为”zi”switch1(vlan)#vtp server /模式为”server” switch2: switch2#vlan database switch2(vlan)#vtp domain zi /创建域名为”zi”switch2(vlan)#vtp transparent /模式为” transparent ”switch3: switch3#vlan database switch3(vlan)#vtp domain zi /创建域名为”zi”switch3(vlan)#vtp server /模式为”server”实验测试: (1).swithc1创建vlan 10,vlan 20 查看switch3是否能学到 Step1: switch1 创建vlan 10 ,vlan 20 switch1#vlan data switch1(vlan)#vlan 10VLAN 10 added: Name: VLAN0010switch1(vlan)#exit switch1#vlan data switch1(vlan)#vlan 20VLAN 20 added: Name: VLAN0020switch1(vlan)#exitAPPLY completed.Exiting. Step2.:查看switch3是否能学到 switch3#show vlan-swVLAN Name Status Ports- - - -1 default active Fa0/0, Fa0/2, Fa0/3, Fa0/4 Fa0/5, Fa0/6, Fa0/7, Fa0/8 Fa0/9, Fa0/10, Fa0/11, Fa0/12 Fa0/13, Fa0/14, Fa0/1510 VLAN0010 active /学到switch1的vlan 1020 VLAN0020 active /学到switch1的vlan 101002 fddi-default active 1003 token-ring-default active 1004 fddinet-default active 1005 trnet-default active VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2- - - - - - - - - - -1 enet 100001 1500 - - - - - 1002 100310 enet 100010 1500 - - - - - 0 0 20 enet 100020 1500 - - - - - 0 0 1002 fddi 101002 1500 - 0 - - - 1 10031003 tr 101003 1500 1005 0 - - srb 1 10021004 fdnet 101004 1500 - - 1 ibm - 0 0 1005 trnet 101005 1500 - - 1 ibm - 0 0 switch3#show vtp staVTP Version : 2Configuration Revision : 2 /修订号变为2学到switch1了Maximum VLANs supported locally : 256Number of existing VLANs : 7 /vlan 自动加到7VTP Operating Mode : ClientVTP Domain Name : ziVTP Pruning Mode : DisabledVTP V2 Mode : DisabledVTP Traps Generation : DisabledMD5 digest : 0x6C 0x7B 0xA9 0xFA 0x83 0x95 0x05 0xD4 Configuration last modified by 0.0.0.0 at 3-1-02 00:25:20小结:当中间配置为”transparent”模式的时候,并不影响switch3学习到switch1的vlan ,验证transparent模式仍会转为vtp通告.switch1和switch3之间还是会随着哪个的修订号版高的变化而变化(2)当switch3域名改”wu”(与前两个不同)时,在switch1添加vlan 30,验证switch3是否能够学到. Step1: 修改switch3的域名 switch3: switch3#vlan database switch3(vlan)#vtp domain wu step2:在switch1中添加vlan 30 switch1#vlan data switch1(vlan)#vlan 30VLAN 30 added: Name: VLAN0030switch1(vlan)#exitstep3:查看switch3是否能够学到switch1里添加的vlan30 VLAN Name Status Ports- - - -1 default active Fa0/0, Fa0/2, Fa0/3, Fa0/4 Fa0/5, Fa0/6, Fa0/7, Fa0/8 Fa0/9, Fa0/10, Fa0/11, Fa0/12 Fa0/13, Fa0/14, Fa0/1510 VLAN0010 active 20 VLAN0020 active 未看到vlan 301002 fddi-default active 1003 token-ring-default active 1004 fddinet-default active 1005 trnet-default active VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2- - - - - - - - - - -1 enet 100001 1500 - - - - - 1002 100310 enet 100010 1500 - - - - - 0 0 20 enet 100020 1500 - - - - - 0 0 1002 fddi 101002 1500 - 0 - - - 1 10031003 tr 101003

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论