欢迎来到天天文库
浏览记录
ID:46583687
大小:382.78 KB
页数:30页
时间:2019-11-25
《实验30(1)三层交换机OSPF动态路由》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、实验三十(1)、三层交换机OSPF动态路由一、实验目的1、掌握三层交换机之间通过OSPF协议实现网段互通的配置方法。2、理解RIP协议和OSPF协议内部实现的不同点二、应用环境当两台三层交换机级联时,为了保证每台交换机上所连接的网段可以和另一台交换机上连接的网段互相通信,使用OSPF协议可以动态学习路由。三、实验设备1、DCRS-7604(或6804)交换机1台2、DCRS-5526S交换机1台3、PC机2-4台4、Console线1-2根5、直通网线2-4根四、实验拓扑五、实验要求1、在交换机A和交换机B上分别划分基于端口的VLAN:交
2、换机VLAN端口成员交换机A101~8209~1610024交换机B301~8409~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.10.
3、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之间都可以互通。ò若实验结果和理论相符,则本实验完成。六、实验步骤第一步:交换机全部恢复出厂设置,配置交换机的VL
4、AN信息(同实验27)交换机A:DCRS-7604#confDCRS-7604(Config)#vlan10DCRS-7604(Config-Vlan10)#switchportinterfaceethernet1/1-8SettheportEthernet1/1accessvlan10successfullySettheportEthernet1/2accessvlan10successfullySettheportEthernet1/3accessvlan10successfullySettheportEthernet1/4acces
5、svlan10successfullySettheportEthernet1/5accessvlan10successfullySettheportEthernet1/6accessvlan10successfullySettheportEthernet1/7accessvlan10successfullySettheportEthernet1/8accessvlan10successfullyDCRS-7604(Config-Vlan10)#exitDCRS-7604(Config)#vlan20DCRS-7604(Config-Vla
6、n20)#switchportinterfaceethernet1/9-16SettheportEthernet1/9accessvlan20successfullySettheportEthernet1/10accessvlan20successfullySettheportEthernet1/11accessvlan20successfullySettheportEthernet1/12accessvlan20successfullySettheportEthernet1/13accessvlan20successfullySetth
7、eportEthernet1/14accessvlan20successfullySettheportEthernet1/15accessvlan20successfullySettheportEthernet1/16accessvlan20successfullyDCRS-7604(Config-Vlan20)#exitDCRS-7604(Config)#vlan100DCRS-7604(Config-Vlan100)#switchportinterfaceethernet1/24SettheportEthernet1/24access
8、vlan100successfullyDCRS-7604(Config-Vlan100)#exitDCRS-7604(Config)#验证配置:DCRS-7604#showvlanVLANNa
此文档下载收益归作者所有