968
C
58: OSPF C
HAPTER
Troubleshooting OSPF
Configuration
No OSPF Neighbor
Relationship Established
ONFIGURATION
[RouterB] interface ethernet 1/0
[RouterB-Ethernet1/0] ip address 192.1.1.2 255.255.255.0
[RouterB-Ethernet1/0] ospf dr-priority 0
[RouterB-Ethernet1/0] quit
[RouterB] router id 2.2.2.2
[RouterB] ospf 100
[RouterB-ospf-100] graceful-restart help 2000
[RouterB-ospf-100] area 0
[RouterB-ospf-100-area-0.0.0.0] network 192.1.1.0 0.0.0.255
3 Configure Router C
<RouterC> system-view
[RouterC] acl number 2000
[RouterC-acl-basic-2000] rule 10 permit source 192.1.1.1 0.0.0.0
[RouterC-acl-basic-2000] quit
[RouterC] interface ethernet 1/0
[RouterC-Ethernet1/0] ip address 192.1.1.3 255.255.255.0
[RouterC-Ethernet1/0] ospf dr-priority 2
[RouterC-Ethernet1/0] quit
[RouterC] router id 3.3.3.3
[RouterC] ospf 100
[RouterC-ospf-100] graceful-restart help 2000
[RouterC-ospf-100] area 0
[RouterC-ospf-100-area-0.0.0.0] network 192.1.1.0 0.0.0.255
4 Verify the configuration.
# Perform OSPF Graceful Restart on Router A if all routers function properly after
the above configurations.
<RouterA> reset ospf 100 process graceful-restart
Symptom
No OSPF neighbor relationship can be established.
Analysis
If the physical link and lower layer protocols work well, check OSPF parameters
configured on interfaces. Two neighbors must have the same parameters, such as
the area ID, network segment and mask (a P2P or virtual link may have different
network segments and masks), network type. If the network type is broadcast or
NBMA, at least one interface must have a router priority higher than 0.
Solution
1 Display OSPF neighbor information using the display ospf peer command.
2 Display OSPF interface information using the display ospf interface command.
3 Ping the neighbor router's IP address to check connectivity.
4 Check OSPF timers. The dead interval on an interface must be at least four times
the hello interval.
Need help?
Do you have a question about the MSR 50 Series and is the answer not in the manual?
Questions and answers