R3721-F3210-F3171-HP High-End Firewalls Network Management Configuration Guide-6PW101

Table Of Contents
324
BFD for static routes configuration example (direct next hop) at
the CLI
Network requirements
In Figure 234, configure a static route to subnet 120.1.1.0/24 on Firewall A, configure a static route to
subnet 121.1.1.0/24 on Router B. Enable BFD for both routes so that when the link between Firewall A and
Router B through the Layer 2 switch fails, BFD can detect the failure immediately and inform Firewall A
and Router B to communicate through Router C.
Figure 234 Network diagram
Device Interface IP address Device Interface IP address
Firewall
A
GE0
/
1 12.1.1.1/24
Router
B
GE0
/
1
12.1.1.2/24
GE0
/
2 10.1.1.102
/
24
GE0
/
2
13.1.1.1/24
Router C GE0/1 10.1.1.100/24
GE0
/
2 13.1.1.2/24
Configuration procedure
1. Configure IP addresses for the interfaces. (Details not shown.)
2. Configure BFD:
# Configure static routes on Firewall A and enable BFD control packet mode for the static route
through the Layer 2 switch.
<FirewallA> system-view
[FirewallA] interface gigabitethernet 0/1
[FirewallA-GigabitEthernet0/1] bfd min-transmit-interval 500
[FirewallA-GigabitEthernet0/1] bfd min-receive-interval 500
[FirewallA-GigabitEthernet0/1] bfd detect-multiplier 9
[FirewallA-GigabitEthernet0/1] quit
[FirewallA] ip route-static 120.1.1.0 24 gigabitethernet0/1 12.1.1.2 bfd
control-packet
[FirewallA] ip route-static 120.1.1.0 24 gigabitethernet0/2 10.1.1.100 preference 65
[FirewallA] 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 0/1
[RouterB-GigabitEthernet0/1] bfd min-transmit-interval 500
[RouterB-GigabitEthernet0/1] bfd min-receive-interval 500