cisco交换机vtp配置

上传人:第*** 文档编号:31326210 上传时间:2018-02-06 格式:DOC 页数:8 大小:113.50KB
返回 下载 相关 举报
cisco交换机vtp配置_第1页
第1页 / 共8页
cisco交换机vtp配置_第2页
第2页 / 共8页
cisco交换机vtp配置_第3页
第3页 / 共8页
cisco交换机vtp配置_第4页
第4页 / 共8页
cisco交换机vtp配置_第5页
第5页 / 共8页
点击查看更多>>
资源描述

《cisco交换机vtp配置》由会员分享,可在线阅读,更多相关《cisco交换机vtp配置(8页珍藏版)》请在金锄头文库上搜索。

1、Cisco 交换机 vtp 配置实验环境:cisco Packet Tracer5.3拓扑图:1. Ds 的配置Switch#conf tEnter configuration commands, one per line. End with CNTL/Z.Switch(config)#hostname Ds1Ds1(config)#vtp domain jvtcChanging VTP domain name from NULL to jvtcSwitch(config)#vtp mode serverDs1(config)#interface gigabitEthernet 0/1Ds1(

2、config-if)#switchport mode accessDs1(config-if)#switchport mode trunk%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to down%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to upDs1(config-if)#exitDs1#show vtp status VTP Version : 2C

3、onfiguration Revision : 0Maximum VLANs supported locally : 1005Number of existing VLANs : 5VTP Operating Mode : ServerVTP Domain Name : jvtcVTP Pruning Mode : DisabledVTP V2 Mode : DisabledVTP Traps Generation : DisabledMD5 digest : 0x97 0x15 0xF7 0x52 0x62 0x24 0x0B 0xEC Configuration last modified

4、 by 0.0.0.0 at 0-0-00 00:00:00Local updater ID is 0.0.0.0 (no valid interface found)Ds1#copy running-config startup-config Destination filename startup-config? Building configuration.OKDs1#2. As1 的配置SwitchenSwitch#conf tEnter configuration commands, one per line. End with CNTL/Z.Switch(config)#hostn

5、ame As1As1(config)#interface gigabitEthernet 1/1As1(config-if)#switchport mode trunkAs1(config-if)#exitAs1(config)#interface gigabitEthernet 1/2As1(config-if)#switchport mode trunkAs1(config-if)#exitAs1(config)#vtp domain jvtcDomain name already set to jvtc.As1(config)#vtp mode clientSetting device

6、to VTP CLIENT mode.As1(config)#exitAs1#show vtp statusVTP Version : 2Configuration Revision : 0Maximum VLANs supported locally : 255Number of existing VLANs : 5VTP Operating Mode : ClientVTP Domain Name : jvtcVTP Pruning Mode : DisabledVTP V2 Mode : DisabledVTP Traps Generation : DisabledMD5 digest

7、: 0x97 0x15 0xF7 0x52 0x62 0x24 0x0B 0xEC Configuration last modified by 0.0.0.0 at 0-0-00 00:00:00As1#copy running-config startup-config Destination filename startup-config? Building configuration.OKAs1#3. As2 的配置SwitchenSwitch#conf tEnter configuration commands, one per line. End with CNTL/Z.Switc

8、h(config)#hostname As1As1(config)#interface gigabitEthernet 1/1As1(config-if)#switchport mode trunkAs1(config-if)#exitAs1(config)#vtp domain jvtcDomain name already set to jvtc.As1(config)#vtp mode clientSetting device to VTP CLIENT mode.As1(config)#exitAs1#show vtp statusVTP Version : 2Configuratio

9、n Revision : 0Maximum VLANs supported locally : 255Number of existing VLANs : 5VTP Operating Mode : ClientVTP Domain Name : jvtcVTP Pruning Mode : DisabledVTP V2 Mode : DisabledVTP Traps Generation : DisabledMD5 digest : 0x97 0x15 0xF7 0x52 0x62 0x24 0x0B 0xEC Configuration last modified by 0.0.0.0

10、at 0-0-00 00:00:00As2#copy running-config startup-config Destination filename startup-config? Building configuration.OKAs2#4.vlan 中继查看Ds1#vlan database% Warning: It is recommended to configure VLAN from config mode,as VLAN database mode is being deprecated. Please consult userdocumentation for confi

11、guring VTP/VLAN in config mode.Ds1(vlan)#vlan 10VLAN 10 added:Name: VLAN0010Ds1(vlan)#vlan 20VLAN 20 added:Name: VLAN0020Ds1(vlan)#vlan 30VLAN 30 added:Name: VLAN0030Ds1(vlan)#vlan 40VLAN 40 added:Name: VLAN0040Ds1(vlan)#exitAPPLY completed.Exiting.As1#show vtp status VTP Version : 2Configuration Re

12、vision : 4Maximum VLANs supported locally : 255Number of existing VLANs : 9VTP Operating Mode : ClientVTP Domain Name : jvtcVTP Pruning Mode : DisabledVTP V2 Mode : DisabledVTP Traps Generation : DisabledMD5 digest : 0x4A 0xDC 0x4A 0x49 0x15 0xD9 0x91 0xF7 Configuration last modified by 0.0.0.0 at 3

13、-1-93 00:42:47#As2#show vtp status VTP Version : 2Configuration Revision : 4Maximum VLANs supported locally : 255Number of existing VLANs : 9VTP Operating Mode : ClientVTP Domain Name : jvtcVTP Pruning Mode : DisabledVTP V2 Mode : DisabledVTP Traps Generation : DisabledMD5 digest : 0x4A 0xDC 0x4A 0x49 0x15 0xD9 0x91 0xF7 Configuration last modified by 0.0.0.0 at 3-1-93 00:42:47As2#

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

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

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