First, the experimental topological diagram
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/6B/ED/wKioL1U6VcHBtLjmAAE-whB3eac661.jpg "title=" Qqq.png "alt=" Wkiol1u6vchbtljmaae-whb3eac661.jpg "/>
Second, the experimental configuration
The R1 configuration is as follows:
!
Interface Loopback0
IP Address 1.1.1.1 255.255.255.0
!
Interface serial0/0
IP address 192.168.65.1 255.255.255.0
IP OSPF network point-to-point
Serial Restart-delay 0
!
Interface SERIAL0/1
IP address 192.168.67.1 255.255.255.0
Serial Restart-delay 0
!
router OSPF 100
Log-adjacency-changes
Network 0.0.0.0 255.255.255.255 Area 0
!
The R6 configuration is as follows:
!
Interface Loopback0
IP address 2.2.2.2 255.255.255.0
!
Interface serial0/0
IP address 192.168.65.2 255.255.255.0
Serial Restart-delay 0
!
Interface SERIAL0/1
IP address 192.168.69.1 255.255.255.0
Serial Restart-delay 0
!
Interface SERIAL0/2
IP address 192.168.5.1 255.255.255.0
Serial Restart-delay 0
!
router OSPF 100
Log-adjacency-changes
Network 0.0.0.0 255.255.255.255 Area 0
!
The other routers are configured in turn, with the following effects:
R3 on show ip OSPF database
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6B/F1/wKiom1U6VZbiCrjZAAE4t4G22UU632.jpg "title=" Q.png " alt= "Wkiom1u6vzbicrjzaae4t4g22uu632.jpg"/>
R3 on show ip OSPF neighbor
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6B/ED/wKioL1U6WA2hxAoUAADHUwTCdMg629.jpg "style=" float: none; "title=" Qq.png "alt=" Wkiol1u6wa2hxaouaadhuwtcdmg629.jpg "/>
R2 (R6) on show ip OSPF neighbor
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/6B/F1/wKiom1U6Vq2Bdw0jAADLZU1_lYI347.jpg "style=" float: none; "title=" Q.png "alt=" Wkiom1u6vq2bdw0jaadlzu1_lyi347.jpg "/>
Third, the matters needing attention
1, loopback virtual interface settings;
2, the configuration of the OSPF RID (this experiment is not set, automatic election for the Loopback0 interface address for RID);
3. Related DEBUG commands
Debug IP OSPF Events
Debug IP OSPF Packet
Show ip OSPF
Show ip OSPF database
Show ip OSPF interface
Show ip OSPF neighbor
Show IP route
This article is from "Xie Zheng Wang" blog, please be sure to keep this source http://xiezhengwang.blog.51cto.com/6288872/1638161
Routing protocol OSPF configuration