资源描述:
《神州数码配置ospf网络类型》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、神州数码配置OSPF网络类型配置OSPF网络类型实验目的:了解如何更改OSPF网络类型实验拓扑图:基本配置R1(config)#ints3/0R1(config-if)#enfrR1(config-if)#noframe-relayinvR1(config-if)#frame-relaymapip192.168.0.2102bR1(config-if)#ipad192.168.0.1255.255.255.0R1(config-if)#noshR2(config)#ints3/0R2(config-if)#enfrR2(config-if)#noframe-relayinvR
2、2(config-if)#ipad192.168.0.2255.255.255.0R2(config-if)#noshR2(config-if)#frame-relaymapip192.168.0.1201bR1#showframe-relaymapSerial3/0(up):ip192.168.0.2dlci102(0x66,0x1860),static,broadcast,CISCO,statusdefined,activeR1#ping192.168.0.2Typeescapesequencetoabort.Sending5,100-byteICMPEchosto192
3、.168.0.2,timeoutis2seconds:!!!!!配置OSPF协议R1(config)#routerospf10R1(config-router)#net192.168.0.00.0.0.255a0R1(config-router)#^ZR2(config)#routerospf10R2(config-router)#net192.168.0.00.0.0.255a0R2(config-router)#^ZR1#showipospfinterfaceSerial3/0isup,lineprotocolisupInternetAddress192.168.0.1/
4、24,Area0ProcessID10,RouterID192.168.0.1,NetworkTypeNON_BROADCAST,Cost:64TransmitDelayis1sec,StateWAITING,Priority1NodesignatedrouteronthisnetworkNobackupdesignatedrouteronthisnetworkTimerintervalsconfigured,Hello30,Dead120,Wait120,Retransmit5oob-resynctimeout120Helloduein00:00:28Waittimebef
5、oreDesignatedrouterselection00:01:28Index1/1,floodqueuelength0Next0x0(0)/0x0(0)Lastfloodscanlengthis0,maximumis0Lastfloodscantimeis0msec,maximumis0msecNeighborCountis0,Adjacentneighborcountis0Suppresshellofor0neighbor(s)把R1、R2的OSPF接口网络类型更改为广播类型R1(config)#ints3/0R1(config-if)#ipospfnetworkbr
6、oadcastR2(config)#ints3/0R2(config-if)#ipospfnetworkbroadcastR1#debugipospfadjOSPFadjacencyeventsdebuggingisonR1#*Jul1620:36:46.423:OSPF:NeighborchangeEventoninterfaceSerial3/0*Jul1620:36:46.427:OSPF:DR/BDRelectiononSerial3/0*Jul1620:36:46.427:OSPF:ElectBDR192.168.0.1*Jul1620:36:46.431:OSPF
7、:ElectDR192.168.0.2*Jul1620:36:46.431:OSPF:ElectBDR192.168.0.1*Jul1620:36:46.431:OSPF:ElectDR192.168.0.2*Jul1620:36:46.431:DR:192.168.0.2(Id)BDR:192.168.0.1(Id)*Jul1620:36:46.435:OSPF:NeighborchangeEventoninterfaceSerial3/0*Jul1620:36:46.439:OSPF:DR/BDRe