华为交换机配置OSPF动态路由

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

华为S5700三层交换机之间配置ospf路由(已验证)组网需求实现4台交换机之间能够互通,且以后能依据SwitchB和SwitchC为主要的业务(area0骨干区域)来继续扩展整个网络。配置:SwitchA配置:#vlanbatch10#interfaceVlanif10ipaddress192.168.10.1255.255.255.0#interfaceGigabitEthernet0/0/1#interfaceGigabitEthernet0/0/2portlink-typetrunkporttrunkallow-passvlan10#ospf1area0.0.0.1network192.168.10.00.0.0.255#SwitchB配置:#vlanbatch1020#interfaceVlanif10ipaddress192.168.10.2255.255.255.0#interfaceVlanif20ipaddress192.168.20.1255.255.255.0#interfaceGigabitEthernet0/0/1portlink-typetrunkporttrunkallow-passvlan20#interfaceGigabitEthernet0/0/2portlink-typetrunkporttrunkallow-passvlan10#ospf1area0.0.0.0network192.168.20.00.0.0.255area0.0.0.1network192.168.10.00.0.0.255#SwitchC配置:#vlanbatch2030#interfaceVlanif20ipaddress192.168.20.2255.255.255.0#interfaceVlanif30ipaddress192.168.30.1255.255.255.0#interfaceGigabitEthernet0/0/1portlink-typetrunkporttrunkallow-passvlan20#interfaceGigabitEthernet0/0/2portlink-typetrunkporttrunkallow-passvlan30#ospf1area0.0.0.0network192.168.20.00.0.0.255area0.0.0.2network192.168.30.00.0.0.255#SwitchD配置:#vlanbatch30#interfaceVlanif30ipaddress192.168.30.2255.255.255.0#interfaceGigabitEthernet0/0/1#interfaceGigabitEthernet0/0/2portlink-typetrunkporttrunkallow-passvlan30#ospf1area0.0.0.2network192.168.30.00.0.0.255#验证配置结果:在SwitchA上使用Ping测试SwitchB,SwitchC,SwitchD之间的连通性。

1 / 5
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功