57
Configuring BFD for RIP (single hop echo detection for a
specific destination)
Network requirements
As shown in
, VLAN-interface 100 of Switch A and Switch B runs RIP process 1.
VLAN-interface 200 of Switch B and Switch C runs RIP process 1.
•
Configure a static route destined for 100.1.1.0/24 and enable static route redistribution into RIP
on both Switch A and Switch C. This allows Switch B to learn two routes destined for
100.1.1.0/24 through VLAN-interface 100 and VLAN-interface 200. The route redistributed from
Switch A has a smaller cost than that redistributed from Switch C, so Switch B uses the route
through VLAN-interface 200.
•
Enable BFD for RIP on VLAN-interface 100 of Switch A, and specify VLAN-interface 100 of
Switch B as the destination. When a unidirectional link occurs between Switch A and Switch B,
BFD can quickly detect the link failure and notify RIP. Switch B then deletes the neighbor
relationship and the route information learned on VLAN-interface 100. It does not receive or
send any packets from VLAN-interface 100. When the route learned from Switch A ages out,
Switch B uses the route destined for 100.1.1.1 24 through VLAN-interface 200.
Figure 14 Network diagram
Configuration procedure
1.
Configure IP addresses for interfaces. (Details not shown.)
2.
Configure basic RIP and enable BFD on the interfaces:
# Configure Switch A.
<SwitchA> system-view
[SwitchA] rip 1
[SwitchA-rip-1] network 192.168.2.0
[SwitchA-rip-1] import-route static
[SwitchA-rip-1] quit
[SwitchA] interface vlan-interface 100
[SwitchA-Vlan-interface100] rip bfd enable destination 192.168.2.2
[SwitchA-Vlan-interface100] quit
# Configure Switch B.
<SwitchB> system-view
[SwitchB] rip 1
[SwitchB-rip-1] network 192.168.2.0
Switch A
Switch C
Vlan-int200
192.168.3.1/24
Vlan-int200
192.168.3.2/24
Vlan-int100
192.168.2.2/24
Vlan-int100
192.168.2.1/24
Switch B
RIP packets
BFD session
Fault
Содержание HPE FlexNetwork 7500 series
Страница 505: ...493 Connector N A ...