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

Table Of Contents
477
[FirewallC-route-policy] quit
# Apply the routing policy localpref to the route from the peer 193.1.1.1 on Firewall C.
[FirewallC] bgp 200
[FirewallC-bgp] peer 193.1.1.1 route-policy localpref import
[FirewallC-bgp] quit
# Display the BGP routing table on Firewall D.
[FirewallD] display bgp routing-table
Total Number of Routes: 2
BGP Local router ID is 194.1.1.1
Status codes: * - valid, ^ - VPNv4 best, > - best, d - damped,
h - history, i - internal, s - suppressed, S - Stale
Origin : i - IGP, e - EGP, ? - incomplete
Network NextHop MED LocPrf PrefVal Path/Ogn
*>i 1.0.0.0 193.1.1.1 0 200 0 100i
* i 192.1.1.1 0 100 0 100i
The route 1.0.0.0/8 learned from Firewall C is the optimal.
BFD for BGP configuration example at the CLI
Network requirements
As shown in Figure 291:
Configure OSPF as the IGP in AS 200.
Establish two IBGP connections between Firewall A and Router C. When both links are working,
Router C adopts the link Firewall A<—>Router B<—>Router C to exchange packets with network
1.1.1.0/24. Configure BFD over the link. Then if the link fails, BFD can quickly detect the failure and
notify it to BGP. Then the link Firewall A<—>Router D<—>Router C takes effect immediately.
Figure 291 Network diagram
Configuration procedure
1. Configure IP addresses for interfaces. (Details not shown.)