48
11.4.1.2/32 Direct 0 0 127.0.0.1 InLoop0
127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0
127.0.0.0/32 Direct 0 0 127.0.0.1 InLoop0
127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0
127.255.255.255/32 Direct 0 0 127.0.0.1 InLoop0
Configuring BFD for RIP (single-hop echo detection for a
directly connected neighbor)
Network requirements
As shown in
Figure 11
, GigabitEthernet 1/0 of Router A and Router C runs RIP process 1. GigabitEthernet
2/0 of Router A runs RIP process 2. GigabitEthernet 2/0 of Router C and GigabitEthernet 1/0 and
GigabitEthernet 2/0 of Router B run RIP process 1.
Configure a static route destined for 100.1.1.1/24 and enable static route redistribution into RIP on Router
C so Router A can learn two routes destined for 100.1.1.1/24 through GigabitEthernet 1/0 and
GigabitEthernet 2/0 respectively, and uses the one through GigabitEthernet 1/0.
Enable BFD for RIP on GigabitEthernet 1/0 of Router A. When the link over GigabitEthernet 1/0 fails,
BFD can quickly detect the failure and notify it to RIP so RIP deletes the neighbor relationship and route
information learned on GigabitEthernet 1/0, and uses the route destined for 100.1.1.1 24 through
GigabitEthernet 2/0.
Figure 11
Network diagram
Configuration procedure
1.
Configure basic RIP and enable BFD on the interfaces:
# Configure Router A.
<RouterA> system-view
[RouterA] rip 1
[RouterA-rip-1] version 2
[RouterA-rip-1] undo summary
[RouterA-rip-1] network 192.168.1.0
[RouterA-rip-1] quit
[RouterA] interface gigabitethernet 1/0
[RouterA-GigabitEthernet1/0] rip bfd enable
[RouterA-GigabitEthernet1/0] quit
[RouterA] rip 2