Troubleshooting OSPF Configuration 325[SwitchB-ospf-1-area-0.0.0.1] network 197.1.1.0 0.0.0.255[SwitchB-ospf-1-area-0.0.0.1] vlink-peer 3.3.3.3# Configure SwitchC. system-view[SwitchC] interface Vlan-interface 1[SwitchC-Vlan-interface1] ip address 152.1.1.1 255.255.255.0[SwitchC-Vlan-interface1] quit[SwitchC] interface Vlan-interface 2[SwitchC-Vlan-interface2] ip address 197.1.1.1 255.255.255.0[SwitchC-Vlan-interface2] quit[SwitchC] router id 3.3.3.3[SwitchC] ospf[SwitchC-ospf-1] area 1[SwitchC-ospf-1-area-0.0.0.1] network 197.1.1.0 0.0.0.255[SwitchC-ospf-1-area-0.0.0.1] quit[SwitchC-ospf-1-area-0.0.0.1] vlink-peer 2.2.2.2[SwitchC-ospf-1] area 2[SwitchC-ospf-1-area-0.0.0.2] network 152.1.1.0 0.0.0.255Troubleshooting OSPFConfigurationSymptom 1: OSPF has been configured in accordance with the above-mentionedsteps, but OSPF does not run normally on the switch.Solution: Perform the following procedure.Local fault removal: Firstly, check whether the protocol works normally betweentwo directly connected routers. The normal sign is that the peer state machinebetween the two routers reaches the FULL state. Note: On a broadcast or NBMAnetwork, if the interfaces between two routers are in DROther state, the peer statemachine between the two routers are in 2-way state, instead of FULL state. Thepeer state machine between DR/BDR and all the other routers is in FULL state.■ Use the display ospf peer command to view peers.■ Use the display ospf interface command to view the OSPF information on aninterface.■ Check whether the physical connection is correct and the lower layer protocoloperates normally. You can use the ping command to test. If the local routercannot ping through the peer router, it indicates that faults exist on thephysical link and the lower level protocol.■ If the physical connection and the lower layer protocol are normal, check theOSPF parameters configured on the interface. Verify that these parameterconfigurations are consistent with those on the peer interface. The area IDsmust be the same, and the network segments and the masks must also beconsistent (p2p or virtually linked segments can have different segments andmasks).■ Ensure that the dead timer value is at least four times of the hello timer valueon the same interface.■ If the network type is NBMA, you must use the peer ip-address command tomanually specify a peer.