116
%Oct 21 15:29:30:921 2011 RouterA OSPF/5/OSPF_NBR_CHG: -MDC=1; OSPF 100 Neighbor
192.1.1.3(GigabitEthernet1/0) from Full to Down.
%Oct 21 15:29:33:815 2011 RouterA OSPF/5/OSPF_NBR_CHG: -MDC=1; OSPF 100 Neighbor
192.1.1.3(GigabitEthernet1/0) from Loading to Full.
%Oct 21 15:29:35:578 2011 RouterA OSPF/5/OSPF_NBR_CHG: -MDC=1; OSPF 100 Neighbor
192.1.1.2(GigabitEthernet1/0) from Loading to Full.
The output shows that Router A completes GR.
BFD for OSPF configuration example
Network requirements
As shown in
Figure 30
, run OSPF on Router A, Router B, and Router C so that they can reach each other
at the network layer. When the link over which Router A and Router B communicate through a Layer 2
switch fails, BFD can quickly detect the failure and notify OSPF of the failure. Router A and Router B then
communicate through Router C.
Figure 30
Network diagram
Table 7
Interface and IP address assignment
Device Interface IP
address
Device
Interface
IP address
Router A
GE1/0
192.168.0.102/24 Router B
GE2/0
13.1.1.1/24
Router A
GE2/0
10.1.1.102/24
Router C
GE1/0
10.1.1.100/24
Router B
GE1/0
192.168.0.100/24 Router C
GE2/0
13.1.1.2/24
Configuration procedure
1.
Configure IP addresses for interfaces. (Details not shown.)
2.
Enable OSPF:
# Configure Router A.
<RouterA> system-view
[RouterA] ospf
[RouterA-ospf-1] area 0
[RouterA-ospf-1-area-0.0.0.0] network 192.168.0.0 0.0.0.255
[RouterA-ospf-1-area-0.0.0.0] network 10.1.1.0 0.0.0.255
[RouterA-ospf-1-area-0.0.0.0] network 121.1.1.0 0.0.0.255