CCNA攻略补充之VTP与VLAN配置.docx
《CCNA攻略补充之VTP与VLAN配置.docx》由会员分享,可在线阅读,更多相关《CCNA攻略补充之VTP与VLAN配置.docx(15页珍藏版)》请在第一文库网上搜索。
1、CCNA攻略补充之VTP与VLAN配置2009-04-0812:57本篇文章是对CCNA实验攻略(3)CiscoVTP的详细补充。FPacket Tracer 5.0 by Cisco Systems, Inc.Time:00:06:33PowerCycle DevicesFileEdit Options View Tools Extensions HelpScenario0ConnectionsNewDeleteFire.rbainrCopperStraight-ThroughTogglePDU List Window图一实验拓扑图配置步骤:1、配置VTP协议Cisco3560交换机配置命令
2、,Cisco3560交换机作为VTPServer,是局域网中的核心交换机。3560(config)#vtpdomainsenyaChangingVTPdomainnamefromNULLtosenya3560(config)#vtpserver3560(config)#vtpmodeserverDevicemodealreadyVTPSERVER.查看VTP的配置3560#shvtpstatusVTPVersion:2ConfigurationRevision:4MaximumVLANssupportedlocally:1005Numberof existing VLANsVTP Operat
3、ing ModeVTP Domain NameVTP Pruning ModeVTP V2 ModeVTP Traps GenerationMD5 digest0xD3 0xC8 0x55 OxCl 0x58:7:Server:senya:Disabled:Disabled:Disabled:0x510x27OxlE00:19:44(lowestnumbered VLANConfigurationlastmodifiedby0.0.0.0at3-1-93LocalupdaterIDis192.168.1.254oninterfaceV12interfacefound)两个作为接入汇聚层的295
4、0的配置VTP的命令2950A(config)#vtpdomainsenyaChangingVTPdomainnamefromNULLtosenya2950A(config)#vtpmodeclientSettingdevicetoVTPCLIENTmode.2950A(config)#查看VTP的配置2950A#shvtpstatus:2:4:7:Client:senya:Disabled:Disabled:Disabled:0x510x27 OxlEat 3-1-93 00:19:44VTPVersionConfigurationRevisionMaximumVLANssupportedl
5、ocally:255NumberofexistingVLANsVTPOperatingModeVTPDomainNameVTPPruningModeVTPV2ModeVTPTrapsGenerationMD5digest0xD30xC80x55OxCl0x58Configurationlastmodifiedby0.0.0.02、配置trunk链路两个Cisco2950交换机使用fastthernetO/24端口分别与核心交换机的24、23端口相连,这两条链路应为trunk,相连的每个端口为trunk类型,配置命令相同,如下:2950B(config)tiinterfacefaO/242950
6、B(config-if)#switchportmodetrunk2950B(config-if)#switchporttrunkallowedvlanall3、在核心交换机Cisco3560上创建两个Vian:vlan2名称为math;vlan3名称为chineseo3560(config)#vlan23560(config-vlan)#namemath3560(config-vlan)#vlan33560(config-vlan)ttnameChinese在三个交换机上使用shvlan命令均可以查看到如下的vlan信息:2950A#shvlanVLANNamePortsStatus1 def
7、aultiveFa0/l,FaO/2,FaO/3,FaO/4FaO/5,FaO/6,FaO/7,FaO/8FaO/12FaO/15,FaO/16FaO/18,FaO/19,Fa0/202 mathactive3 ChineseactactactiveactiveactiveactiveVLANType SAIDMTUParentRingNo BridgeNo Stp BrdgModeive1002fddi-default1003token-ring-default1004fddinet-default1005trnet-defaultTranslTrans21enet100001150002e
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- CCNA 攻略 补充 VTP VLAN 配置
