欢迎来到天天文库
浏览记录
ID:53009525
大小:572.64 KB
页数:35页
时间:2020-04-11
《实验四 跨交换机VLAN配置-实验三十(2) 三层交换机 OSPF 动态....pdf》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、-实验三十(2)、三层交换机OSPF动态路由一、实验目的1、掌握三层交换机之间通过OSPF协议实现网段互通的配置方法。2、理解RIP协议和OSPF协议内部实现的不同点二、应用环境当两台三层交换机级联时,为了保证每台交换机上所连接的网段可以和另一台交换机上连接的网段互相通信,使用OSPF协议可以动态学习路由。本实验交换机使用的软件版本DCNOS版本均高于6.1.0.0。三、实验设备1、DCRS-7604(或6804)交换机1台2、DCRS-5526S交换机1台3、PC机2-4台4、Console线1-2根5、直通网线2-4根四、实验拓扑五、实验要求1、在交换机A和交换机
2、B上分别划分基于端口的VLAN:交换机VLAN端口成员交换机A101~8209~1610024交换机B301~8-409~16101242、交换机A和B通过的24口级联。3、配置交换机A和B各VLAN虚拟接口的IP地址分别如下表所示:VLAN10VLAN20VLAN30VLAN40VLAN100VLAN101192.168.10.1192.168.20.1192.168.30.1192.168.40.1192.168.100.1192.168.100.24、PC1-PC4的网络设置为:设备IP地址gatewayMaskPC1192.168.10.101192.168.
3、10.1255.255.255.0PC2192.168.20.101192.168.20.1255.255.255.0PC3192.168.30.101192.168.30.1255.255.255.0PC4192.168.40.101192.168.40.1255.255.255.05、验证:ò没有OSPF路由协议之前:PC1与PC2,PC3与PC4可以互通。PC1、PC2与PC3、PC4不通。ò配置OSPF路由协议之后:四台PC之间都可以互通。ò若实验结果和理论相符,则本实验完成。六、实验步骤第一步:交换机全部恢复出厂设置,配置交换机的VLAN信息(同实验27)交
4、换机A:DCRS-7604#confDCRS-7604(Config)#vlan10DCRS-7604(Config-Vlan10)#switchportinterfaceethernet1/1-8SettheportEthernet1/1accessvlan10successfullySettheportEthernet1/2accessvlan10successfullySettheportEthernet1/3accessvlan10successfullySettheportEthernet1/4accessvlan10successfullySetthepo
5、rtEthernet1/5accessvlan10successfullySettheportEthernet1/6accessvlan10successfullySettheportEthernet1/7accessvlan10successfullySettheportEthernet1/8accessvlan10successfullyDCRS-7604(Config-Vlan10)#exitDCRS-7604(Config)#vlan20DCRS-7604(Config-Vlan20)#switchportinterfaceethernet1/9-16Sett
6、heportEthernet1/9accessvlan20successfully-SettheportEthernet1/10accessvlan20successfullySettheportEthernet1/11accessvlan20successfullySettheportEthernet1/12accessvlan20successfullySettheportEthernet1/13accessvlan20successfullySettheportEthernet1/14accessvlan20successfullySettheportEther
7、net1/15accessvlan20successfullySettheportEthernet1/16accessvlan20successfullyDCRS-7604(Config-Vlan20)#exitDCRS-7604(Config)#vlan100DCRS-7604(Config-Vlan100)#switchportinterfaceethernet1/24SettheportEthernet1/24accessvlan100successfullyDCRS-7604(Config-Vlan100)#exitDCRS-7604(Con
此文档下载收益归作者所有