实验四 跨交换机VLAN配置-实验三十(2) 三层交换机 OSPF 动态...

上传人:飞****9 文档编号:128803997 上传时间:2020-04-21 格式:PDF 页数:35 大小:572.64KB
返回 下载 相关 举报
实验四 跨交换机VLAN配置-实验三十(2) 三层交换机 OSPF 动态..._第1页
第1页 / 共35页
实验四 跨交换机VLAN配置-实验三十(2) 三层交换机 OSPF 动态..._第2页
第2页 / 共35页
实验四 跨交换机VLAN配置-实验三十(2) 三层交换机 OSPF 动态..._第3页
第3页 / 共35页
实验四 跨交换机VLAN配置-实验三十(2) 三层交换机 OSPF 动态..._第4页
第4页 / 共35页
实验四 跨交换机VLAN配置-实验三十(2) 三层交换机 OSPF 动态..._第5页
第5页 / 共35页
点击查看更多>>
资源描述

《实验四 跨交换机VLAN配置-实验三十(2) 三层交换机 OSPF 动态...》由会员分享,可在线阅读,更多相关《实验四 跨交换机VLAN配置-实验三十(2) 三层交换机 OSPF 动态...(35页珍藏版)》请在金锄头文库上搜索。

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

2、 线 1 2 根 5 直通网线 2 4 根 四 实验拓扑 四 实验拓扑 五 实验要求 五 实验要求 1 在交换机 A 和交换机 B 上分别划分基于端口的 VLAN 交换机 VLAN 端口成员 交换机 VLAN 端口成员 10 1 8 20 9 16 交换机 A 100 24 交换机 B 30 1 8 40 9 16 101 24 2 交换机 A 和 B 通过的 24 口级联 3 配置交换机 A 和 B 各 VLAN 虚拟接口的 IP 地址分别如下表所示 VLAN10 VLAN20 VLAN30 VLAN40 VLAN100 VLAN101 192 168 10 1 192 168 20 1 1

3、92 168 30 1192 168 40 1192 168 100 1 192 168 100 2 4 PC1 PC4 的网络设置为 设备 IP 地址 gateway Mask 设备 IP 地址 gateway Mask PC1 192 168 10 101 192 168 10 1 255 255 255 0 PC2 192 168 20 101 192 168 20 1 255 255 255 0 PC3 192 168 30 101 192 168 30 1 255 255 255 0 PC4 192 168 40 101 192 168 40 1 255 255 255 0 5 验证

4、 没有 OSPF 路由协议之前 PC1 与 PC2 PC3 与 PC4 可以互通 PC1 PC2 与 PC3 PC4 不通 配置 OSPF 路由协议之后 四台 PC 之间都可以互通 若实验结果和理论相符 则本实验完成 六 实验步骤 六 实验步骤 第一步 交换机全部恢复出厂设置 配置交换机的VLAN信息 同实验27 第一步 交换机全部恢复出厂设置 配置交换机的VLAN信息 同实验27 交换机A DCRS 7604 conf DCRS 7604 Config vlan 10 DCRS 7604 Config Vlan10 switchport interface ethernet 1 1 8 Se

5、t the port Ethernet1 1 access vlan 10 successfully Set the port Ethernet1 2 access vlan 10 successfully Set the port Ethernet1 3 access vlan 10 successfully Set the port Ethernet1 4 access vlan 10 successfully Set the port Ethernet1 5 access vlan 10 successfully Set the port Ethernet1 6 access vlan

6、10 successfully Set the port Ethernet1 7 access vlan 10 successfully Set the port Ethernet1 8 access vlan 10 successfully DCRS 7604 Config Vlan10 exit DCRS 7604 Config vlan 20 DCRS 7604 Config Vlan20 switchport interface ethernet 1 9 16 Set the port Ethernet1 9 access vlan 20 successfully Set the po

7、rt Ethernet1 10 access vlan 20 successfully Set the port Ethernet1 11 access vlan 20 successfully Set the port Ethernet1 12 access vlan 20 successfully Set the port Ethernet1 13 access vlan 20 successfully Set the port Ethernet1 14 access vlan 20 successfully Set the port Ethernet1 15 access vlan 20

8、 successfully Set the port Ethernet1 16 access vlan 20 successfully DCRS 7604 Config Vlan20 exit DCRS 7604 Config vlan 100 DCRS 7604 Config Vlan100 switchport interface ethernet 1 24 Set the port Ethernet1 24 access vlan 100 successfully DCRS 7604 Config Vlan100 exit DCRS 7604 Config 验证配置 验证配置 DCRS

9、7604 show vlan VLAN Name Type Media Ports 1 default Static ENET Ethernet1 17 Ethernet1 18 Ethernet1 19 Ethernet1 20 Ethernet1 21 Ethernet1 22 Ethernet1 23 Ethernet1 25 Ethernet1 26 Ethernet1 27 Ethernet1 28 10 VLAN0010 Static ENET Ethernet1 1 Ethernet1 2 Ethernet1 3 Ethernet1 4 Ethernet1 5 Ethernet1

10、 6 Ethernet1 7 Ethernet1 8 20 VLAN0020 Static ENET Ethernet1 9 Ethernet1 10 Ethernet1 11 Ethernet1 12 Ethernet1 13 Ethernet1 14 Ethernet1 15 Ethernet1 16 100 VLAN0100 Static ENET Ethernet1 24 DCRS 7604 交换机B DCRS 5526S Config vlan 30 DCRS 5526S Config Vlan30 switchport interface ethernet 0 0 1 8 Set

11、the port Ethernet0 0 1 access vlan 30 successfully Set the port Ethernet0 0 2 access vlan 30 successfully Set the port Ethernet0 0 3 access vlan 30 successfully Set the port Ethernet0 0 4 access vlan 30 successfully Set the port Ethernet0 0 5 access vlan 30 successfully Set the port Ethernet0 0 6 ac

12、cess vlan 30 successfully Set the port Ethernet0 0 7 access vlan 30 successfully Set the port Ethernet0 0 8 access vlan 30 successfully DCRS 5526S Config Vlan30 exit DCRS 5526S Config vlan 40 DCRS 5526S Config Vlan40 switchport interface ethernet 0 0 9 16 Set the port Ethernet0 0 9 access vlan 40 su

13、ccessfully Set the port Ethernet0 0 10 access vlan 40 successfully Set the port Ethernet0 0 11 access vlan 40 successfully Set the port Ethernet0 0 12 access vlan 40 successfully Set the port Ethernet0 0 13 access vlan 40 successfully Set the port Ethernet0 0 14 access vlan 40 successfully Set the p

14、ort Ethernet0 0 15 access vlan 40 successfully Set the port Ethernet0 0 16 access vlan 40 successfully DCRS 5526S Config Vlan40 exit DCRS 5526S Config vlan 101 DCRS 5526S Config Vlan101 switchport interface ethernet 0 0 24 Set the port Ethernet0 0 24 access vlan 101 successfully DCRS 5526S Config Vl

15、an101 exit DCRS 5526S Config 验证配置 验证配置 DCRS 5526S show vlan VLAN Name Type Media Ports 1 default Static ENET Ethernet0 0 17 Ethernet0 0 18 Ethernet0 0 19 Ethernet0 0 20 Ethernet0 0 21 Ethernet0 0 22 Ethernet0 0 23 30 VLAN0030 Static ENET Ethernet0 0 1 Ethernet0 0 2 Ethernet0 0 3 Ethernet0 0 4 Ethern

16、et0 0 5 Ethernet0 0 6 Ethernet0 0 7 Ethernet0 0 8 40 VLAN0040 Static ENET Ethernet0 0 9 Ethernet0 0 10 Ethernet0 0 11 Ethernet0 0 12 Ethernet0 0 13 Ethernet0 0 14 Ethernet0 0 15 Ethernet0 0 16 101 VLAN0101 Static ENET Ethernet0 0 24 DCRS 5526S 第二步 配置交换机各vlan虚接口的IP地址 同实验27 第二步 配置交换机各vlan虚接口的IP地址 同实验27 交换机A DCRS 7604 Config int vlan 10 DCRS 7604 Config If Vlan10 ip address 192 168 10 1 255 255 255 0 DCRS 7604 Config If Vlan10 no shut DCRS 7604 Config If Vlan10 exit DCRS 7604 Config int vlan 20 DCR

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

当前位置:首页 > IT计算机/网络 > 其它相关文档

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