Bfd For Static Routes Configuration Example (Direct Next Hop) - HPE FlexNetwork HSR6800 Configuration Manual

Layer 3-ip routing configuration guide
Hide thumbs Also See for FlexNetwork HSR6800:
Table of Contents

Advertisement

BFD for static routes configuration example (direct next hop)

Network requirements
In
Figure
3, configure a static route to subnet 120.1.1.0/24 on Router A, configure a static route to
subnet 121.1.1.0/24 on Router B, and enable BFD for both routes. Configure a static route to subnet
120.1.1.0/24 and a static route to subnet 121.1.1.0/24 on Router C. When the link between Router A
and Router B through the Layer 2 switch fails, BFD can detect the failure immediately and inform
Router A and Router B to communicate through Router C.
Figure 3 Network diagram
Device
Router A
Router C
Configuration procedure
Configure IP addresses for the interfaces. (Details not shown.)
1.
Configure static routes and BFD:
2.
# Configure static routes on Router A and enable BFD control packet mode for the static route
through the Layer 2 switch.
<RouterA> system-view
[RouterA] interface GigabitEthernet 2/1/1
[RouterA-GigabitEthernet2/1/1] bfd min-transmit-interval 500
[RouterA-GigabitEthernet2/1/1] bfd min-receive-interval 500
[RouterA-GigabitEthernet2/1/1] bfd detect-multiplier 9
[RouterA-GigabitEthernet2/1/1] quit
[RouterA] ip route-static 120.1.1.0 24 GigabitEthernet 2/1/1 12.1.1.2 bfd
control-packet
[RouterA] ip route-static 120.1.1.0 24 GigabitEthernet 2/1/2 10.1.1.100 preference
65
[RouterA] quit
# Configure static routes on Router B and enable BFD control packet mode for the static route
through the Layer 2 switch.
<RouterB> system-view
[RouterB] interface GigabitEthernet 2/1/1
[RouterB-GigabitEthernet2/1/1] bfd min-transmit-interval 500
[RouterB-GigabitEthernet2/1/1] bfd min-receive-interval 500
[RouterB-GigabitEthernet2/1/1] bfd detect-multiplier 9
[RouterB-GigabitEthernet2/1/1] quit
Interface
IP address
GE2/1/1
12.1.1.1/24
GE2/1/2
10.1.1.102/24
GE2/1/1
10.1.1.100/24
GE2/1/2
13.1.1.2/24
Device
Interface
Router B
GE2/1/1
GE2/1/2
12
IP address
12.1.1.2/24
13.1.1.1/24

Advertisement

Table of Contents
loading

Table of Contents