117
[RouterA-ospf-1-area-0.0.0.0] quit
[RouterA-ospf-1] quit
[RouterA] interface gigabitethernet 2/0
[RouterA-GigabitEthernet2/0] ospf cost 2
# Configure Router B.
<RouterB> system-view
[RouterB] ospf
[RouterB-ospf-1] area 0
[RouterB-ospf-1-area-0.0.0.0] network 192.168.0.0 0.0.0.255
[RouterB-ospf-1-area-0.0.0.0] network 13.1.1.0 0.0.0.255
[RouterB-ospf-1-area-0.0.0.0] network 120.1.1.0 0.0.0.255
[RouterB-ospf-1-area-0.0.0.0] quit
[RouterB-ospf-1] quit
[RouterB] interface gigabitethernet 2/0
[RouterB-GigabitEthernet2/0] ospf cost 2
# Configure Router C.
<RouterC> system-view
[RouterC] ospf
[RouterC-ospf-1] area 0
[RouterC-ospf-1-area-0.0.0.0] network 10.1.1.0 0.0.0.255
[RouterC-ospf-1-area-0.0.0.0] network 13.1.1.0 0.0.0.255
[RouterC-ospf-1-area-0.0.0.0] quit
[RouterC-ospf-1] quit
3.
Configure BFD:
# Enable BFD on Router A and configure BFD parameters.
[RouterA] bfd session init-mode active
[RouterA] interface gigabitethernet 1/0
[RouterA-GigabitEthernet1/0] ospf bfd enable
[RouterA-GigabitEthernet1/0] bfd min-transmit-interval 500
[RouterA-GigabitEthernet1/0] bfd min-receive-interval 500
[RouterA-GigabitEthernet1/0] bfd detect-multiplier 7
[RouterA-GigabitEthernet1/0] return
# Enable BFD on Router B and configure BFD parameters.
[RouterB] bfd session init-mode active
[RouterB] interface gigabitethernet 1/0
[RouterB-GigabitEthernet1/0] ospf bfd enable
[RouterB-GigabitEthernet1/0] bfd min-transmit-interval 500
[RouterB-GigabitEthernet1/0] bfd min-receive-interval 500
[RouterB-GigabitEthernet1/0] bfd detect-multiplier 6
Verifying the configuration
# Display the BFD information on Router A.
<RouterA> display bfd session
Total Session Num: 1 Up Session Num: 1 Init Mode: Active