資源描述:
《華為交換機配置OSPF動態(tài)路由》由會員上傳分享,免費在線閱讀,更多相關(guān)內(nèi)容在行業(yè)資料-天天文庫。
1、華為S5700三層交換機之間配置ospf路由(已驗證)組網(wǎng)需求實現(xiàn)4臺交換機之間能夠互通,且以后能依據(jù)SwitchB和SwitchC為主要的業(yè)務(area0骨干區(qū)域)來繼續(xù)擴展整個網(wǎng)絡。配置:SwitchA配置:#vlanbatch10#interfaceVlanif10ipaddress192.168.10.1255.255.255.0#interfaceGigabitEthernet0/0/1#interfaceGigabitEthernet0/0/2portlink-typetrunkporttrunk
2、allow-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-pass
3、vlan20#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#interfaceVlanif3
4、0ipaddress192.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
5、.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#驗證配置結(jié)果:在SwitchA上使用Ping測試S
6、witchB,SwitchC,SwitchD之間的連通性。